HolonProduction
1aed7cefdd
LSP: Fix repeated restart attempts
...
(cherry picked from commit 400c77f170
)
2025-10-06 09:51:41 -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
Thaddeus Crews
b432e108d5
Merge pull request #109791 from Talkashie/master
...
Typo cleanup pass
2025-08-21 18:39:37 -05:00
Arti Chhabra
e7214c229b
Fix the issue by resetting the reloading false first and then returning error directly instead of calling Macro
...
Fix the review comment
Fix the clang format
Update as per review comment
2025-08-21 13:13:11 -07:00
Thaddeus Crews
fc245d69d2
Merge pull request #109304 from HolonProduction/parse-annoation-early-end-stop
...
GDScript: Don't stop annotation argument parsing at file end
2025-08-20 12:07:16 -05: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
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
0e92dc7b8c
GDScript: Don't stop annotation argument parsing at file end
2025-08-04 17:28:45 +02:00
HolonProduction
926cab9027
Autocompletion: Push empty call for lambdas
2025-07-25 20:26:26 +02:00
Thaddeus Crews
8acc596bcf
Merge pull request #108944 from vnen/gdscript-fix-static-call-fail-when-shadowing
...
Properly detect native class on static call optimization
2025-07-25 11:08:14 -05:00
George Marques
38f8643b00
GDScript: Properly detect native class on static call optimization
2025-07-25 09:17:39 -03:00
Thaddeus Crews
598409b727
Merge pull request #108947 from mihe/gdscript-reload-crash
...
Fix crash when GDScript scripts are reloaded during initial import
2025-07-24 20:49:42 -05: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
Mikael Hermansson
809a6cf705
Fix crash when GDScript scripts are reloaded during initial import
2025-07-24 16:41:33 +02: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
kit
7e9e3b767c
Fix some Text Editor theme issues and clean up
2025-07-15 13:43:30 -04: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
9b22b41531
Merge pull request #105087 from HolonProduction/lsp-annotations
...
LSP: Extract annotations from `EditorHelp`
2025-07-03 12:21:28 -05:00
Thaddeus Crews
89809f2b72
Merge pull request #108140 from HolonProduction/lsp-init-delay
...
LSP: Don't poll during editor setup
2025-07-03 12:21:20 -05: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
Thaddeus Crews
75751c0066
Merge pull request #106790 from limbonaut/linked-call-stack
...
GDScript call stack as reverse linked list with fixed coroutines
2025-07-01 17:57:51 -05:00
Thaddeus Crews
2cf48a97b9
Merge pull request #101536 from xsellier/gdscript_crash_modulo
...
Fix crash when using a modulo operator between a float and an integer
2025-07-01 17:57:48 -05:00
HolonProduction
4d7c5f9172
LSP: Don't poll during editor setup
2025-06-30 13:53:07 +02:00
Serhii Snitsaruk
a095c5e3fa
GDScript call stack as reverse linked list with fixed coroutines
...
* GDScript call stack as reverse linked list with issues fixed
(originally proposed in 91006).
* Fix coroutine issues with call stack by resuming async call chain
inside `GDScriptFunction::call()`.
* This fixes corrupted line numbers for coroutines in the debugger and
backtrace (106489).
Co-authored-by: Juan Linietsky <reduzio@gmail.com>
2025-06-30 11:37:42 +02:00
Danil Alexeev
c8bb21e68b
GDScript: Fix GDScriptLanguage::make_function()
2025-06-28 13:39:59 +03: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
Thaddeus Crews
4a90220fc9
Merge pull request #107852 from HolonProduction/completion-filter-current-impl
...
Autocompletion: Don't filter overrides when the existing function is the current one
2025-06-27 09:39:52 -05:00
kobewi
015cc38912
Mark GDScript and shader warnings for translation
2025-06-24 23:11:56 +02:00
Thaddeus Crews
6277e9d02b
Merge pull request #93429 from dalexeev/fix-method-signature-appearance
...
GDScript: Fix call hint appearance for complex callees
2025-06-24 09:58:49 -05:00
Thaddeus Crews
7ea1b3aabb
Merge pull request #105801 from dalexeev/gds-update-stack-funcs
...
GDScript: Update `get_stack()`, `print_stack()`, and `print_debug()`
2025-06-24 09:58:47 -05:00
Thaddeus Crews
d97d8c16e7
Merge pull request #107663 from mihe/script-break-error
...
Fix errors not being emitted when debugger breaks on script errors
2025-06-24 09:58:38 -05:00
Aaron Franke
1085200f51
GDScript: Replace abstract
keyword with @abstract
annotation
...
Co-authored-by: Danil Alexeev <dalexeev12@yandex.ru>
2025-06-23 12:24:45 -07:00
Danil Alexeev
a59587c308
GDScript: Fix double spaces for type hints when connecting signal
2025-06-23 21:46:03 +03:00
Danil Alexeev
fbede89573
GDScript: Fix call hint appearance for complex callees
2025-06-23 19:28:48 +03:00
HolonProduction
991c1a85a9
Autocompletion: Don't filter overrides when the existing function is the current one
2025-06-22 16:25:36 +02:00
elenakrittik
2253c0f470
Add a note about Object._init
and required parameters in relation to @rpc
2025-06-21 11:05:24 +02:00
HolonProduction
d55883b4b1
LSP: Fix file URI handling + warn about workspace project mismatch
2025-06-18 19:54:50 +02:00
Mikael Hermansson
1b7b44390a
Fix errors not being emitted when debugger breaks on script errors
2025-06-18 11:52:26 +02:00
HolonProduction
49e8d3ff98
Autocompletion: Don't use next
for GET_NODE inference
2025-06-17 17:03:59 +02:00
HolonProduction
242b5efd9d
Autocompletion: Fix type resolution when assigning variant
2025-06-15 20:17:19 +02:00
HolonProduction
4c72a531e4
Highlighting: Improve enum support
2025-06-15 19:41:13 +02:00
HolonProduction
af54b13603
Autocompletion: Add support for global enums
2025-06-15 19:41:13 +02:00