Open EduardoJuliao opened 6 months ago
Yeah, that's a weird one. I tried your code with 1.3.1 and I see this:
I have no idea what's causing this for you or why I can't replicate it. The syntax highlighting has been modified a lot since 1.3.1, and I strongly suspect that this will be fixed in the next version.
Here's what your code looks like to me using the latest build (from PR #559):
I'll wait for the next version and check if it fixes or not, but it's a very weird one.
I was trying to reproduce the code and I have this, the highlight partially works
Now, if I add -> void:
, it breaks the highlight.
@EduardoJuliao Are you still experiencing this issue since the release of 2.0.0
?
Godot version
4.1.1
VS Code version
1.85.1
Godot Tools VS Code extension version
1.3.1
System information
Windows 11
Issue description
In some files the code highlight won't work and will stay at the same color:
VSCode (with github dark color scheme):![image](https://github.com/godotengine/godot-vscode-plugin/assets/6979395/67aae296-9534-46f5-8bae-02df27ccfc8e)
VSCode (with GDScript color theme):![image](https://github.com/godotengine/godot-vscode-plugin/assets/6979395/9003eb19-3fea-4d9e-b474-f7ea8c069789)
Godot:![image](https://github.com/godotengine/godot-vscode-plugin/assets/6979395/85528e95-0ffd-4ead-94d9-8024af1063e7)
Steps to reproduce
Copying the code above will have the same issue in different files