Formats GDScript code using the Format Document command, or when
format-on-save is activated.
Command - GDScript Format: Organize Script: Re-orders GDScript
elements of a script according to the official
Command - GDScript Format: Convert multiline comments to # comments:
Converts old-style multiline blocks to # comment blocks. """ Multiline
strings """ are not optimized away by Godot when the game is built,
and so are being obsoleted from the documentation.
Python3 and pip should both be installed.
The GDToolkit module should be installed via pip, though if it is missing
you will be prompted to install it.
gdscript_formatter.line_size: The maximum size a given line can be before
it is wrapped.
if you get ImportError: No module named gdtoolkit.formatter or similar import error, make sure that VS Code uses Python3 by setting Python: Python Path to python3. Alternatively in settings.json: "python.pythonPath": "python3".
Add the Organize Script and Convert multiline comment blocks to # commands.
Fix a bug that caused the last character, if it wasn't a newline, to repeat.
Fix to the README markdown and package.json
Initial release of the VSCode extension of GDScript Formatter.