summaryrefslogtreecommitdiffstats
path: root/modules/gdscript/language_server/gdscript_workspace.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Reenable GDScript LSP serverGeorge Marques2020-07-201-6/+1
|
* New GDScript tokenizer and parserGeorge Marques2020-07-201-0/+5
| | | | | | | | | | Sometimes to fix something you have to break it first. This get GDScript mostly working with the new tokenizer and parser but a lot of things isn't working yet. It compiles and it's usable, and that should be enough for now. Don't worry: other huge commits will come after this.
* GDScript LSP: Fix crash in notify_clientRémi Verschelde2020-06-081-6/+7
| | | | | | | | | `latest_client_id` now defaults to `-1` (invalid ID) instead of `0`. Also fix typo in notification `gdscrip_client/changeWorkspace`, and fix argument names in method binds. Fixes #39375.
* Style: Enforce braces around if blocks and loopsRémi Verschelde2020-05-141-3/+6
| | | | | Using clang-tidy's `readability-braces-around-statements`. https://clang.llvm.org/extra/clang-tidy/checks/readability-braces-around-statements.html
* Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocksRémi Verschelde2020-05-141-21/+0
| | | | | | | | | | | | | | Which means that reduz' beloved style which we all became used to will now be changed automatically to remove the first empty line. This makes us lean closer to 1TBS (the one true brace style) instead of hybridating it with some Allman-inspired spacing. There's still the case of braces around single-statement blocks that needs to be addressed (but clang-format can't help with that, but clang-tidy may if we agree about it). Part of #33027.
* Style: clang-format: Disable AllowShortIfStatementsOnASingleLineRémi Verschelde2020-05-101-1/+2
| | | | | | | Part of #33027, also discussed in #29848. Enforcing the use of brackets even on single line statements would be preferred, but `clang-format` doesn't have this functionality yet.
* Replace NULL with nullptrlupoDharkael2020-04-021-10/+10
|
* Merge pull request #36683 from rafaeldelboni/masterRémi Verschelde2020-03-081-11/+15
|\ | | | | Return only scenes for script owners on LSP completion
| * fix: Return only scenes for script owners on LSP completionRafael Delboni2020-03-071-11/+15
| | | | | | | | Fix: #36680
* | typo in gdscript_workspace.cpp/remove_cache_parser() fixedThakee Nathees2020-03-051-1/+1
|/
* Improve LSP completion using scene ownerRafael Delboni2020-02-251-1/+48
| | | | Fixes: #36473
* GDScript LSP: Implement signatureHelpgeequlim2020-01-091-0/+51
| | | | Enable smart resolve default to true as it is required for script symbol lookup
* Update copyright statements to 2020Rémi Verschelde2020-01-011-2/+2
| | | | | | | | | | | Happy new year to the wonderful Godot community! We're starting a new decade with a well-established, non-profit, free and open source game engine, and tons of further improvements in the pipeline from hundreds of contributors. Godot will keep getting better, and we're looking forward to all the games that the community will keep developing and releasing with it.
* Fix typos with codespellRémi Verschelde2019-11-221-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Using codespell 1.16.0. Method: ``` $ cat > ../godot-word-whitelist.txt << EOF ang curvelinear dof doubleclick leapyear lod merchantibility nd numer ois ony que seeked synching te uint unselect webp EOF $ codespell -w -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po" $ git diff // undo unwanted changes ```
* Remove all uses of ERR_EXPLAIN macros.Marcel Admiraal2019-11-111-2/+1
|
* lsp: Fix signature of void returned functions in native methodsGeequlim2019-10-091-1/+5
|
* Format documentations to markdown only when neededgeequlim2019-10-051-4/+4
|
* Add custom api `textDocument/nativeSymbol` to allow inspect native symbols ↵geequlim2019-10-041-0/+18
| | | | from LSP clients
* Implement DocumentLink of GDScript LSP Servergeequlim2019-10-031-0/+9
|
* Improve code compeletion for virtual methods with signaturesgeequlim2019-08-111-0/+5
|
* Add optional goto definition support for native symbolsgeequlim2019-08-111-56/+8
| | | | | This action will show help for target symbol in godot editor and bring the godot editor window to foreground Improved markdown documentation for symbols.
* Add generate script api to dictionary supportGeequlim2019-08-111-0/+14
| | | | | Expose GDScriptLanguageProtocol singleton and classes for editor plugins (Not visiable in class tree) Fix minor bug in symbol resolve
* Improve symbol resolve for inner classesGeequlim2019-08-111-13/+40
| | | | | | Only level one inner classes would be resolved currently but it sould cover most real world use case Improve documation parseing for const values Improve documation format for native symbols
* Improved performance for completion and symbol resolvation.Geequlim2019-08-111-39/+25
| | | | | | Improved uri and workspace path translatation on windows platform. The smart resolvation is much faster than builtin's in the server side. The smart resolve mode is still disabled as default as the clients might be slow with a planty of completion items.
* Add optional smart resolve sulotiongeequlim2019-08-111-7/+64
| | | | The smart resolvaion can guess most symbols but it might be slow so disabled by default users can turn on it in the editor setting
* Add a symbol pool to cache all native symbols and workspackes symbols.geequlim2019-08-111-1/+311
| | | | | | | Implement hover Implement completion documentation resolve Implement hover documentation Implement go to definition
* Add GDScript Language Protocol plugingeequlim2019-08-111-0/+153