Danil Alexeev
a13fbc6e3e
GDScript: Optimize non-constant for-range
2025-06-09 22:04:39 +03:00
Thaddeus Crews
86415f1732
Merge pull request #99150 from dalexeev/gds-fix-callable-call-errror-text
...
GDScript: Fix `Callable` call error text
2025-06-09 12:31:39 -05:00
Danil Alexeev
a7cf2069d5
GDScript: Add abstract methods
...
Co-authored-by: ryanabx <ryanbrue@hotmail.com >
2025-06-09 20:11:58 +03:00
Rémi Verschelde
fb59a99244
Merge pull request #106198 from SatLess/User-Func-Autocomplete
...
Add code completion for user-defined methods when overriding in GDScript
2025-06-09 00:44:22 +02:00
Sat
fc4df4b17d
Added working version for user-defined function autocompletion
2025-06-08 07:01:35 -03:00
Rémi Verschelde
0518bd5fee
Merge pull request #106683 from dalexeev/gds-remove-leftmost-rightmost-column
...
GDScript: Remove `leftmost_column` and `rightmost_column` fields
2025-06-05 13:12:02 +02:00
Lukas Tenbrink
a6664af0d6
Fix infinite recursion on GDScriptTests if a script cannot be reloaded.
2025-05-30 21:33:35 +02:00
Thaddeus Crews
eef13d5ae7
Merge pull request #105347 from HolonProduction/lsp-utf8
...
LSP: Account for unicode identifiers
2025-05-28 09:47:29 -05:00
Thaddeus Crews
63dff62948
Merge pull request #100673 from RandomShaper/res_duplicate
...
Overhaul resource duplication
2025-05-27 09:39:25 -05:00
Pedro J. Estébanez
6841b45552
Add tests for resource duplication
2025-05-26 17:05:04 +02:00
Thaddeus Crews
ee82adcf04
Merge pull request #105413 from HolonProduction/gdscript-recover-match
...
GDScript: Do phrase level recovery for match
2025-05-23 09:46:10 -05:00
Danil Alexeev
7aafa6ef18
GDScript: Remove leftmost_column and rightmost_column fields
2025-05-21 18:16:20 +03:00
Thaddeus Crews
1c4b660312
Merge pull request #96611 from Dynamic-Pistol/master
...
Add `PROPERTY_HINT_INPUT_NAME` for use with `@export_custom` to allow using input actions
2025-05-13 16:22:25 -05:00
Thaddeus Crews
b59d6bea4f
Merge pull request #67777 from aaronfranke/virtually-annotated
...
Add a keyword for abstract classes in GDScript
2025-05-13 16:22:16 -05:00
Thaddeus Crews
6d3f91896d
Merge pull request #104729 from Meorge/bugfix/warning-grammar-fixes
...
Fix a few GDScript warning messages for grammar and consistency
2025-05-07 12:48:25 -05:00
Malcolm Anderson
d8db03e31a
Fix a few GDScript warning messages for grammar and consistency
...
Regenerate test results
Improve warning message for `INT_AS_ENUM_WITHOUT_CAST`
Improve `REDUNDANT_AWAIT` message and regenerate tests
Allow warning message for UNASSIGNED_VARIABLE_OP_ASSIGN to display specific operator
Remove "being" from some messages to make them consistent and clearer
Update expected test results
Use Variant::get_operator_name for determining string representation of operator instead of big switch-case
Update tests
Update modules/gdscript/gdscript_warning.cpp
Co-authored-by: Danil Alexeev <dalexeev12@yandex.ru >
Update tests... again
2025-05-06 20:28:01 -07:00
kit
6d56d2d05e
Fix tests that fail when alone
2025-05-06 13:48:16 -04:00
Danil Alexeev
2b30f23595
GDScript: Fix Callable call error text
2025-05-02 18:30:35 +03:00
Aaron Franke
067704f1cd
Add a keyword for abstract classes in GDScript
...
Co-authored-by: Danil Alexeev <danil@alexeev.xyz >
2025-05-02 00:03:04 -07:00
Thaddeus Crews
83d98f02e3
Merge pull request #105415 from HolonProduction/hardcoded-braces
...
Autocompletion: Remove additional parenthesis from utility function options
2025-04-29 11:24:06 -05:00
Malcolm Anderson
5c662f7707
Add errors for keywords removed in Godot 4
...
Update modules/gdscript/gdscript_parser.cpp
Co-authored-by: Danil Alexeev <dalexeev12@yandex.ru >
Improve error message
Add tests
Add errors for other removed keywords
Remove very old keywords and improve wording of errors
2025-04-24 22:32:34 -07:00
Thaddeus Crews
5d697c31c1
Merge pull request #78837 from dalexeev/gds-const-array-and-dict-constructors
...
GDScript: Add constant `Array` and `Dictionary` constructors
2025-04-24 09:09:29 -05:00
Dynamic-Pistol
c8fed1e1d0
Add PROPERTY_HINT_INPUT_NAME
...
Added PROPERTY_HINT_INPUT_NAME for StringName based off https://github.com/godotengine/godot-proposals/discussions/7559
2025-04-23 22:23:44 +02:00
Lukas Tenbrink
91fe434a86
Always use String as StringName backing internally.
2025-04-23 14:57:03 +02:00
HolonProduction
3f0ff0417c
Autocompletion: Remove additional brace from utility function options
2025-04-15 13:25:28 +02:00
HolonProduction
4a0e40f6ea
GDScript: Do phrase level recovery for match
2025-04-15 13:00:43 +02:00
HolonProduction
e213737d66
LSP: Account for unicode identifiers
2025-04-15 09:51:50 +02:00
Thaddeus Crews
bef5d1e4f8
Merge pull request #102218 from HolonProduction/dictionary-recovery
...
GDScript: Do phrase level recovery when parsing faulty dictionaries
2025-04-14 19:39:50 -05:00
Thaddeus Crews
9e158215d1
Merge pull request #96375 from HolonProduction/completion-callable-braces
...
Autocompletion: Don't add parenthesis if `Callable` is expected
2025-04-10 16:53:45 -05:00
Nolkaloid
c1cdaf7b16
Add gdscript tests for callv with const arrays
2025-04-10 23:13:01 +02:00
HolonProduction
e7487263ad
Autocompletion: Don't add parenthesis if Callable is expected
2025-04-10 18:40:32 +02:00
A Thousand Ships
889410dcda
Add String::replace_char(s) methods for performance and convenience
2025-04-10 13:08:45 +02:00
Thaddeus Crews
4248411baf
Merge pull request #102521 from HolonProduction/cancel-await
...
GDScript: Cancel suspended functions when reloading a script
2025-04-08 12:32:52 -05:00
Danil Alexeev
7721e13a92
GDScript: Add constant Array and Dictionary constructors
2025-03-31 21:31:34 +03:00
Kiro
23129a66ed
Replace append_utfx with direct String::utfx
2025-03-30 19:56:38 +02:00
Lukas Tenbrink
ffa6ef220b
Use append_ instead of parse_ for String methods.
2025-03-27 17:51:02 +01:00
Thaddeus Crews
c687e4f692
Merge pull request #104509 from HolonProduction/completion-super-method
...
GDScript: Return early when parsing invalid super call
2025-03-24 15:27:26 -05:00
HolonProduction
b67dcb21fd
GDScript: Return early when parsing invalid super call
2025-03-24 17:40:26 +01:00
Thaddeus Crews
1cb3cfaa8e
Style: Convert namespaces to PascalCase
2025-03-23 19:10:24 -05:00
Thaddeus Crews
b377562b52
Merge pull request #91660 from AThousandShips/methodinfo_vec
...
[Core] Use `Vector` for `MethodInfo::arguments`
2025-03-14 10:06:13 -05:00
Thaddeus Crews
e68ac1c89d
Merge pull request #104114 from HolonProduction/lsp-spec-selection-range-round-3
...
GDScript: Fix head class range to include `class_name`
2025-03-14 10:06:11 -05:00
HolonProduction
d6da30e9c7
GDScript: Fix head class range to include class_name
2025-03-14 11:36:55 +01:00
Thaddeus Crews
6c4f17db1a
Core: Avoid including modules_enabled in headers
2025-03-11 19:42:13 -05:00
A Thousand Ships
d9721954e6
[Core] Use Vector for MethodInfo::arguments
2025-03-10 13:57:53 +01:00
Thaddeus Crews
324512e11c
Style: Replace header guards with #pragma once
2025-03-07 17:33:47 -06:00
Pablo Andres Fuente
5775d29ad8
Fix SCRIPT ERROR/ERROR/WARNING on test output
...
Also "fixing" some GDScript completion tests which
where named wrongly.
2025-03-06 13:44:48 +01:00
HolonProduction
ca1e444bca
GDScript: Do phrase level recovery when parsing faulty dictionaries
2025-03-06 11:35:56 +01:00
HolonProduction
676e4c9013
GDScript: Cancel suspended functions when reloading a script
2025-03-06 11:34:40 +01:00
Malcolm Anderson
8e8f93cf0c
Display correct symbol in warning when unique name is used without @onready annotation
...
Add tests for `GET_NODE_DEFAULT_WITHOUT_ONREADY` warning with unique nodes
Small modifications to tests
2025-02-06 10:49:08 -08:00
Pāvels Nadtočajevs
b50d9742c2
Fix is_valid_float, Variant parser, Expression parser, script highlighter, and TextServer not handing capital E in scientific notation.
2025-02-05 18:39:40 +02:00