Lamia
c34715a4fe
LSP: Improve handling of file URI scheme
...
Fixes #63205 .
(cherry picked from commits 3fa943fe23
,
42a16ef76e
and
2ff69d6181
)
(cherry picked from commit a412922c2b
)
2022-12-13 14:18:32 +01:00
Rémi Verschelde
a627cdafc5
Update copyright statements to 2022
...
Happy new year to the wonderful Godot community!
2022-01-13 15:54:13 +01:00
Francois Belair
ba1d6b7532
Prevent LSP adding signal func to non GDScripts
...
(cherry picked from commit 66f1b4bf66
)
2021-12-06 17:51:11 +01:00
Francois Belair
ae3aec1dbc
Makes LSP report new() as _init; fixes docstrings
2021-09-29 08:43:32 -04:00
Francois Belair
885d905b0d
Make LSP send applyEdit to connect editor signals
2021-09-25 15:22:28 -04:00
Rémi Verschelde
632844e464
Merge pull request #51320 from pycbouh/docs-extract-theme-items-3.x
...
[3.x] Add theme item descriptions to the online documentation
2021-08-13 22:39:09 +02:00
Francois Belair
6db17a523e
Fix LSP completion crashing on sceneless scripts
2021-08-06 15:31:04 -04:00
Yuri Sizov
fcbe5a3fde
Add theme item descriptions to the online documentation
2021-08-06 18:20:51 +03:00
Francois Belair
1f0fa16a15
Fix LSP parsing get_node only from the scene root
...
(cherry picked from commit 03f8fa9f62
)
2021-08-06 11:45:08 +02:00
Rémi Verschelde
63047093c9
Merge pull request #48616 from Razoric480/lsp-3x-rename
...
Implement LSP didSave notify and rename request [3.x]
2021-08-04 20:28:16 +02:00
Francois Belair
802bb9c01f
Implement LSP didSave notify and rename request
2021-07-17 11:50:17 -04:00
Francois Belair
59d72279ae
Translate file path to URI on LSP symbol requests
...
(cherry picked from commit a56c2e459b
)
2021-06-29 13:12:15 +02:00
Rémi Verschelde
140350d767
Style: Enforce braces around if blocks and loops
...
Using clang-tidy's `readability-braces-around-statements`.
https://clang.llvm.org/extra/clang-tidy/checks/readability-braces-around-statements.html
2021-05-05 15:02:01 +02:00
Rémi Verschelde
a828398655
Style: Replaces uses of 0/NULL by nullptr (C++11)
...
Using clang-tidy's `modernize-use-nullptr`.
https://clang.llvm.org/extra/clang-tidy/checks/modernize-use-nullptr.html
2021-05-04 16:30:23 +02:00
Rémi Verschelde
b5e1e05ef2
Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks
2021-05-04 14:45:16 +02:00
Rémi Verschelde
3d15f04668
Style: clang-format: Disable AllowShortIfStatementsOnASingleLine
2021-05-04 14:45:15 +02:00
Francois Belair
4e8e887748
Implement LSP didDeleteFiles to clear diagnostics
...
Fixes #43133
2021-04-01 13:41:53 -04:00
Rémi Verschelde
49646383f1
Update copyright statements to 2021
...
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 🎆
(cherry picked from commit b5334d14f7
)
2021-01-13 16:17:06 +01:00
Rémi Verschelde
3edae035d5
GDScript LSP: Fix crash in notify_client
...
`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 .
(cherry picked from commit e34f33711b
)
2020-06-10 15:30:52 +02:00
Rafael Delboni
5736e43fe4
fix: Return only scenes for script owners on LSP completion
...
Fix : #36680
(cherry picked from commit 2f08f4ef4e
)
2020-03-25 09:44:09 +01:00
Rafael Delboni
ecfe9c24a2
Improve LSP completion using scene owner
...
Fixes : #36473
(cherry picked from commit 06bce137e3
)
2020-03-25 09:43:49 +01:00
Thakee Nathees
708aab7920
typo in gdscript_workspace.cpp/remove_cache_parser() fixed
...
(cherry picked from commit 07c99340d1
)
2020-03-09 09:51:59 +01:00
geequlim
d35c018a7a
GDScript LSP: Implement signatureHelp
...
Enable smart resolve default to true as it is required for script symbol lookup
2020-01-09 00:57:54 +08:00
Rémi Verschelde
a7f49ac9a1
Update copyright statements to 2020
...
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.
2020-01-01 11:16:22 +01:00
Rémi Verschelde
ab3bccdb78
Fix typos with codespell
...
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-22 08:35:03 +01:00
Marcel Admiraal
d18b2e599d
Remove all uses of ERR_EXPLAIN macros.
2019-11-11 10:24:04 +01:00
Geequlim
2b5b5874a2
lsp: Fix signature of void returned functions in native methods
2019-10-09 10:01:48 +08:00
geequlim
9f27a4838c
Format documentations to markdown only when needed
2019-10-05 14:09:38 +08:00
geequlim
e199488bc7
Add custom api `textDocument/nativeSymbol` to allow inspect native symbols from LSP clients
2019-10-04 23:00:33 +08:00
geequlim
6a8303f82f
Implement DocumentLink of GDScript LSP Server
2019-10-03 18:51:03 +08:00
geequlim
e5b91a15e6
Improve code compeletion for virtual methods with signatures
2019-08-11 14:06:39 +08:00
geequlim
72d11cd173
Add optional goto definition support for native symbols
...
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-11 13:30:15 +08:00
Geequlim
666ed89011
Add generate script api to dictionary support
...
Expose GDScriptLanguageProtocol singleton and classes for editor plugins (Not visiable in class tree)
Fix minor bug in symbol resolve
2019-08-11 13:30:15 +08:00
Geequlim
b2f02317fa
Improve symbol resolve for inner classes
...
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-11 13:30:15 +08:00
Geequlim
76c9e4ceb7
Improved performance for completion and symbol resolvation.
...
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-11 13:30:15 +08:00
geequlim
fa6d6a329c
Add optional smart resolve sulotion
...
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
2019-08-11 13:30:15 +08:00
geequlim
37aafaaa9c
Add a symbol pool to cache all native symbols and workspackes symbols.
...
Implement hover
Implement completion documentation resolve
Implement hover documentation
Implement go to definition
2019-08-11 13:30:15 +08:00
geequlim
f58560ac36
Add GDScript Language Protocol plugin
2019-08-11 13:30:15 +08:00