mirror of
https://github.com/godotengine/godot-vscode-plugin.git
synced 2026-01-04 10:09:58 +03:00
Teach formatter to optionally add two spaces before end-of-line comments. (#855)
* Teach formatter to add two spaces before end-of-line comments.
This commit is contained in:
13
package.json
13
package.json
@@ -307,6 +307,19 @@
|
||||
"default": false,
|
||||
"description": "Whether extra space should be removed from function parameter lists"
|
||||
},
|
||||
"godotTools.formatter.spacesBeforeEndOfLineComment": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"1",
|
||||
"2"
|
||||
],
|
||||
"enumDescriptions": [
|
||||
"1 space before EOL comments # Like this.",
|
||||
"2 spaces before EOL comments # Like this."
|
||||
],
|
||||
"default": "1",
|
||||
"description": "Number of spaces before an end-of-line comment"
|
||||
},
|
||||
"godotTools.lsp.serverHost": {
|
||||
"type": "string",
|
||||
"default": "127.0.0.1",
|
||||
|
||||
Reference in New Issue
Block a user