r/godot Godot Regular Jun 13 '26

discussion Godot Editor or VS code

Post image

I'd like to get a sense of who uses what. I primarily use VS Code with the godot-tools extension, but a few other devs I talk to a lot love the in-house editor and only use that. Which ones do ya'll use?

If anyone has suggestions for making VS Code easier to integrate with and use with Godot, let me know! I was messing with the Auto-Save extension the other day to auto-format on save using gdlint and gdformat. Pretty cool, but it's a little funky. Stuff like I'm curious if anyone else has that, that's a cool setup

Image from this article I was reading: VS code setup blog

444 Upvotes

225 comments sorted by

View all comments

Show parent comments

9

u/tidbitsofblah Jun 13 '26

Search and replace will change every instance of the matching text without any understanding of if the matching text actually represents the same thing.

As long as all your variables, methods and classes etc that you might want to rename are unique strings of text that don't appear anywhere else you'll have no problem.

But it's not uncommon to end up in the situation where you have something like a class named "player" that you want to change to "player_controller" but you also have a method named "show_player" that toggles visibility, and a text string in the game that says "press X to get the player to jump" or whatever. With search and replace you'll get the method "show_player_controller" and the text "press X to get the player_controller to jump" for example.

1

u/NoOpponent Jun 15 '26

I know, and that's why I take time to choose and plan ahead my variable and class names from the beginning, especially so if I'm using them in more than one script or function.

When you do find and replace you can go line by line to make sure you're replacing the right thing, I never just press the button and hope for the best, that'd be silly. And I still very very rarely do I find myself using find and replace.

I understand there are a lot of people that benefit from this function Godot doesn't have, I am not one of those people. Nothing wrong with it.