summaryrefslogtreecommitdiffstats
path: root/modules/gdscript/language_server
Commit message (Collapse)AuthorAgeFilesLines
* Merge commit godotengine/godot@f128f383e892865379cb8b14e7bcc9858efe2973Spartan3222024-11-271-1/+10
|\
| * LSP: Fix spec violations that break the VSCode outlineHolonProduction2024-11-151-1/+10
| |
* | Fix copyright headers referring to GodotSpartan3222024-10-2711-22/+22
| |
* | Rebrand preambles to RedotDubhghlas McLaughlin2024-10-1111-0/+22
|/ | | | | | | | | | | | | | | | | | | | | | Credits: Co-authored-by: Skogi <skogi.b@gmail.com> Co-authored-by: Spartan322 <Megacake1234@gmail.com> Co-authored-by: swashberry <swashdev@pm.me> Co-authored-by: Christoffer Sundbom <christoffer_karlsson@live.se> Co-authored-by: Dubhghlas McLaughlin <103212704+mcdubhghlas@users.noreply.github.com> Co-authored-by: McDubh <103212704+mcdubhghlas@users.noreply.github.com> Co-authored-by: Dubhghlas McLaughlin <103212704+mcdubhghlas@users.noreply.github.com> Co-authored-by: radenthefolf <radenthefolf@gmail.com> Co-authored-by: John Knight <80524176+Tekisasu-JohnK@users.noreply.github.com> Co-authored-by: Adam Vondersaar <adam.vondersaar@uphold.com> Co-authored-by: decryptedchaos <nixgod@gmail.com> Co-authored-by: zaftnotameni <122100803+zaftnotameni@users.noreply.github.com> Co-authored-by: Aaron Benjamin <lifeartstudios@gmail.com> Co-authored-by: wesam <108880473+wesamdev@users.noreply.github.com> Co-authored-by: Mister Puma <MisterPuma80@gmail.com> Co-authored-by: Aaron Benjamin <lifeartstudios@gmail.com> Co-authored-by: SingleError <isaaconeoneone@gmail.com> Co-authored-by: Bioblaze Payne <BioblazePayne@gmail.com>
* Style: Apply new `clang-format` changesThaddeus Crews2024-09-201-2/+2
|
* Merge pull request #96684 from HolonProduction/that-was-a-bit-too-smartRémi Verschelde2024-09-161-13/+0
|\ | | | | | | LSP: Don't use smart resolve for completion
| * LSP: Don't use smart resolve for completionHolonProduction2024-09-071-13/+0
| |
* | Merge pull request #96725 from HolonProduction/lsp-omitRémi Verschelde2024-09-161-12/+20
|\ \ | | | | | | | | | LSP: Omit some values based on specification version 3.17
| * | LSP: Omit some values based on specification version 3.17HolonProduction2024-09-081-12/+20
| |/
* | Fix script properties reload from external editorHilderin2024-09-141-2/+0
| |
* | [Editor] Expose more editor settings to documentationA Thousand Ships2024-09-121-0/+1
|/ | | | Co-authored-by: Tomasz Chabora <kobewi4e@gmail.com>
* Merge pull request #70096 from rune-scape/stringname-dictRémi Verschelde2024-09-032-2/+2
|\ | | | | | | StringName Dictionary keys
| * StringName Dictionary keysrune-scape2024-08-292-2/+2
| | | | | | | | | | also added 'is_string()' method to Variant and refactored many String type comparisons to use it instead
* | Cleanup of raw `nullptr` checks with `Ref`A Thousand Ships2024-08-311-3/+3
|/ | | | Using `is_valid/null` over checks with `nullptr` or `ERR_FAIL_NULL` etc.
* Fix Steam input "crc" errors, and some other Coverity reports of ↵Rémi Verschelde2024-05-311-1/+1
| | | | | | | uninitialized scalar variable - Fixes #88630. - Fixes #92578.
* [GDScript LSP] Fix `show_native_symbol_in_editor`A Thousand Ships2024-05-261-1/+1
|
* Replace `find` with `contains/has` where applicableA Thousand Ships2024-05-081-1/+1
| | | | | | | * Replaces `find(...) != -1` with `contains` for `String` * Replaces `find(...) == -1` with `!contains` for `String` * Replaces `find(...) != -1` with `has` for containers * Replaces `find(...) == -1` with `!has` for containers
* Reduce and prevent unnecessary random-access to `List`A Thousand Ships2024-05-042-4/+4
| | | | | | | | | Random-access access to `List` when iterating is `O(n^2)` (`O(n)` when accessing a single element) * Removed subscript operator, in favor of a more explicit `get` * Added conversion from `Iterator` to `ConstIterator` * Remade existing operations into other solutions when applicable
* 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