Closed atirut-w closed 4 months ago
I don't think this is a bug. gdscript functions are defined with parentheses, so I think it's pointless to test them like this
It's not pointless if it's for the sake of consistency. Also, This is how it looks in Godot's editor:
The better metric is whether "func" is a valid identifier name. I don't think it is, which means "func" should always be a keyword.
oh !That seems to be the case. I was wrong. I'm sorry
Godot version
N/A
VS Code version
1.86.2
Godot Tools VS Code extension version
v2.0.0 (bf1d739d073c93f62abf280a7ae19d5c3054c935)
System information
Windows 11
Issue description
func
is only highlighted as keyword when there is at least one opening parenthesis on the same line:Steps to reproduce