rktprof

Results 10 comments of rktprof

> This is actually the intended behavior at the moment, but I can see how that's problematic for your workflow. > > There is currently another problem with child processes...

Heads up, this breaks some variable names, namely variables starting with "and" or "or" gets formatted for example: ```gdscript func _ready() -> void: var origin: Vector2 = Vector2.ZERO origin.x =...

Noticed another issue in this PR when using .rpc() Whenever you save it swaps (as in keep saving and it keeps swapping) between ![image](https://github.com/godotengine/godot-vscode-plugin/assets/56829534/2300c2cd-f3f1-4bc1-88fa-d8023cfdfd82) and: ![image](https://github.com/godotengine/godot-vscode-plugin/assets/56829534/5c11ed10-0437-42b8-937a-8624071278b8)

Another thing that is a bit odd is that I have classes call UIScreen and UIPopup and they get incorrect syntax coloring in some cases. Some comparisons between custom classes...

> > Noticed another issue in this PR when using .rpc() > > Whenever you save it swaps (as in keep saving and it keeps swapping) between > > `rpc`...

> No, you misunderstand. `rpc` is a reserved keyword in the _language_. `call` and `call_deferred` are not keywords, they're builtin functions. I would have expected `rpc()` to be an invalid...

I noticed another thing that would be nice to have; differentiating code in strings, like in this example: ![Screenshot 2024-04-29 at 11 03 16](https://github.com/godotengine/godot-vscode-plugin/assets/56829534/bd8a70e7-3d88-49b6-b2c1-549e76e0469e) The equivalent in C# is ![Screenshot...

> Wait, that's valid GDScript? I've never seen `.format()` in Godot. > > Syntax highlighting improvement is technically off-topic for this PR, but I'll look into this. Yeah sorry, I...

Would it be possible to make it add lines but never remove lines? Sometimes I like to separate blocks with more than 1 or 2 lines

> It's possible to design a formatter this way, but I don't think it's a good idea as it goes against the style guide (on top of making the formatter...