ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Sublime​Linter-contrib-GDScript​Formatter​Linter

by Taffer ST4 New

(mirror) A SublimeText linter using GDQuest's GDScript-formatter.

Details

  • 1.0.3
  • github.​com
  • 18 hours ago
  • 2 hours ago
  • 9 hours ago

Installs

  • Total 0
  • Win 0
  • Mac 0
  • Linux 0
Aug 9 Aug 8 Aug 7 Aug 6 Aug 5 Aug 4 Aug 3 Aug 2 Aug 1 Jul 31 Jul 30 Jul 29 Jul 28 Jul 27 Jul 26 Jul 25 Jul 24 Jul 23 Jul 22 Jul 21 Jul 20 Jul 19 Jul 18 Jul 17 Jul 16 Jul 15 Jul 14 Jul 13 Jul 12 Jul 11 Jul 10 Jul 9 Jul 8 Jul 7 Jul 6 Jul 5 Jul 4 Jul 3 Jul 2 Jul 1 Jun 30 Jun 29 Jun 28 Jun 27 Jun 26
Windows 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Mac 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

GDScript-formatter-linter

A Sublime Text linter using GDQuest's GDScript-formatter.

You must install GDScript-formatter before you can successfully use this linter.

Settings

To tweak settings, add a gdscript-formatter section to your user SublimeLinter.sublime-settingsfile. For example:

"gdscript-formatter" : {
        "args": [
            "--max-line-length",
            "132",
        ]
    },

Note: The current version of GDScrpit-formatter (0.24.0) can't find your project's .editorconfig file, so you'll have to add args to duplicate the settings. For example, if you use these .editorconfig settings:

[*.gd]
indent_size = 4
indent_style = space
insert_final_newline = true
max_line_length = 132
trim_trailing_whitespace = true

Your gdscript-formatter section would look like:

"gdscript-formatter" : {
        "args": [
            "--indent-size",
            "4",
            "--use-spaces",
            "--max-line-length",
            "132",
        ]
    },

The insert_final_newline and trim_trailing_whitespace don't have equivalents on the gdscript-formatter command-line. I'm also not sure if any of these affect lint warnings other than --max-line-length

(I've opened an issue with the GDScript-formatter dev that should address this.)

Credits

Repo icon by Kenney (https://github.com/KenneyNL/Godot-SplashScreens), which is CC0 licensed.

License

This Sublime Text plugin is released under the Creative Commons CC-BY-NC 4.0.

If you use this to train an LLM, I hope your company burns down. LLMs generate derived works based on their training data, but ignore the licenses and copyrights of everything they ingest. That is incompatible with many of the open source licenses in “publicly-available” works such as this one.