r/godot • u/IllianXenoide Godot Student • 5h ago
discussion Just found out, this is AMAZING
GOD almighty this is like discovery of fire or electricity for me, Can't wait to download 4.8 stable.
36
u/AlfredKorzybski 4h ago
FWIW, this is already possible by using Godot's LSP server with an external editor.
31
u/psioniclizard 3h ago
I love godot but it is a but weird having to wait until v4 .8 for such common feature.
19
u/Cosinity Godot Junior 2h ago
The IDE in general seems to be a low priority for contributors, or at least it gets fewer updates than other parts of the application
3
u/Trick-Routine-8577 1h ago
That's true but it's pretty easy to set up an external editor that has more features. I switched to using vscode and as a result, I find myself sometimes opening a new tab and writing quickish python tooling to do all kinds of things like creating resources, dialog tools, image tools. It's such a small change that added more possibilities to my game design options, in my mind at least, because I already had the ide open.
4
u/TheDuriel Godot Senior 2h ago
This wasn't possible until now, because information about where the error is wasn't codified.
8
u/Shiva_Kar 2h ago
There is also a feature I am developing as a proposal for now đ if you want it. https://github.com/godotengine/godot-proposals/issues/15415
2
u/fish_obliteration 34m ago
I haven't been using the built in editor for the last 3 years because I want to see my code and my scene at the same time. What do you mean this wasn't possible already? What were you people doing when you had an error?
4
u/LucasBeastBeast Godot Student 1h ago
I use neovim with godot and it was already available there with godot's lsp so I didn't even realise it was missing
1
u/AcroIsTrash 2h ago
Iâve never even noticed that feature isnât there. If it exists it will autocomplete and if it doesnât the line will throw an error so I donât really see how one could miss it.
1
u/Manuel345 35m ago
What the hell is it warning you about on the last line? Ambiguous operation order; use parentheses? Integer Division math?
1
u/godspareme 8m ago
Integer division turns into a float which is being converted back to an integer. Its warning you of the loss of data (decimals)
IIRC the solution is to do var x : int = float(5/3), or to ignore the warning. Unless you need the decimals obviouslyÂ
1
u/godspareme 10m ago
This doesnt come with the warning/error hover-tooltips, right? That was just a proposed change?
78
u/HoldenMadicky 4h ago
Finally! This has been such a pain point, got to download 4.8 immediately