Commit Graph

366 Commits

Author SHA1 Message Date
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
s
4e486e353c Add warning and instructions for using Godot 4 to README (#479)
* 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
2023-06-20 05:30:55 -07:00
sequpt
931ec50614 Fix wrong section-identifier used to retrieve configuration (#475)
Fix #474
2023-05-06 13:11:51 -07:00
Ryan
41f40ee38f Fix spelling mistake when getting port and host from configuration (#465)
This fixes an issue where port isn't respected after being changed.
2023-04-22 23:55:37 +02:00
oidro
cdc550a412 Restructure and rename settings
Co-authored-by: David Kincaid <daelonsuzuka@gmail.com>
2023-03-26 13:32:36 -07:00
Daelon Suzuka
a561c523ee Fix errors left after cleaning up plugin initialization process (#459) 2023-03-16 00:26:19 +01:00
Daelon Suzuka
df386efa54 Add Godot 4 support to the Scene preview panel (#451) 2023-03-14 18:13:32 +01:00
Daelon Suzuka
3ce256379f Fix various syntax highlighting problems (#441) 2023-03-14 18:10:54 +01:00
Daelon Suzuka
f76a8f2937 Clean up plugin initialization process (#439) 2023-03-14 18:10:26 +01:00
Daelon Suzuka
0636797c22 Add scene preview panel (#413) 2022-10-26 16:20:28 +02:00
Daelon Suzuka
5a67e4c78d Fix errors in grammar syntax (#416) 2022-10-26 01:47:31 +02:00
dependabot[bot]
8cef9532a7 Bump actions/upload-artifact from 3.1.0 to 3.1.1 (#433)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-25 11:09:02 -07:00
dependabot[bot]
9ac029561d Bump actions/setup-node from 3.4.1 to 3.5.1 (#430)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-25 11:08:40 -07:00
kemgoblin
570e848f03 Add "_unhandled_input" snippet (#422) 2022-09-16 09:57:51 -07:00
Daelon Suzuka
fb82ef69e5 Fix incorrect highlighting in dictionary literals (#419) 2022-09-09 17:59:58 +02:00
Daelon Suzuka
e7674c12ad Add "Open Type Documentation" context menu option (#405)
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2022-08-22 02:13:31 +02:00
Daelon Suzuka
441873eb6d Fix internal document link handling (#410)
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2022-08-22 02:13:01 +02:00
Daelon Suzuka
dfe23195eb Fix various highlighting errors (#407)
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2022-08-21 21:46:41 +02:00
kemgoblin
b3f4dda47e Add _physics_process snippet (#411) 2022-08-21 21:40:39 +02:00
Butch Wesley
fb4d40858c Add "additional options" to launch debugger with (#363) 2022-08-16 21:27:46 -07:00
Daelon Suzuka
cf432a17fb Improve extension startup performance (#408)
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2022-08-13 18:59:10 +02:00
Tomasz Wyrowiński
f2145688b1 Improve displaying symbols documentation (#404)
Co-authored-by: Tomasz Wyrowiński <tomasz.wyrowinski@10clouds.com>
2022-08-11 12:48:49 -07:00
Daelon Suzuka
ef450cad38 Fix OS singleton being incorrectly highlighted as a constant (#402) 2022-08-07 08:09:09 +02:00
Daelon Suzuka
ec95c21b84 Add highlighting support for %Unique nodes in NodePaths (#403)
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2022-08-06 09:07:31 +02:00
Daelon Suzuka
6dc5a8293f Update gdshader syntax (#397)
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2022-08-06 08:52:59 +02:00
Daelon Suzuka
868ec5116f Fix func keyword highlighting (#398) 2022-07-23 02:31:31 +02:00
Daelon Suzuka
e539a4e7a9 Replace temporary .gdshader syntax with more extensive support (#360) 2022-07-21 00:09:16 +02:00
dependabot[bot]
50dd95ffcb Bump actions/setup-node from 3.3.0 to 3.4.1 (#393)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-14 17:38:46 +02:00
Zachary Gardner
4562bf1c31 Fix overaggressive formatting when adding lines after if statement (#385)
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2022-06-17 01:03:00 +02:00
Zachary Gardner
fd11e47662 Fix some typos (#384) 2022-06-16 22:49:17 +02:00
Hugo Locurcio
e344cdf2fc Bump to version 1.3.1 1.3.1 2022-06-07 17:44:12 +02:00
dependabot[bot]
a116454b5a Bump actions/setup-node from 3.2.0 to 3.3.0 (#378)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 3.2.0 to 3.3.0.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v3.2.0...v3.3.0)

---
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>
2022-06-06 18:15:25 +02:00
oidro
94e5a9e95d Fix operator syntax highlighting when next to an opening parenthesis (#375) 2022-06-02 23:37:33 +02:00
Daelon Suzuka
372936b606 Fix regression in launching debugger (#371)
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2022-05-28 22:23:08 +02:00