Daelon Suzuka
5bfe853f8c
Multiple highlighting improvements ( #506 )
...
* binary int notation
* `_` spacers in numeric literals
* fixed several instances of incorrect case insensitivity
* @"a", &"b", ^"c", and r"d" style string literals
2023-10-13 01:06:25 -04:00
Daelon Suzuka
df386efa54
Add Godot 4 support to the Scene preview panel ( #451 )
2023-03-14 18:13:32 +01:00
Daelon Suzuka
3ce256379f
Fix various syntax highlighting problems ( #441 )
2023-03-14 18:10:54 +01:00
Daelon Suzuka
5a67e4c78d
Fix errors in grammar syntax ( #416 )
2022-10-26 01:47:31 +02:00
Daelon Suzuka
fb82ef69e5
Fix incorrect highlighting in dictionary literals ( #419 )
2022-09-09 17:59:58 +02:00
Daelon Suzuka
441873eb6d
Fix internal document link handling ( #410 )
...
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro >
2022-08-22 02:13:01 +02:00
Daelon Suzuka
dfe23195eb
Fix various highlighting errors ( #407 )
...
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro >
2022-08-21 21:46:41 +02:00
Daelon Suzuka
ef450cad38
Fix OS singleton being incorrectly highlighted as a constant ( #402 )
2022-08-07 08:09:09 +02:00
Daelon Suzuka
ec95c21b84
Add highlighting support for %Unique nodes in NodePaths ( #403 )
...
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro >
2022-08-06 09:07:31 +02:00
Daelon Suzuka
6dc5a8293f
Update gdshader syntax ( #397 )
...
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro >
2022-08-06 08:52:59 +02:00
Daelon Suzuka
868ec5116f
Fix func keyword highlighting ( #398 )
2022-07-23 02:31:31 +02:00
Daelon Suzuka
e539a4e7a9
Replace temporary .gdshader syntax with more extensive support ( #360 )
2022-07-21 00:09:16 +02:00
oidro
94e5a9e95d
Fix operator syntax highlighting when next to an opening parenthesis ( #375 )
2022-06-02 23:37:33 +02:00
Daelon Suzuka
fb96098c70
Fix keywords being incorrectly highlighted as function calls ( #353 )
2022-04-28 01:16:44 +02:00
Daelon Suzuka
2cfbed2dad
Fix syntax highlighting edge cases ( #350 )
...
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro >
2022-04-22 15:35:36 +02:00
Daelon Suzuka
5e0d108953
Add missing NodePath-using functions ( #348 )
2022-04-18 23:37:06 +02:00
Daelon Suzuka
78e37e8016
Overhaul syntax highlighting ( #342 )
...
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro >
2022-04-11 18:33:16 +02:00
Adam Chyb
854ec42027
Fix some $ node path shorthand regex bugs in syntax highlighting ( #340 )
2022-04-05 16:57:49 +02:00
oidro
ee80ea914b
Improve syntax highlighting ( #330 )
...
This pull request makes the syntax highlighting of GDScript more closely match
the built-in Godot editor's, as well as VSCode's Python syntax highlighting.
2022-03-19 17:02:10 +01:00
Vlad-Zumer
29f1bc0ceb
Change $ node path shorthand regex to match only valid paths ( #276 )
...
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro >
2021-06-15 18:39:29 +02:00
Vlad-Zumer
338b6ae977
Added 'in' to the list of keywords and added rule for $ shorthand ( #274 )
2021-06-14 00:23:46 +02:00
iammrtndev
f2a6288276
Add "remote" keyword for highlighting ( #257 )
...
"remote" is currently not highlighted. https://imgur.com/WkP9STd
2021-02-07 16:57:48 +01:00
Nils "Linkpy" Reid
e60d081927
Fixed the syntax of the escaped characters in strings ( #247 )
2020-10-28 15:16:03 +01:00
Francois Belair
3a112f2f79
Move grammar from configurations to syntaxes directory ( #228 )
...
This enables Github's linguist to pick up on an up to date GDScript
grammar file and better highlight GDScript files on Github without
impacting the extension's functions.
2020-09-08 16:43:15 +02:00