David Kincaid
6b009ea123
Fix relative godotPath values not resolving correctly ( #655 )
2024-04-29 16:24:52 -04:00
dependabot[bot]
2e6eedb196
Bump actions/upload-artifact from 4.3.2 to 4.3.3 ( #651 )
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 4.3.2 to 4.3.3.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](https://github.com/actions/upload-artifact/compare/v4.3.2...v4.3.3 )
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-24 17:16:26 -04:00
dependabot[bot]
d9d834b165
Bump actions/upload-artifact from 4.3.1 to 4.3.2 ( #648 )
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 4.3.1 to 4.3.2.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](https://github.com/actions/upload-artifact/compare/v4.3.1...v4.3.2 )
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-18 11:44:05 -04:00
Vladimir Pyatnitskiy
0fc399bbc3
Fix debugged process not being terminated when debugging session closes on Linux ( #620 )
2024-04-17 13:05:32 -04:00
Joseph Gilley
56a7871d06
Fix poor documentation formatting of class titles and inheritance chain ( #628 )
2024-04-17 12:59:18 -04:00
David Kincaid
019d87e5c7
Prevent document links from accidentally being resolved to your entire document ( #639 )
2024-04-17 12:45:54 -04:00
InfiniteXyy
a9508d965d
Fix project not found when project.godot file is excluded ( #635 )
...
* Fix project not found when `project.godot` file is excluded
* Ignore user excludes when using workspace.findFiles
* Fix linter warnings
---------
Co-authored-by: David Kincaid <daelonsuzuka@gmail.com >
2024-04-06 13:45:47 -04:00
David Kincaid
24e72ecc36
Fix LSP connection attempts not resetting ( #638 )
...
* Fix linter warnings
* Fix LSP retry count not resetting on connection
2024-04-06 13:42:36 -04:00
Joseph Gilley
ecaf1db977
Improve codeblock formatting in documentation ( #629 )
...
* 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).
2024-03-22 10:03:38 -04:00
Vladimir Pyatnitskiy
5cef963162
Fix child processes not being killed properly ( #613 )
2024-03-11 13:57:38 -04:00
David Kincaid
e89cb784da
Fix broken scene file parser ( #603 )
2024-02-25 18:24:16 -05:00
Hugo Locurcio
5ea22968fb
Bump to version 2.0.0
...
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!
2.0.0
2024-02-24 18:17:58 +01:00
David Kincaid
c129098bfa
Merge pull request #596 from DaelonSuzuka:fix-goto-docs
...
Fix definition provider not working because of accessing a Map as an Object
2024-02-23 17:15:54 -05:00
David Kincaid
93e49e4273
Fix definition provider not working because of accessing a Map as an Object
2024-02-23 17:14:31 -05:00
David Kincaid
a8a852bf66
Fix negative numbers in params not being formatted correctly ( #595 )
2024-02-23 11:22:54 -08:00
David Kincaid
51c89a6c35
Add image previews in hovers and fix various errors ( #594 )
...
* Fix weak comparisons
* Fix errors when converting resource paths
* Fix type error in register_capabilities
* Add image previews on document link hover
* Add image previews to ExtResource hovers
2024-02-21 14:16:25 -08:00
David Kincaid
0c9c2554fb
Syntax highlighting fixes ( #593 )
2024-02-21 12:07:05 -08:00
David Kincaid
436ff64d07
Fix version check of Godot binary ( #592 )
...
* Change default value for godotTools.editorPath.godot4 to "godot"
* Switch godot version check back to using --version
2024-02-21 11:31:32 -08:00
Tristan F
b0f7220f41
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
2024-02-21 11:20:36 -08:00
Butch Wesley
0058ffa870
Expose Godot path as getGodotPath command ( #586 )
...
adds new command: "godotTools.getGodotPath"
---------
Co-authored-by: David Kincaid <daelonsuzuka@gmail.com >
2024-02-21 10:21:35 -08:00
dependabot[bot]
bf1d739d07
Bump actions/setup-node from 4.0.1 to 4.0.2 ( #587 )
...
Bumps [actions/setup-node](https://github.com/actions/setup-node ) from 4.0.1 to 4.0.2.
- [Release notes](https://github.com/actions/setup-node/releases )
- [Commits](https://github.com/actions/setup-node/compare/v4.0.1...v4.0.2 )
---
updated-dependencies:
- dependency-name: actions/setup-node
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-07 09:00:11 -08:00
dependabot[bot]
13e9b71d44
Bump actions/upload-artifact from 4.3.0 to 4.3.1 ( #584 )
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 4.3.0 to 4.3.1.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](https://github.com/actions/upload-artifact/compare/v4.3.0...v4.3.1 )
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-06 12:05:24 -08:00
Daelon Suzuka
e2f2dc4b93
Improve path handling when starting processes ( #575 )
...
`editorPath.godot3/4` setting and `editor_path` debug configuration now correctly handle paths with spaces or surrounded with quotes.
2024-01-24 21:14:39 -05:00
dependabot[bot]
ccfd30755e
Bump actions/upload-artifact from 4.2.0 to 4.3.0 ( #576 )
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 4.2.0 to 4.3.0.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](https://github.com/actions/upload-artifact/compare/v4.2.0...v4.3.0 )
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-24 08:44:23 -08:00
dependabot[bot]
3b018f115c
Bump actions/upload-artifact from 4.0.0 to 4.2.0 ( #572 )
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 4.0.0 to 4.2.0.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](https://github.com/actions/upload-artifact/compare/v4.0.0...v4.2.0 )
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-23 13:21:57 -08:00
kaluluosi111
605fe7fa1c
fix Godot4.x debug console print multiple logs into one line. ( #571 )
2024-01-23 13:13:56 -08:00
Daelon Suzuka
4ae31bf99d
Launching the editor opens a new custom terminal ( #561 )
2024-01-06 13:37:59 -08:00
Daelon Suzuka
c5bbd27b04
Clean up project and version detection ( #553 )
...
* 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
2024-01-02 02:05:48 -08:00
Daelon Suzuka
34916becd6
Various highlighting/formatting fixes ( #559 )
...
* Fix constant attribute access highlighting
* Fix line endings breaking the snapshot tests
* Fix nodepath shorthand formatting
2024-01-02 00:02:30 -08:00
Norbert Ormándi
7462f88848
Fix BBCode [br] not rendering in hover ( #557 )
...
Fix BBCode [br] not rendering in hover. This is a workaround to the LSP's incorrect concatenation of doc-comments.
2023-12-28 18:54:03 -08:00
dependabot[bot]
98aa85ed1f
Bump actions/setup-node from 4.0.0 to 4.0.1 ( #556 )
...
Bumps [actions/setup-node](https://github.com/actions/setup-node ) from 4.0.0 to 4.0.1.
- [Release notes](https://github.com/actions/setup-node/releases )
- [Commits](https://github.com/actions/setup-node/compare/v4...v4.0.1 )
---
updated-dependencies:
- dependency-name: actions/setup-node
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-22 08:08:55 -08:00
Sandy Gutierrez
0a794ebc1b
Add snapshot tests to formatter ( #545 )
...
* Add snapshot tests for formatter
* Add test runner to CI
---------
Co-authored-by: David Kincaid <daelonsuzuka@gmail.com >
2023-12-22 03:04:02 -08:00
dependabot[bot]
ec1d9c3ae6
Bump actions/setup-node from 4.0.0 to 4.0.1 ( #550 )
...
Bumps [actions/setup-node](https://github.com/actions/setup-node ) from 4.0.0 to 4.0.1.
- [Release notes](https://github.com/actions/setup-node/releases )
- [Commits](https://github.com/actions/setup-node/compare/v4.0.0...v4.0.1 )
---
updated-dependencies:
- dependency-name: actions/setup-node
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-18 19:48:42 +01:00
dependabot[bot]
d6d211bc00
Bump actions/upload-artifact from 3.1.3 to 4.0.0 ( #549 )
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 3.1.3 to 4.0.0.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](https://github.com/actions/upload-artifact/compare/v3.1.3...v4.0.0 )
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-18 19:48:35 +01:00
Daelon Suzuka
e7e2d0439d
Various QoL Improvements ( #529 )
...
* 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
2023-12-06 06:53:10 -08:00
mlsvrts
f65033c626
Adjust Godot version detection regex ( #526 )
...
* Adjust Godot version detection regex
Signed-off-by: mlsvrts <mlsvrts@protonmail.com >
2023-11-12 11:44:52 -08:00
Daelon Suzuka
a4c1181894
Rewrite debugger for Godot 4 support + improved maintainability ( #452 )
...
* 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 >
2023-11-12 07:46:44 -08:00
Daelon Suzuka
55617fdd39
Improve LSP connection behavior (fixes Godot3/4 port issue) ( #511 )
...
* 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
2023-10-28 17:20:19 -07:00
dependabot[bot]
55fd8964a6
Bump actions/setup-node from 3.8.1 to 4.0.0 ( #519 )
...
Bumps [actions/setup-node](https://github.com/actions/setup-node ) from 3.8.1 to 4.0.0.
- [Release notes](https://github.com/actions/setup-node/releases )
- [Commits](https://github.com/actions/setup-node/compare/v3.8.1...v4.0.0 )
---
updated-dependencies:
- dependency-name: actions/setup-node
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-23 10:08:17 -07:00
Ryan Brue
dcbfcb4b4b
Syntax highlighting changes ( #515 )
...
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`
2023-10-21 21:59:20 -04:00
Daelon Suzuka
d8700eaca1
Fix Headless LSP not starting ( #513 )
2023-10-14 17:11:08 -07:00
Daelon Suzuka
d3b2c5227c
Reorganize extension entrypoint ( #505 )
...
* Combine godot-tools.ts into extension.ts to put the extension's major components at the same level
2023-10-13 11:33:26 -07:00
dependabot[bot]
1054053a03
Bump actions/setup-node from 3.5.1 to 3.8.1 ( #509 )
...
Bumps [actions/setup-node](https://github.com/actions/setup-node ) from 3.5.1 to 3.8.1.
- [Release notes](https://github.com/actions/setup-node/releases )
- [Commits](https://github.com/actions/setup-node/compare/v3.5.1...v3.8.1 )
---
updated-dependencies:
- dependency-name: actions/setup-node
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-13 08:28:55 -07:00
dependabot[bot]
53c3419be3
Bump actions/checkout from 3 to 4 ( #507 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-13 08:28:37 -07:00
dependabot[bot]
97f5f4d18c
Bump actions/upload-artifact from 3.1.1 to 3.1.3 ( #508 )
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 3.1.1 to 3.1.3.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](https://github.com/actions/upload-artifact/compare/v3.1.1...v3.1.3 )
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-13 08:28:30 -07:00
Daelon Suzuka
5bfe853f8c
Multiple highlighting improvements ( #506 )
...
* binary int notation
* `_` spacers in numeric literals
* fixed several instances of incorrect case insensitivity
* @"a", &"b", ^"c", and r"d" style string literals
2023-10-13 01:06:25 -04:00
Daelon Suzuka
37ea21272a
Add additional launch profile ( #503 )
2023-10-11 11:50:10 -07:00
Ryan Brue
f4e4b9c422
Implement headless LSP mode ( #488 )
...
* 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 >
2023-10-10 23:05:22 -04:00
Moritz Tim W
6a9f408d4e
Improve debugger setup instructions ( #491 )
...
* update config instructions
* clarify config instructions
2023-09-15 09:07:22 -07:00
EJ
acfcfdbdab
feat(snippets): add match statement ( #476 )
2023-08-27 22:06:41 +02:00