summaryrefslogtreecommitdiffstats
path: root/modules/gdscript/language_server
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #90975 from aaronfranke/plugin-orgRémi Verschelde2024-04-291-1/+1
|\ | | | | | | Organize existing code for editor plugins
| * Organize existing code for editor pluginsAaron Franke2024-04-271-1/+1
| |
* | Have GDScriptWorkspace::list_script_files respect .gdignore.R. Alex Hofer2024-04-201-11/+18
|/
* Allow LSP to process multiple messages per pollMikael Hermansson2024-03-084-13/+25
|
* GDScript: Canonicalize script path in FQCNDanil Alexeev2024-02-261-2/+2
|
* Remove word duplicates in comments and strings, and fix casing and punctuationRobert Yevdokimov2024-02-231-1/+1
|
* Use check_changed_settings_in_group() everywherekobewi2024-02-191-0/+4
|
* GDScript: Fix extension comparison for exported scriptsDanil Alexeev2024-02-151-2/+2
|
* GDScript: Reintroduce binary tokenization on exportGeorge Marques2024-02-081-1/+1
| | | | | | | | | | | | | | | | This adds back a function available in 3.x: exporting the GDScript files in a binary form by converting the tokens recognized by the tokenizer into a data format. It is enabled by default on export but can be manually disabled. The format helps with loading times since, the tokens are easily reconstructed, and with hiding the source code, since recovering it would require a specialized tool. Code comments are not stored in this format. The `--test` command can also include a `--use-binary-tokens` flag which will run the GDScript tests with the binary format instead of the regular source code by converting them in-memory before the test runs.
* Remove unnecessary `this->` expressionsA Thousand Ships2024-01-292-13/+13
|
* Merge pull request #86676 from rune-scape/sparse-script-reloadYuri Sizov2024-01-171-1/+1
|\ | | | | | | GDScript: Hot-reload changed scripts only
| * Hot-reload only changed scriptsrune-scape2024-01-021-1/+1
| |
* | Update deferred calls to use Callableskobewi2024-01-091-1/+1
|/
* Remove unnecessary assignmentsWilson E. Alvarez2023-12-131-3/+2
| | | | Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
* Fix external editor hot reloadOmar Shehata2023-10-071-0/+2
|
* [Modules] Replace `ERR_FAIL_COND` with `ERR_FAIL_NULL` where applicableA Thousand Ships2023-09-261-2/+2
|
* Omit quotes from completion if triggered with quote0x44482023-09-212-0/+20
| | | | | | | | | Typing a single or double quote in an external editor triggers auto-completion. The returned CompletionItem should not include quotes since they're already in the editor. CompletionParams was missing context in to_json() and this is required to detect whether a quote was typed.
* Add `--lsp-port` as a command line argumentryanabx2023-09-182-3/+6
|
* Fix dumping of signal API parametersWilliam Edwards2023-09-121-1/+1
|
* Language Server: Improve hovered symbol resolution, fix renaming bugs, ↵BooksBaum2023-09-118-350/+637
| | | | | | | implement reference lookup Co-Authored-By: Ryan Brue <56272643+ryanabx@users.noreply.github.com> Co-Authored-By: BooksBaum <15612932+booksbaum@users.noreply.github.com>
* Fixes LSP connection error when launched in a separate threadazuloo2023-08-161-0/+1
|
* Fix various typos with codespellRémi Verschelde2023-08-071-1/+1
| | | | | | | | | Also includes typo fixes from #79993, #80068, #80276, and #80303. Co-authored-by: betalars <contact@betalars.de> Co-authored-by: spaceyjase <429978+spaceyjase@users.noreply.github.com> Co-authored-by: Swarkin <102416174+Swarkin@users.noreply.github.com> Co-authored-by: Raul Santos <raulsntos@gmail.com>
* Style: Harmonize header includes in modulesRémi Verschelde2023-06-157-11/+18
| | | | | | | | | | | | | | | | | | | | This applies our existing style guide, and adds a new rule to that style guide for modular components such as platform ports and modules: Includes from the platform port or module ("local" includes) should be listed first in their own block using relative paths, before Godot's "core" includes which use "absolute" (project folder relative) paths, and finally thirdparty includes. Includes in `#ifdef`s come after their relevant section, i.e. the overall structure is: - Local includes * Conditional local includes - Core includes * Conditional core includes - Thirdparty includes * Conditional thirdparty includes
* LSP: don't send empty completion commandАлександр Черник2023-05-061-1/+3
|
* Fix GDScript LSP variable renameAdam Scott2023-04-223-19/+45
|
* Merge pull request #76197 from dalexeev/fix-error-macro-misusesYuri Sizov2023-04-181-1/+1
|\ | | | | Fix misuses of error macros
| * Fix misuses of error macrosDanil Alexeev2023-04-181-1/+1
| |
* | Fix typo when parsing LSP function parametersAdam Scott2023-04-151-1/+1
|/
* Poll LSP/DAP clients for connection status updatesRicardo Subtil2023-04-091-0/+1
|
* GDScript: Change parser representation of class extendsDmitrii Maganov2023-03-131-1/+1
|
* Fix internal editor not updating when using external editor via LSPRindbee2023-01-221-0/+1
|
* call update_exports from LSP didSave functionAdam Wardell2023-01-201-0/+1
| | | | | exports in the inspector were not properly appearing when a gdscript was saved using an external IDE this commit adds a call to GDScript::UpdateExports toward the end of GDScriptTextDocument::didSave
* Unify typing of variables, constants and parameters in GDScriptDmitrii Maganov2023-01-061-4/+4
|
* One Copyright Update to rule them allRémi Verschelde2023-01-0511-319/+319
| | | | | | | | | | | | | | | | | | | | As many open source projects have started doing it, we're removing the current year from the copyright notice, so that we don't need to bump it every year. It seems like only the first year of publication is technically relevant for copyright notices, and even that seems to be something that many companies stopped listing altogether (in a version controlled codebase, the commits are a much better source of date of publication than a hardcoded copyright statement). We also now list Godot Engine contributors first as we're collectively the current maintainers of the project, and we clarify that the "exclusive" copyright of the co-founders covers the timespan before opensourcing (their further contributions are included as part of Godot Engine contributors). Also fixed "cf." Frenchism - it's meant as "refer to / see".
* Fix use of comma instead of semicolonQuentin Guidée2022-12-171-1/+1
| | | | Signed-off-by: Quentin Guidée <quentin.guidee@gmail.com>
* Keep GDScriptAnalyzer alive for whole parse()Bartosz Bielecki2022-12-061-1/+2
| | | | | | | | Analyzed data is allocated by Parser but kept as a reference in the cache which in turn is held by the Analyzer. If Analyzer goes away Parser is left with a tree of dangling references. Code is analogous to all other usages of Analyzer + Parser pair.
* Use forward-declarations in big editor classestrollodel2022-11-291-0/+1
|
* Fix MSVC warnings, rename shadowed variables, fix uninitialized values, ↵bruvzg2022-10-074-57/+55
| | | | change warnings=all to use /W4.
* Merge pull request #66885 from atirut-w/lsp-doc-fixRémi Verschelde2022-10-051-4/+4
|\ | | | | | | LSP: Fix GDScript doc comments
| * LSP: Fix GDScript doc commentsAtirut Wattanamongkol2022-10-051-4/+4
| |
* | Implement `GDScriptTextDocument::willSaveWaitUntil` to clean up outdated ↵Rindbee2022-10-043-13/+22
|/ | | | | | | documents before saving Implement `GDScriptTextDocument::willSaveWaitUntil` to clean up outdated documents before saving, then update the document in `GDScriptTextDocument::didSave`.
* Fix out of sync when the script is edited externally via lspRindbee2022-09-251-0/+1
| | | | | | | | | Previously, external editing via lsp would modify the modified time of the script, which caused the internal display of the script to not be refreshed when refocusing the engine. Now saving the script externally via lsp will automatically refresh the internal display.
* fix: add uri_decode to root_uri #63388Lamia2022-08-311-3/+3
|
* Rename String `plus_file` to `path_join`Aaron Franke2022-08-291-2/+2
|
* fix: modifies workspace->root_uri so that p_uri is symmetrical to other ↵Lamia2022-08-082-4/+4
| | | | operating systems. #63388
* Extract EditorResourceConversionPlugin into its own source files and clean ↵Yuri Sizov2022-07-313-0/+3
| | | | up editor includes
* Merge pull request #63049 from Faless/mp/4.x_as_moduleRémi Verschelde2022-07-281-3/+1
|\
| * [Net] Modularize multiplayer, expose MultiplayerAPI to extensions.Fabio Alessandrelli2022-07-261-3/+1
| | | | | | | | | | | | | | | | | | - RPC configurations are now dictionaries. - Script.get_rpc_methods renamed to Script.get_rpc_config. - Node.rpc[_id] and Callable.rpc now return an Error. - Refactor MultiplayerAPI to allow extension. - New MultiplayerAPI.rpc method with Array argument (for scripts). - Move the default MultiplayerAPI implementation to a module.
* | LSP: Sanitizes protocol URI `file:///c%3A` in file pathLamia2022-07-281-1/+3
|/ | | | Fixes #63205.
* Code quality: Fix header guards consistencyRémi Verschelde2022-07-255-9/+9
| | | | | Adds `header_guards.sh` bash script, used in CI to validate future changes. Can be run locally to fix invalid header guards.