summaryrefslogtreecommitdiff
path: root/modules/gdscript/language_server
AgeCommit message (Collapse)Author
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-04-02Replace NULL with nullptrlupoDharkael
2020-03-26Effective DisplayServer separation, rename X11 -> LinuxBSDJuan Linietsky
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-03-17Style: Set clang-format Standard to Cpp11Rémi Verschelde
For us, it practically only changes the fact that `A<A<int>>` is now used instead of the C++03 compatible `A<A<int> >`. Note: clang-format 10+ changed the `Standard` arguments to fully specified `c++11`, `c++14`, etc. versions, but we can't use `c++17` now if we want to preserve compatibility with clang-format 8 and 9. `Cpp11` is still supported as deprecated alias for `Latest`.
2020-03-08Merge pull request #36683 from rafaeldelboni/masterRémi Verschelde
Return only scenes for script owners on LSP completion
2020-03-07fix: Return only scenes for script owners on LSP completionRafael Delboni
Fix: #36680
2020-03-05typo in gdscript_workspace.cpp/remove_cache_parser() fixedThakee Nathees
2020-02-25Improve LSP completion using scene ownerRafael Delboni
Fixes: #36473
2020-02-23Fix crash after closing a GDScript LSP sessionOliver Frank
2020-02-20Migrating language server from Websockets to raw TCPof9
2020-02-20Reworked signal connection system, added support for Callable and Signal ↵Juan Linietsky
objects and made them default.
2020-02-18PoolVector is gone, replaced by VectorJuan Linietsky
Typed `PoolTypeArray` types are now renamed `PackedTypeArray` and are sugar for `Vector<Type>`.
2020-02-12Fix hover symbol content positiongeequlim
2020-01-28Fix static functions loop using class' functionsFrancois Belair
Besides being incorrect, it also caused a hard editor crash for purely static classes or classes with more static functions than methods.
2020-01-15Prevent GDScript language server from listening to external hosts by defaultHoukime
* Add bind_ip property to WebSocketServer defaulting to "*" (listen to everyone) * Set default for GDscript Language Server to listen only to localhost Fixes potential security issue with GDScript language server being exposed to the broad net by default. Since it is the server which primary usage is to provide utility to the local editor there is no need to expose it.
2020-01-15Fix typos with codespellRémi Verschelde
Using codespell 1.16.0. See ab3bccdb78cc7dffb6ab796053ef63489f05558d for procedure.
2020-01-13Fix infinite loop error in document link parsingGeequlim
2020-01-11Remove completion triggers for ',' and '(' which may conflict with signature ↵geequlim
helper
2020-01-11Allow enable/disable threading for LSP servergeequlim
Restart LSP server when configurations change without restart the editor
2020-01-10LSP: Fix bracket completion for functions with one argumentGeequlim
2020-01-09GDScript LSP: Implement signatureHelpgeequlim
Enable smart resolve default to true as it is required for script symbol lookup
2020-01-04GDScript LSP: Implement goto declarationgeequlim
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-12-24Cleans up headers included in editor_node.hHaoyu Qiu
2019-12-10Removed unused variables, add some constants numbersRafał Mikrut
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-11-11Remove all uses of ERR_EXPLAIN macros.Marcel Admiraal
2019-10-14Small fixes to redundand code, copy paste bugsqarmin
2019-10-11fix #32588 crash in language serverHaSa1002
2019-10-10Decrease polling frequency to 20 Hz in the GDScript language serverHugo Locurcio
This decreases the language server's CPU usage.
2019-10-09Merge pull request #32671 from GodotExplorer/lsp-send-godot-class-treeRémi Verschelde
lsp: Send godot class tree to clients
2019-10-09lsp: Send godot class tree to clientsGeequlim
2019-10-09lsp: Fix signature of void returned functions in native methodsGeequlim
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-10-03Fix codeblock formating to markdowngeequlim
2019-09-23Fix `line` being assigned to twice in the GDScript language serverHugo Locurcio
This closes #32090.
2019-09-22Changed some code found by Clang Tidy and Coverityqarmin
2019-09-20Distinguish editor-originating messages in the editor logHugo Locurcio
This fades out messages originating from the editor to make messages printed by the project stand out more. This also tweaks wording in some editor messages for consistency.
2019-08-11Improve code compeletion for virtual methods with signaturesgeequlim
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-11Add generate script api to dictionary supportGeequlim
Expose GDScriptLanguageProtocol singleton and classes for editor plugins (Not visiable in class tree) Fix minor bug in symbol resolve
2019-08-11Check client workspace directory is validGeequlim
Drop test initialize message sent to client Remove unused code property for the parser class
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 optional smart resolve sulotiongeequlim
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