Commit graph

295 commits

Author SHA1 Message Date
Nolkaloid
1d165e7ea9
Add keyword code completion option 2026-04-08 20:04:08 +02:00
Thaddeus Crews
7c720b815f
Merge pull request #117710 from HolonProduction/lsp/text-edit-string
LSP: Calculate simple string insertions on the server-side
2026-04-06 13:02:20 -05:00
Thaddeus Crews
d31bf4c829
Merge pull request #114598 from HolonProduction/lsp/snippet-insert-braces
LSP: When supported use snippet insert mode to add closing braces
2026-04-06 13:02:18 -05:00
Thaddeus Crews
5b22f33d11
Merge pull request #115851 from HolonProduction/lsp/optimize-usages-in-file
LSP: Optimize `find_usages_in_file`
2026-04-06 13:02:17 -05:00
Thaddeus Crews
ab43b15f2f
Merge pull request #117883 from HolonProduction/lsp/rm-make-completion-item
LSP: Remove unused `DocumentSymbol::make_completion_item`
2026-04-03 11:52:17 -05:00
StarryWorm
4ae336740d Add missing resource_*.h includes
Add missing `resource_importer.h` includes
Add missing `resource_loader.h` includes
Add missing `resource_saver.h` includes
2026-03-27 07:03:39 -04:00
HolonProduction
cb9b98b73f LSP: Remove unused DocumentSymbol::make_completion_item 2026-03-26 23:39:56 +01:00
HolonProduction
82f308d957 LSP: Calculate string insertions on the server-side 2026-03-25 14:53:31 +01:00
HolonProduction
7ab735fbbb LSP: When supported use snippet insert mode to add closing braces 2026-03-25 14:53:10 +01:00
Rémi Verschelde
e33e98a26f
Style: Apply clang-format grouping rules 2026-03-17 20:11:01 +01:00
Rémi Verschelde
6d309c858e
Remove unused includes in modules with clangd-tidy 2026-03-16 16:40:39 +01:00
Thaddeus Crews
5134bdb39e
Merge pull request #115842 from Arbee4ever/lsp-log-startup-errors
LSP: log startup Errors
2026-03-04 14:32:35 -06:00
Rémi Verschelde
eabb9a63d4
Rename callable_method_pointer.h to callable_mp.h and include it explicitly
This allows removing it from `class_db.h`, significantly reducing the amount of files
that include it transitively.

Also includes some include cleanup in `control.h` and `rich_text_label.h` done while
ensure they don't depend on `callable_mp`.
2026-03-04 16:23:23 +01:00
Rémi Verschelde
f332faf46b
Explicitly include core/os/os.h where used 2026-03-04 09:54:10 +01:00
arbee4ever
1cf8691438 LSP: log startup Errors 2026-03-01 09:56:49 +01:00
Thaddeus Crews
e380a41752
Style: Add class_db.h includes explicitly 2026-02-26 15:50:28 -06:00
HolonProduction
e7c01f8427 LSP: Don't serialize empty documentation 2026-02-24 11:30:37 +01:00
Thaddeus Crews
a7b74be08c
Tests: Tidy up compiled tests 2026-02-19 19:31:09 -06:00
HolonProduction
9527a6e2f0 LSP: Document editor settings 2026-02-17 12:29:27 +01:00
HolonProduction
c416cbaf54 LSP: Fix type bind, mark as experimental, deprecate direct LSP access 2026-02-16 14:36:31 +01:00
HolonProduction
7f7840c7cb LSP: Remove unused ExtendGDScriptParser::get_member_completions 2026-02-06 15:51:03 +01:00
Thaddeus Crews
56f3e2611d
Merge pull request #114559 from HolonProduction/lsp/fix-performance-scene-loading-workspace-completion
LSP: Fix loading scene for every request on script file for workspace completion
2026-02-06 08:18:04 -06:00
Lukas Tenbrink
c5df0cb82b Don't right-align escaped newlines, e.g. for #define. This has previously led to long diffs in the commit history. 2026-02-04 19:31:28 +01:00
HolonProduction
99925a3140 LSP: Optimize find_usages_in_file 2026-02-04 00:43:59 +01:00
Rémi Verschelde
973e4d1576
Merge pull request #115672 from HolonProduction/lsp/kate2
LSP: Handle clients that do not support `CompletionContext`
2026-01-31 22:51:03 +01:00
Rémi Verschelde
6a3158be48
Merge pull request #115671 from HolonProduction/lsp/kate
LSP: Add `godot` to known language ids
2026-01-31 22:50:59 +01:00
HolonProduction
9c72dafbe6 LSP: Add godot to known language ids 2026-01-31 15:39:35 +01:00
HolonProduction
0080d6f109 LSP: Handle clients that do not support CompletionContext 2026-01-31 13:40:51 +01:00
voylin
ea1cb8fe67 Add columns to Language Server 2026-01-31 06:22:08 +09:00
Thaddeus Crews
8d2c8b5433
Merge pull request #114186 from voylin/language_server_highlight_support
Add highlight support to Language Server for external editors
2026-01-28 12:26:51 -06:00
Thaddeus Crews
9c3b86713c
Merge pull request #114442 from HolonProduction/rm-native-member-completions
LSP: Remove unread `native_member_completions` member
2026-01-28 12:26:50 -06:00
Dekara VanHoc
a4d029f889 LSP: Fix loading scene for every request on script file for workspace completion
Co-authored-by: HolonProduction <holonproduction@gmail.com>
2026-01-26 13:47:34 +01:00
HolonProduction
9d90a6794c LSP: Reuse stale parsers in request 2026-01-09 15:45:18 +01:00
voylin
055648ea19 Add highlight support for language server
Update modules/gdscript/language_server/gdscript_text_document.cpp

Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2026-01-05 08:17:05 +09:00
HolonProduction
1d95e762a2 LSP: Remove unread native_member_completions member 2025-12-30 13:32:37 +01:00
HolonProduction
a1fb9daae1 LSP: Fix infinite recursion in symbol calculation 2025-12-28 19:11:29 +01:00
Thaddeus Crews
d9f938775d
Merge pull request #105236 from HolonProduction/lsp-sync
LSP: Rework management of client owned files
2025-12-16 20:32:57 -06:00
Thaddeus Crews
1788983ee8
Merge pull request #113031 from HolonProduction/lets-put-a-hack-on-top-the-hack
LSP: Improve insertion algorithm for resolving completion options
2025-11-25 07:06:50 -06:00
Nathan Lovato
cd2bd8f624 GDScript LSP: Rework and extend BBCode to markdown docstring conversion
The original implementation was minimal and produced docstrings with poor formatting and no line returns in code editors other than VSCode.

Co-authored-by: HolonProduction <holonproduction@gmail.com>
2025-11-24 11:39:58 +01:00
HolonProduction
4cc88e5175 LSP: Rework management of client owned files 2025-11-22 19:17:15 +01:00
HolonProduction
14cde0fa10 LSP: Improve insertion algorithm for resolving completion options 2025-11-22 01:03:38 +01:00
HolonProduction
bbdf37b7a2 LSP: Fix remaining unsave dict access 2025-10-28 18:12:59 +01:00
Thaddeus Crews
03ae868b15
Merge pull request #111478 from HolonProduction/lsp-decl-fix
LSP: Fix goto native declaration
2025-10-21 15:11:10 -05:00
Joonas Ulmanen
c5aedff514 LSP: Fix dict[] uses where the key might not exist 2025-10-16 11:02:59 +03:00
HolonProduction
87bbad5e8c LSP: Fix goto native declaration 2025-10-10 15:43:48 +02:00
Rémi Verschelde
bc0342b3ef
Merge pull request #111290 from HolonProduction/lsp-restart
LSP: Fix repeated restart attempts
2025-10-06 14:08:12 +02:00
HolonProduction
400c77f170 LSP: Fix repeated restart attempts 2025-10-05 16:09:21 +02:00
Aaron Franke
3d1c9fd5de
Move server files into their subfolders 2025-09-30 19:39:39 -07:00
Thaddeus Crews
21fd4faf1b
Merge pull request #107469 from Ivorforce/vector-localvector-explicit-span-conversions
Remove implicit conversions between `LocalVector` and `Vector`
2025-09-30 11:19:17 -05:00
Aaron Franke
754d49ac81
Skip copying values constructed immediately before returning 2025-09-26 19:13:58 -07:00