Commit graph

715 commits

Author SHA1 Message Date
StarryWorm
357fa00a4a rm class_db.h from resource.h 2026-02-27 19:08:29 -05:00
Danil Alexeev
ba8b2a1ff0
GDScript: Fix interrupted coroutines not clearing 2026-02-24 12:04:40 +03:00
rune-scape
f3c2397e34 GDScript: Call static methods in native base class 2026-02-19 10:49:02 -08:00
HolonProduction
c416cbaf54 LSP: Fix type bind, mark as experimental, deprecate direct LSP access 2026-02-16 14:36:31 +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
Thaddeus Crews
de6a487b35
Merge pull request #115705 from dalexeev/improve-non-exported-members-remote-tree
Improve display of non-exported members in Remote Tree Inspector
2026-02-06 08:18:03 -06:00
Leonard Pop
058a46f154 Inherit parent method return types for untyped overrides 2026-02-02 21:34:37 +02:00
Danil Alexeev
376b2d8f57
Improve display of non-exported members in Remote Tree Inspector 2026-02-01 12:22:50 +03:00
Rémi Verschelde
429750f60b
Merge pull request #115093 from Ivorforce/hashmap-explicit-copy
Change copy constructors of `HashMap` and `AHashMap` from implicit to explicit
2026-01-31 22:50:51 +01:00
voylin
ea1cb8fe67 Add columns to Language Server 2026-01-31 06:22:08 +09:00
Thaddeus Crews
f5d21bfa9c
Merge pull request #113228 from dalexeev/gds-improve-const-eval-array-dict
GDScript: Improve evaluation of constant expressions with arrays/dictionaries
2026-01-26 13:14:24 -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
Lukas Tenbrink
1825e89787 Change copy constructors of HashMap and AHashMap from implicit to explicit. 2026-01-21 13:01:23 +01:00
LanzaSchneider
3ad42d859e Fix: GDScript LSP test compilation condition 2026-01-15 21:27:27 +08:00
Danil Alexeev
6d06b3a7d6
GDScript: Improve evaluation of constant expressions with arrays/dictionaries 2026-01-12 11:59:38 +03:00
Danil Alexeev
37f09e579e
Core: Fix implicit conversions in ContainerTypeValidate 2026-01-09 22:54:08 +03: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
Pāvels Nadtočajevs
1ca8f1d7f6
Update ICU to 78.1 2025-12-13 00:04:35 +02:00
Thaddeus Crews
f6b3803900
Merge pull request #109345 from HolonProduction/resource-cache-shall-shun-shallow
Prevent shallow scripts from leaking into the `ResourceCache`
2025-12-03 21:01:56 -06:00
Brian Petkovsek
0d9ff70296
Fix documentation typos and broken links 2025-11-27 12:24:58 +01: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
b4203f7f64 Prevent shallow scripts from leaking into the ResourceCache
Co-Authored-By: Moritz Burgdorff <mburgdorff@outlook.com>
Co-Authored-By: Lily <gofastlily@gmail.com>
2025-11-20 21:48:03 +01:00
Danil Alexeev
1bd7b99182
GDScript: Add debug/gdscript/warnings/directory_rules project setting 2025-11-12 12:20:34 +03:00
Thaddeus Crews
ea1aec2c1c
Merge pull request #112193 from KnifeXRage/autoload_with_uids
Autoloads with UIDs
2025-11-10 08:20:12 -06:00
Aditya Raj
d940614595 Autoloads with UIDs 2025-11-07 21:08:54 +05:30
Thaddeus Crews
ae9732139a
Merge pull request #109433 from KoBeWi/hastension
Add `has_extension()` method to String
2025-10-31 09:23:30 -05:00
Thaddeus Crews
8bc1dd63f4
Merge pull request #107936 from mihe/missing-await-warning
Add opt-in GDScript warning for when calling coroutine without `await`
2025-09-30 18:35:05 -05:00
Shadows_of_Fire
b18beb2cc2 Elide unnecessary copies in CONSTRUCT_TYPED_* opcodes 2025-09-20 00:00:18 -07:00
Thaddeus Crews
8265bb8b6a
Merge pull request #110097 from aaronp64/array_tests
Add more `Array` tests
2025-09-19 13:07:13 -05:00
Lukas Tenbrink
4c0026b053 Update links to the contributing section of the docs to the appropriate new sections. 2025-09-12 01:04:14 +02:00
aaronp64
2b855d831d Add more Array tests
Added more tests for Array, focusing on methods exposed to gdscript that didn't have tests.
2025-08-30 13:12:16 -04:00
Talkashie
bc7e68dfd1 Typos 2025-08-19 18:32:59 -05:00
Aaron Franke
b73597292b
Improve error messages for lambda functions without a body 2025-08-18 06:29:20 -07:00
kobewi
a33ae0be0e Add has_extension() method to String 2025-08-12 13:15:16 +02:00
Pāvels Nadtočajevs
b21e6529e6
[GDScript] Fix range helper method using 32-bit ints for arguments. 2025-08-08 20:22:24 +03:00
HolonProduction
97b1bc6bda Autocompletion: Don't call const functions 2025-08-05 09:03:10 +02:00
HolonProduction
926cab9027 Autocompletion: Push empty call for lambdas 2025-07-25 20:26:26 +02:00
George Marques
81c7cae567
GDScript: Don't get invalid dictionary key during completion
We try to get the value out of a dictionary in order to establish its
type for completion purposes. However, if the dictionary or the key
is not a constant, we cannot safely get the actual value, so we skip
this and just try to infer from static typing.

Getting the value directly with `Variant::get()` generate errors if the
base is a Dictionary and the key is of an invalid type. So before trying
to get it we use the Dictionary validator to make sure it we can safely
try to get the key.
2025-07-24 15:02:40 -03:00
Thaddeus Crews
25dcf7d2a0
Merge pull request #108306 from Chaosus/gds_fix_super_completion
Fix lookup symbol for `super()`
2025-07-17 10:34:48 -05:00
Thaddeus Crews
c977b597b8
Merge pull request #107872 from Thought-Weaver/users/loganapple/editor-caret-fix
[Autocomplete] Avoid prepending literals when the character has already been typed
2025-07-10 11:39:30 -05:00
Chaosus
c232b7c717 Fix lookup symbol for super() 2025-07-08 16:21:39 +03:00
HolonProduction
d4abc211f1 GDScript: Fix autocompletion issues with nested types 2025-07-08 14:48:21 +02:00
Logan Apple
216c462277 Initial fix for double caret inserting in NodePath
Additional cases where prepending doubles up

Moved code to helper function

Added unit tests

Lookup caret character instead of passing position

Switched to using the parsed type

Adding safety checks and various cleanup
2025-07-07 09:23:32 -07:00
A Thousand Ships
f11aff3841
Editor: Restructure editor code
Moving various editor files into sub folders to reduce clutter
2025-07-04 18:18:22 +02:00
Thaddeus Crews
77b680244d
Merge pull request #102186 from HolonProduction/completion-builtin-enum
Improve GDScript editor support for global enums
2025-07-03 12:21:19 -05:00
Thaddeus Crews
bad29ef0c7
Merge pull request #107636 from HolonProduction/completion-dont-use-next
Autocompletion: Don't use `next` for `GET_NODE` inference
2025-07-01 17:57:59 -05:00
Thaddeus Crews
ee5859b7ae
Merge pull request #92584 from HolonProduction/autocompletion-assign-variant
Autocompletion: Fix type resolution when assigning variant
2025-07-01 17:57:51 -05:00
Mikael Hermansson
a3e58a385f Add opt-in GDScript warning for when calling coroutine without await 2025-06-27 20:24:41 +02:00
Rémi Verschelde
ebc36a7225
Merge pull request #107717 from aaronfranke/abstract-annotation
GDScript: Replace `abstract` keyword with `@abstract` annotation
2025-06-27 17:12:56 +02:00