* Improve codeblock formatting in documentation
Improves codeblock highlighting by:
- Adding context to the codeblock detailing which language the
following code is.
- Setting the `pre` block's background to match the default
background for `code` blocks to give a consistent experience.
- Setting a border radius for the `pre` block double that of the
`code` block's default (4px, which is hard-coded).
Thanks to all contributors involved in the making of this release,
in particular DaelonSuzuka who has been central in this effort of
updating this extension for Godot 4.x!
* 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
* Fixes#548
* Add Open Settings button to "select godot exe" prompt
* Cleans up and standardizes Godot binary version detection
* Fix startup dependency order for project dir/file/version checks
* Improve handling of multiple project files
* Create runtime output channel for LSP logging
* Updated Godot icons (and removed old ones)
* Improve "Debug Pinned Scene" command by making the pinned scene persist between VSCode sessions
* Fix scene file highlighting not working
* Fix ScenePreview not working in Godot 3
* Add buttons for relevant actions to ScenePreview items
* Add internal document links for SubResource() and ExtResource() statements in scene files
* Add hover for SubResource() and ExtResource() statements in scene files
* Improve ability to right click -> open docs for methods of builtin types (doesn't always work)
* Add a file decorator to show the pinned debug file in the filesystem view/editor tabs
* Add item decorators to the Scene Preview to show Node attributes more clearly
* Updated readme
* Overhauled documentation viewer
* Added GDScript formatter
* Add (disabled) experimental providers for custom completions, semantic tokens, and tasks
* Lots of internal refactoring
* Significantly rework the debugger to add Godot 4 support.
* Simplify debugger internal message handling and shorten code paths, to enable easier maintenance in the future.
* Streamline debugger configs: almost all fields are now optional, and the debugger should work out-of-the-box in a wider set of situations.
* Add guardrails, error handling, and input prompts to help guide the user to correct usage/configuration.
* Add the following commands:
* godotTools.debugger.debugCurrentFile
* godotTools.debugger.debugPinnedFile
* godotTools.debugger.pinFile
* godotTools.debugger.unpinFile
* godotTools.debugger.openPinnedFile
---------
Co-authored-by: RedMser <redmser.jj2@gmail.com>
Co-authored-by: Zachary Gardner <30502195+ZachIsAGardner@users.noreply.github.com>
* Add port auto-fallback when attempting to connect to open editor's LSP
* Improve status widget tooltips
* Fix issue with configuration changes requiring a reload
* Upgraded logger utility
Better syntax highlighting for properties. Class variables used to be unhighlighted and are now highlighted properly as `variable.other.gdscript`, properties are still highlighted as `variable.other.property.gdscript`
* binary int notation
* `_` spacers in numeric literals
* fixed several instances of incorrect case insensitivity
* @"a", &"b", ^"c", and r"d" style string literals
* adds new Headless LSP mode
* refactor and simplify LSP client control flow into new `ClientConnectionManager` class
* adds new setting: `godotTools.lsp.headless`, disabled by default
* split `godotTools.editorPath` into `godotTools.editorPath.godot3` and `.godot4`
* fix#373, broken formatting in hovers
* improve right click -> open docs to work on type-annotated variables
---------
Co-authored-by: David Kincaid <daelonsuzuka@gmail.com>
* add warning and instructions to README.md for godot 4
- add warning at top of README.md about manual configuration required for use with Godot 4
- add instructions in VS Code configuration setting about what value to use for Godot 4
- lightly reformat VS Code configuration section to better allow for multi-line setting descriptions and anchor linking (so the warning at the top of the readme can directly link to the relevant section)
- remove `checkStatus` setting which appears to no longer exist
* amend README faq section to add info about Godot 4