Commit Graph

3942 Commits

Author SHA1 Message Date
Thaddeus Crews 3089ceed8d Merge pull request #118598 from Finishxx/gdscript-lsp-color-bbcode-support
GDScript LSP: Convert [color] BBCode to <span> HTML for capable clients
2026-06-25 08:32:24 -05:00
Thaddeus Crews ad74092df3 Merge pull request #119931 from dalexeev/gds-remove-unused-code-gds-func-state
GDScript: Remove unused code in `GDScriptFunctionState`
2026-06-24 14:53:00 -05:00
Thaddeus Crews c335d3f6f1 Merge pull request #119940 from dalexeev/gds-use-gdsoftclass-where-appropriate
GDScript: Use `GDSOFTCLASS` for some internal classes
2026-06-24 14:53:00 -05:00
Thaddeus Crews e78c7da64e Merge pull request #120453 from dalexeev/gds-fix-base-doc-class-name
GDScript: Fix incorrect detection of base doc class name
2026-06-24 10:16:09 -05:00
Thaddeus Crews 0c3a133051 Merge pull request #117545 from EdwardChanCH/tooltip_local_var_hides_global_v2
Fix inconsistent tooltip for `@GlobalScope` constants
2026-06-24 10:16:08 -05:00
Thaddeus Crews 8222d0983a Merge pull request #118856 from Ivorforce/stringname-string-conversion
Change `StringName` -> `String` conversion from `operator String()` to `string()`
2026-06-23 07:01:08 -05:00
Lukas Tenbrink 2659124e66 Change StringName -> String conversion from operator String() to string(). 2026-06-22 15:46:16 +02:00
Thaddeus Crews 28db2de289 Merge pull request #120139 from HolonProduction/lsp/change-workspace
LSP: Fix `gdscript_client/changeWorkspace` notification
2026-06-22 08:29:50 -05:00
Thaddeus Crews cb4b6883cb Merge pull request #120191 from dalexeev/gds-prevent-error-spam-for-ct-eval
GDScript: Prevent error spam during compile-time evaluation of some functions
2026-06-22 08:29:43 -05:00
Martin Tomanek 9b0d85c3a0 GDScript LSP: Convert [color] BBCode to <span> HTML for capable clients 2026-06-22 14:18:59 +02:00
Thaddeus Crews f964fa714f Merge pull request #118575 from DeeJayLSP/gdtype-name-hierarchy
Exchange use of `ClassDB::is_parent_class()` with `Object::is_class()` where possible
2026-06-19 15:09:27 -05:00
Thaddeus Crews eb098a2ae7 Merge pull request #118957 from DeeJayLSP/gds-redundant-cleardata
Remove redundant `ClearData` struct from `GDScript`
2026-06-19 15:09:21 -05:00
Thaddeus Crews ef79fa3fc0 Merge pull request #117946 from HolonProduction/editor-language-kickoff
Introduce `EditorLanguage` and move `ScriptLanguage::complete_code` into it.
2026-06-19 15:09:19 -05:00
Thaddeus Crews 77faa60a90 Merge pull request #118221 from HolonProduction/completion-autoload-copy
Autocompletion: Remove unnecessary `HashMap` copy
2026-06-19 12:05:57 -05:00
Danil Alexeev 998ed7355a GDScript: Fix incorrect detection of base doc class name 2026-06-19 16:45:34 +03:00
Edward Chan 265f220073 Fixed inconsistent tooltip for GlobalScope constants. 2026-06-19 18:21:16 +08:00
Thaddeus Crews 0dd6299f71 Merge pull request #117991 from NoctemCat/clear_base_before_next
GDScript: Clear base script in `GDScript::clear`
2026-06-18 15:14:20 -05:00
Thaddeus Crews 685c3eedb7 Merge pull request #104014 from precup/relative_path_fix
Account for relative extends paths in a GDScript utility function
2026-06-18 15:14:18 -05:00
Thaddeus Crews e9b080715c Merge pull request #93325 from rune-scape/gds-wrong-file-error
GDScriptFunction: Fix wrong file in errors
2026-06-18 15:14:17 -05:00
Thaddeus Crews ab0a9627e2 Merge pull request #118616 from aurpine/fix-print_match_pattern-dictionary-key-only
Fix TreePrinter for match dictionary pattern with no value
2026-06-18 15:14:16 -05:00
Thaddeus Crews 8abf31dd55 Merge pull request #119936 from HolonProduction/gdscript/unexposed
GDScript: Don't register unexposed classes as constants
2026-06-18 15:14:15 -05:00
Thaddeus Crews 867f7dadeb Merge pull request #115461 from HolonProduction/gdscript/noroutine
GDScript: Prevent function states from leaking into typed temporaries, when overwriting with coroutines
2026-06-18 15:14:14 -05:00
Thaddeus Crews f2c10060d2 Merge pull request #114664 from kitbdev/fix-gdscriptcache-test-solo
Fix GDScriptCache test failing when run by itself
2026-06-18 13:15:28 -05:00
Danil Alexeev 43714db9a6 GDScript: Prevent error spam during compile-time evaluation of some functions 2026-06-11 15:04:40 +03:00
HolonProduction 8f831c0803 LSP: Fix gdscript_client/changeWorkspace notification 2026-06-10 12:27:17 +02:00
HolonProduction 11c832dced GDScript: Don't register unexposed classes as constants 2026-06-08 20:51:49 +02:00
Thaddeus Crews 09522aea1c Merge pull request #120028 from HolonProduction/gdscript/blacklist-internal-classes
GDScript: Exclude `globals` internal classes in the analyzer
2026-06-08 09:12:04 -05:00
HolonProduction 5a017a1f5e GDScript: Exclude globals internal classes in the analyzer 2026-06-06 10:38:32 +02:00
Thaddeus Crews 3515ae6282 Merge pull request #115820 from Ivorforce/gdscript-general-guidelines
Migrate GDScript design guidelines to the contributing docs.
2026-06-05 09:24:41 -05:00
Danil Alexeev cdee474528 GDScript: Remove unused code in GDScriptFunctionState 2026-06-01 16:43:03 +03:00
Danil Alexeev cdbaa55014 GDScript: Use GDSOFTCLASS for some internal classes 2026-06-01 14:51:10 +03:00
Danil Alexeev e4034355de GDScript: Move stack cleanup after resumed coroutine completion 2026-05-25 23:06:45 +03:00
HolonProduction 29dbe024c9 GDScript: Register GDScriptFunctionState with ClassDB 2026-05-08 23:58:46 +02:00
Thaddeus Crews bc3bc82706 Merge pull request #119210 from dalexeev/gds-compat-get-property-list
GDScript: Preserve compatibility for untyped return of `_get_property_list()`
2026-05-06 14:56:31 -05:00
HolonProduction 040ebdd9e1 Autocompletion: Remove unnecessary HashMap copy 2026-05-05 09:54:48 +02:00
Danil Alexeev 30f2a30f9b GDScript: Preserve compatibility for untyped return of _get_property_list() 2026-05-05 10:47:07 +03:00
Thaddeus Crews f1e8491c16 Merge pull request #118979 from HolonProduction/lsp/annoation-identifier-crash
LSP: Fix crash in `find_usages_in_file` by correctly resolving annotation names
2026-05-04 12:40:41 -05:00
HolonProduction 623809d89e Introduce EditorLanguage and move ScriptLanguage::complete_code into it. 2026-05-01 10:58:14 +02:00
kobewi f3a7c7d8a1 Better clarify assert behavior 2026-04-28 16:38:49 +02:00
NoctemCat 0388291526 Clear base script in GDScript::clear 2026-04-28 00:08:57 +09:00
HolonProduction 612475a680 GDScript: Track columns by raw string offsets 2026-04-26 21:32:46 +02:00
HolonProduction 0813b357d2 LSP: Fix crash in find_usages_in_file by correctly resolving annotation names 2026-04-26 19:02:11 +02:00
DeeJayLSP 01dcf6a139 Remove redundant ClearData struct from GDScript 2026-04-25 16:42:54 -03:00
Thaddeus Crews e998e94ff1 Merge pull request #118002 from dalexeev/gds-warn-confusable-temp-mod
GDScript: Add `CONFUSABLE_TEMPORARY_MODIFICATION` warning
2026-04-21 08:48:12 -05:00
Danil Alexeev 8299b03c1a GDScript: Fix type deduction for functions without return statements 2026-04-19 12:11:58 +03:00
DeeJayLSP d376b20bef Exchange use of ClassDB::is_parent_class() with Object::is_class() where possible 2026-04-16 12:37:47 -03:00
aurpine 282f873e40 Fix match dictionary no value print_match_pattern 2026-04-15 14:03:11 -04:00
Thaddeus Crews 935e7bc10e Merge pull request #118421 from KoBeWi/to_be_or_not_to_be
Check for class existence before getting enum constants
2026-04-13 11:45:59 -05:00
kobewi b223598200 Check for class existence before getting enum constants 2026-04-12 12:39:06 +02:00
HolonProduction 97091c639b Deprecate ScriptLanguage::instance_has 2026-04-10 20:00:34 +02:00