summaryrefslogtreecommitdiffstats
path: root/modules/gdscript/language_server
Commit message (Collapse)AuthorAgeFilesLines
* Style: clang-format: Disable AllowShortIfStatementsOnASingleLineRémi Verschelde2020-05-103-13/+26
| | | | | | | 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 more occurrences of NULL with nullptrRémi Verschelde2020-04-021-3/+3
|
* Replace NULL with nullptrlupoDharkael2020-04-025-33/+33
|
* Effective DisplayServer separation, rename X11 -> LinuxBSDJuan Linietsky2020-03-261-1/+3
|
* Move DocData and Collada out of their subfoldersRémi Verschelde2020-03-241-1/+1
| | | | | | | | 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.
* Style: Set clang-format Standard to Cpp11Rémi Verschelde2020-03-171-1/+1
| | | | | | | | | | 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`.
* Merge pull request #36683 from rafaeldelboni/masterRémi Verschelde2020-03-082-12/+16
|\ | | | | Return only scenes for script owners on LSP completion
| * fix: Return only scenes for script owners on LSP completionRafael Delboni2020-03-072-12/+16
| | | | | | | | Fix: #36680
* | typo in gdscript_workspace.cpp/remove_cache_parser() fixedThakee Nathees2020-03-051-1/+1
|/
* Improve LSP completion using scene ownerRafael Delboni2020-02-252-1/+53
| | | | Fixes: #36473
* Fix crash after closing a GDScript LSP sessionOliver Frank2020-02-232-3/+3
|
* Migrating language server from Websockets to raw TCPof92020-02-202-77/+164
|
* Reworked signal connection system, added support for Callable and Signal ↵Juan Linietsky2020-02-201-3/+3
| | | | objects and made them default.
* PoolVector is gone, replaced by VectorJuan Linietsky2020-02-181-2/+2
| | | | | Typed `PoolTypeArray` types are now renamed `PackedTypeArray` and are sugar for `Vector<Type>`.
* Fix hover symbol content positiongeequlim2020-02-121-0/+2
|
* Fix static functions loop using class' functionsFrancois Belair2020-01-281-1/+1
| | | | | Besides being incorrect, it also caused a hard editor crash for purely static classes or classes with more static functions than methods.
* Prevent GDScript language server from listening to external hosts by defaultHoukime2020-01-153-3/+4
| | | | | | | | | | * 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.
* Fix typos with codespellRémi Verschelde2020-01-151-4/+4
| | | | | | Using codespell 1.16.0. See ab3bccdb78cc7dffb6ab796053ef63489f05558d for procedure.
* Fix infinite loop error in document link parsingGeequlim2020-01-131-2/+3
|
* Remove completion triggers for ',' and '(' which may conflict with signature ↵geequlim2020-01-111-2/+0
| | | | helper
* Allow enable/disable threading for LSP servergeequlim2020-01-112-13/+42
| | | | Restart LSP server when configurations change without restart the editor
* LSP: Fix bracket completion for functions with one argumentGeequlim2020-01-101-1/+1
|
* GDScript LSP: Implement signatureHelpgeequlim2020-01-098-1/+232
| | | | Enable smart resolve default to true as it is required for script symbol lookup
* GDScript LSP: Implement goto declarationgeequlim2020-01-042-54/+69
|
* Update copyright statements to 2020Rémi Verschelde2020-01-0111-22/+22
| | | | | | | | | | | 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.
* Cleans up headers included in editor_node.hHaoyu Qiu2019-12-241-0/+1
|
* Removed unused variables, add some constants numbersRafał Mikrut2019-12-102-3/+1
|
* Fix typos with codespellRémi Verschelde2019-11-222-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
|
* Small fixes to redundand code, copy paste bugsqarmin2019-10-141-1/+1
|
* fix #32588 crash in language serverHaSa10022019-10-111-1/+1
|
* Decrease polling frequency to 20 Hz in the GDScript language serverHugo Locurcio2019-10-101-1/+2
| | | | This decreases the language server's CPU usage.
* Merge pull request #32671 from GodotExplorer/lsp-send-godot-class-treeRémi Verschelde2019-10-092-1/+52
|\ | | | | lsp: Send godot class tree to clients
| * lsp: Send godot class tree to clientsGeequlim2019-10-092-1/+52
| |
* | lsp: Fix signature of void returned functions in native methodsGeequlim2019-10-091-1/+5
|/
* Format documentations to markdown only when neededgeequlim2019-10-054-74/+82
|
* Add custom api `textDocument/nativeSymbol` to allow inspect native symbols ↵geequlim2019-10-046-5/+58
| | | | from LSP clients
* Fix enumeration value of SymbolKind.geequlim2019-10-043-52/+65
| | | | | Add custom notification 'gdscript/show_native_symbol' to show native symbols in clients. Close client connections when stop gdscript-lsp
* Implement DocumentLink of GDScript LSP Servergeequlim2019-10-037-4/+99
|
* Fix codeblock formating to markdowngeequlim2019-10-031-2/+2
|
* Fix `line` being assigned to twice in the GDScript language serverHugo Locurcio2019-09-231-4/+2
| | | | This closes #32090.
* Changed some code found by Clang Tidy and Coverityqarmin2019-09-223-4/+8
|
* Distinguish editor-originating messages in the editor logHugo Locurcio2019-09-201-2/+2
| | | | | | | 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.
* Improve code compeletion for virtual methods with signaturesgeequlim2019-08-112-1/+6
|
* Add optional goto definition support for native symbolsgeequlim2019-08-1110-84/+134
| | | | | 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-117-35/+207
| | | | | Expose GDScriptLanguageProtocol singleton and classes for editor plugins (Not visiable in class tree) Fix minor bug in symbol resolve
* Check client workspace directory is validGeequlim2019-08-113-15/+11
| | | | | Drop test initialize message sent to client Remove unused code property for the parser class
* Improve symbol resolve for inner classesGeequlim2019-08-115-47/+156
| | | | | | 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-119-442/+496
| | | | | | 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-118-65/+260
| | | | 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