Add basic inlay hint support for GDScript (#589)

* Add support for inlay hints in GDScript files
* Add "godotTools.inlayHints.gdscript" and "godotTools.inlayHints.gdresource" settings
* GDScript inlay hints are disabled by default, and marked as experimental
This commit is contained in:
Tristan F
2024-02-21 14:20:36 -05:00
committed by GitHub
parent 0058ffa870
commit b0f7220f41
2 changed files with 104 additions and 5 deletions

View File

@@ -303,6 +303,16 @@
],
"default": "sameFolder",
"description": "Controls where the Scene Preview will search for related scenes when viewing a script file."
},
"godotTools.inlayHints.gdscript": {
"type": "boolean",
"default": false,
"description": "Whether to enable inlay hints in GDScript files (experimental)"
},
"godotTools.inlayHints.gdresource": {
"type": "boolean",
"default": true,
"description": "Whether to enable inlay hints in GDResource (.tscn, .tres, etc) files"
}
}
},