summaryrefslogtreecommitdiffstats
path: root/modules/gdscript/language_server/gdscript_language_protocol.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Rename `instance()`->`instantiate()` when it's a verbLightning_A2021-06-191-3/+3
|
* Consolidate JSON, JSONParseResults and JSONParser into JSONMarcel Admiraal2021-06-191-3/+2
| | | | | Renames JSON.parse_string() to parse() Renames JSON.decode_data() to stringify()
* Rename `IP_Unix`, `IP_Address` and `TCP_Server` to remove underscoresHugo Locurcio2021-05-061-1/+1
|
* Core: Drop custom `copymem`/`zeromem` definesRémi Verschelde2021-04-271-1/+0
| | | | | | | | We've been using standard C library functions `memcpy`/`memset` for these since 2016 with 67f65f66391327b2967a20a89c3627e1dd6e84eb. There was still the possibility for third-party platform ports to override the definitions with a custom header, but this doesn't seem useful anymore.
* Fixed Invalid function bindings #46135Vignesh1-art2021-02-181-1/+1
| | | Fixed GDScriptLanguageProtocol::notify_client - have 3 arguments, but only 2 are binded
* Update copyright statements to 2021Rémi Verschelde2021-01-011-2/+2
| | | | | | | | | | | | | | 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 🎆
* Rename empty() to is_empty()Marcel Admiraal2020-12-281-3/+3
|
* Refactor DocData into core and editor (DocTools) partsThakee Nathees2020-12-021-1/+2
|
* Reorganized core/ directory, it was too fatty alreadyreduz2020-11-071-1/+1
| | | | | | -Removed FuncRef, since Callable makes it obsolete -Removed int_types.h as its obsolete in c++11+ -Changed color names code
* GDScript LSP: Fix wrong error checks added in #39385Rémi Verschelde2020-06-151-4/+2
| | | | | | | | | Reverts `latest_client_id` back to 0, as I misunderstood how the client IDs are assigned and, without further testing and debugging, I can't say if this was a bug or a valid default value. Similarly, a `latest_client_id` of -1 is no longer raising an error. Fixes #39548.
* GDScript LSP: Fix crash in notify_clientRémi Verschelde2020-06-081-5/+10
| | | | | | | | | `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-4/+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-5/+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.
* Replace NULL with nullptrlupoDharkael2020-04-021-8/+8
|
* Fix crash after closing a GDScript LSP sessionOliver Frank2020-02-231-2/+2
|
* Migrating language server from Websockets to raw TCPof92020-02-201-66/+135
|
* 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>`.
* Prevent GDScript language server from listening to external hosts by defaultHoukime2020-01-151-1/+2
| | | | | | | | | | * 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.
* 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.
* lsp: Send godot class tree to clientsGeequlim2019-10-091-0/+16
|
* Add custom api `textDocument/nativeSymbol` to allow inspect native symbols ↵geequlim2019-10-041-2/+3
| | | | from LSP clients
* Fix enumeration value of SymbolKind.geequlim2019-10-041-0/+5
| | | | | Add custom notification 'gdscript/show_native_symbol' to show native symbols in clients. Close client connections when stop gdscript-lsp
* Changed some code found by Clang Tidy and Coverityqarmin2019-09-221-2/+4
|
* Add optional goto definition support for native symbolsgeequlim2019-08-111-0/+4
| | | | | 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-12/+20
| | | | | 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-111-12/+11
| | | | | Drop test initialize message sent to client Remove unused code property for the parser class
* Improved performance for completion and symbol resolvation.Geequlim2019-08-111-1/+22
| | | | | | 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-0/+5
| | | | 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/+2
| | | | | | | Implement hover Implement completion documentation resolve Implement hover documentation Implement go to definition
* Add GDScript Language Protocol plugingeequlim2019-08-111-0/+173