97b1bc6bda
Autocompletion: Don't call const functions
2025-08-05 09:03:10 +02:00
926cab9027
Autocompletion: Push empty call for lambdas
2025-07-25 20:26:26 +02:00
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
d4abc211f1
GDScript: Fix autocompletion issues with nested types
2025-07-08 14:48:21 +02:00
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
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
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
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
ebc36a7225
Merge pull request #107717 from aaronfranke/abstract-annotation
...
GDScript: Replace `abstract` keyword with `@abstract` annotation
2025-06-27 17:12:56 +02:00
1085200f51
GDScript: Replace abstract keyword with @abstract annotation
...
Co-authored-by: Danil Alexeev <dalexeev12@yandex.ru >
2025-06-23 12:24:45 -07:00
991c1a85a9
Autocompletion: Don't filter overrides when the existing function is the current one
2025-06-22 16:25:36 +02:00
49e8d3ff98
Autocompletion: Don't use next for GET_NODE inference
2025-06-17 17:03:59 +02:00
242b5efd9d
Autocompletion: Fix type resolution when assigning variant
2025-06-15 20:17:19 +02:00
af54b13603
Autocompletion: Add support for global enums
2025-06-15 19:41:13 +02:00
a7cf2069d5
GDScript: Add abstract methods
...
Co-authored-by: ryanabx <ryanbrue@hotmail.com >
2025-06-09 20:11:58 +03:00
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
fc4df4b17d
Added working version for user-defined function autocompletion
2025-06-08 07:01:35 -03:00
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
3f0ff0417c
Autocompletion: Remove additional brace from utility function options
2025-04-15 13:25:28 +02:00
4a0e40f6ea
GDScript: Do phrase level recovery for match
2025-04-15 13:00:43 +02:00
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
e7487263ad
Autocompletion: Don't add parenthesis if Callable is expected
2025-04-10 18:40:32 +02:00
b67dcb21fd
GDScript: Return early when parsing invalid super call
2025-03-24 17:40:26 +01:00
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
ca1e444bca
GDScript: Do phrase level recovery when parsing faulty dictionaries
2025-03-06 11:35:56 +01:00
24912d2010
Autocompletion: Try to guess method return type even if subscript base has no value
2025-01-11 23:50:43 +01:00
ae853e1a42
Improve GDScript autocompletion for methods
2024-11-22 18:24:45 +08:00
a389eb4608
Add back AnimationPlayer.get_argument_options
2024-11-15 13:06:59 +01:00
2525311538
Remove unneeded quotes from autocomplete % nodes
...
Removes unnecessary quotes for suggestions like $"%MyNode".
2024-09-07 17:49:20 +03:00
171c522290
Autocompletion: reintroduce enum options on assignment
2024-08-30 13:46:48 +02:00
c824403853
Autocompletion: enable string literal completion in subscripts
2024-08-27 13:02:09 +02:00
0abd0ae364
Autocompletion: rework argument options string literal completion
2024-07-08 17:53:36 +02:00
5ac2631af7
Merge pull request #92688 from HolonProduction/autocompletion-batch-2
...
Add more autocompletion tests
2024-06-21 10:14:13 +02:00
51f74af2ac
Autocompletion: Add support for string name option in more places
2024-06-12 20:38:43 +02:00
48e297c144
Add more autocompletion tests
2024-06-02 15:52:21 +02:00
7d03b1de0b
Style: Trim trailing whitespace and ensure newline at EOF
...
Found by apply the file_format checks again via #91597 .
2024-05-08 10:12:46 +02:00
6b28cb6721
Merge pull request #89884 from HolonProduction/tests-batch-2
...
Completion Tests: Add script to owner
2024-04-23 19:10:57 +02:00
9a9045cf7a
Merge pull request #89382 from dcaoc03/master
...
Fix enum autocompletion for core classes
2024-04-09 22:25:13 +02:00
d2c2194937
Completion Tests: Add script to owner
2024-03-25 16:17:44 +01:00
935ea10f3a
Fixed enum autocompletion for core classes (Issue #88858 )
...
Minor fix consisted in the use of [[fallthrough]] macro
2024-03-15 20:20:36 +00:00
a2e7c64dc4
Cleanup
2024-03-01 13:06:37 +01:00
1f42455e0a
Debugging additions
2024-03-01 11:38:49 +01:00
fc7d7d3dae
Add test for get_node autocompletion
2024-03-01 11:24:06 +01:00
92a7c26806
Allow specifying a scene in completion tests
2024-01-08 22:38:41 +01:00
af4cbaf751
Add unit test runner for autocompletion
2024-01-05 17:49:51 +01:00