summaryrefslogtreecommitdiff
path: root/modules/gdscript/language_server/lsp.hpp
AgeCommit message (Collapse)Author
2022-06-15Merge pull request #59482 from kurtlachmann/lsp_better_parenthesesRémi Verschelde
2022-05-16Replace most uses of Map by HashMapreduz
* Map is unnecessary and inefficient in almost every case. * Replaced by the new HashMap. * Renamed Map to RBMap and Set to RBSet for cases that still make sense (order matters) but use is discouraged. There were very few cases where replacing by HashMap was undesired because keeping the key order was intended. I tried to keep those (as RBMap) as much as possible, but might have missed some. Review appreciated!
2022-03-24Use insertText from the internal autocompletionKurt Lachmann
* GDScriptLanguage::complete_code already adds parentheses to function calls, and does this a lot smarter than the language server right now. * Instead of the previous naive approach we now reuse the same logic as the internal editor. * For this to have any effect we also have to send the `insertText` field already during the completionRequest and not only during resolve.
2022-02-04String: Add contains().Anilforextra
2022-01-03Update copyright statements to 2022Rémi Verschelde
Happy new year to the wonderful Godot community!
2021-10-28clang-format: Various fixes to comments alignment from `clang-format` 13Rémi Verschelde
All reviewed manually and occasionally rewritten to avoid bad auto formatting.
2021-09-30Use range iterators for `Map`Lightning_A
2021-09-25Remove duplicate WorkspaceEdit from LSPFrancois Belair
2021-09-25Merge pull request #50378 from Razoric480/apply-edit-40Rémi Verschelde
2021-08-05Merge pull request #48615 from Razoric480/lsp-renameRémi Verschelde
Implement LSP didSave notification and rename request
2021-07-26Fix LSP reporting wrong typesFrancois Belair
2021-07-17Implement didSave notification and rename requestFrancois Belair
2021-07-11Implement applyEdit in LSP for signal connectingFrancois Belair
2021-06-11Rename Reference to RefCountedPedro J. Estébanez
2021-04-10Implement LSP didDeleteFiles & make parser aware of sub-nodesFrancois Belair
2021-02-25Merge pull request #40276 from Taywee/masterRémi Verschelde
remove invalid codeLensProvider value from lsp
2021-02-08Initialize class/struct variables with default values in modules/Rafał Mikrut
2021-01-01Update copyright statements to 2021Rémi Verschelde
Happy new year to the wonderful Godot community! 2020 has been a tough year for most of us personally, but a good year for Godot development nonetheless with a huge amount of work done towards Godot 4.0 and great improvements backported to the long-lived 3.2 branch. We've had close to 400 contributors to engine code this year, authoring near 7,000 commit! (And that's only for the `master` branch and for the engine code, there's a lot more when counting docs, demos and other first-party repos.) Here's to a great year 2021 for all Godot users 🎆
2020-12-28Rename empty() to is_empty()Marcel Admiraal
2020-12-02Refactor DocData into core and editor (DocTools) partsThakee Nathees
2020-11-16Remove empty lines around braces with the formatting scriptAaron Franke
2020-11-07Reorganized core/ directory, it was too fatty alreadyreduz
-Removed FuncRef, since Callable makes it obsolete -Removed int_types.h as its obsolete in c++11+ -Changed color names code
2020-07-11remove invalid codeLensProvider value from lspTaylor C. Richberger
codeLensProvider was false, it may not be a boolean like some of the other providers can, only optionally present.
2020-05-15Fix incorrect capabilities notification in LSPOliver Frank
(cherry picked from commit 2173d041af711c111d60d1fc1f45f96f4f8c7271)
2020-05-14Style: Enforce braces around if blocks and loopsRémi Verschelde
Using clang-tidy's `readability-braces-around-statements`. https://clang.llvm.org/extra/clang-tidy/checks/readability-braces-around-statements.html
2020-05-14Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocksRémi Verschelde
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.
2020-05-10Style: clang-format: Disable AllowShortIfStatementsOnASingleLineRémi Verschelde
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.
2020-04-02Replace more occurrences of NULL with nullptrRémi Verschelde
2020-03-24Move DocData and Collada out of their subfoldersRémi Verschelde
Now that the unused DocDump was removed, the `editor/doc` subfolder is redundant. Similarly, there's no reason for Collada to have a subfolder for itself when glTF or OBJ don't.
2020-01-11Remove completion triggers for ',' and '(' which may conflict with signature ↵geequlim
helper
2020-01-09GDScript LSP: Implement signatureHelpgeequlim
Enable smart resolve default to true as it is required for script symbol lookup
2020-01-01Update copyright statements to 2020Rémi Verschelde
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.
2019-11-22Fix typos with codespellRémi Verschelde
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 ```
2019-10-14Small fixes to redundand code, copy paste bugsqarmin
2019-10-09lsp: Send godot class tree to clientsGeequlim
2019-10-05Format documentations to markdown only when neededgeequlim
2019-10-04Add custom api `textDocument/nativeSymbol` to allow inspect native symbols ↵geequlim
from LSP clients
2019-10-04Fix enumeration value of SymbolKind.geequlim
Add custom notification 'gdscript/show_native_symbol' to show native symbols in clients. Close client connections when stop gdscript-lsp
2019-10-03Implement DocumentLink of GDScript LSP Servergeequlim
2019-08-11Add optional goto definition support for native symbolsgeequlim
This action will show help for target symbol in godot editor and bring the godot editor window to foreground Improved markdown documentation for symbols.
2019-08-11Improve symbol resolve for inner classesGeequlim
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
2019-08-11Improved performance for completion and symbol resolvation.Geequlim
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.
2019-08-11Add a symbol pool to cache all native symbols and workspackes symbols.geequlim
Implement hover Implement completion documentation resolve Implement hover documentation Implement go to definition
2019-08-11Add GDScript Language Protocol plugingeequlim