How to Use VS Code with Godot!

preview_player
Показать описание
Hey guys!
Here's a quick tutorial on connecting VS Code to Godot!

Godot Exec Flags: {project} --goto {file}:{line}:{col}

Thanks for watching, hope you have a great week! :)

Join this channel to get access to perks:

MY SETUP:

DISCLAIMER: The above links are affiliate links, which means that if you click on one of the product links, I’ll receive a small commission. Thanks for your support! :)
Рекомендации по теме
Комментарии
Автор

For any other Linux users here, while VSCode can be installed as a Flatpak, I don't think this works if Godot is installed in that format
I mean, you can probably make it work somehow by giving it the right permissions, but just simply giving it file access to the VSCode executable didn't work for me so I just downloaded the normal binary from the website, which worked perfectly fine and the same as in the video

DisasterVae
Автор

This was a fantastic help, I spent a few hours trying to figure out why I couldn't open VS code from in the engine just to see my executable path was going to a shortcut, not the actual .exe, and this is the first tutorial that showed how to actually add it and helped me locate it, thank you so much

brandong
Автор

Thanks! And if any of you get an error "Could not create child process" after running this tutorial you have to set VS code to NOT run as an administrator

nagwarg
Автор

What i want to note there, we spend over a minute of VS Code preperations, and 1.5s on where to go in the settings.

KenjiVdusc
Автор

this is super helpful! i'll be sure to refer this video to my friends

crowlovercicada
Автор

Thanks, no other tutorial showed setting up the network settings. So got it working properly now.

Think I'll edit in Godot, and then toggle the VSCode only only to refactor. (Although they're currently developing the ability to refactor in the Godot editor, so won't have to use VSCode soon for variable/function renaming, unless ofc you use C#)

Also, what do you use to edit your videos?

YulRun
Автор

Thanks!!! This was super helpful! Much better than Godot 4.1 external code window! :)

SamiO-simc
Автор

excellent video mate! thanks for sharing

sonny
Автор

OMG thanks bruh worked for my godot 3.5. Didnt understand a thing in the official docs 😂

brucelee
Автор

Thank you for making this video. Now I can code in my crappy laptop without it going to the temperature of the sun cause it is trash :D

FIRWORKFW
Автор

Does using VSCode mean you can do actual code refactoring (rather than just find/replace like in the Godot Editor)?

SeanMcKenzie
Автор

May I ask what editor theme are you using for Godot? Those rounded shapes look really neat.

shaugnmarc
Автор

Do you recommend any specific themes for VSCode for Godot? :)

hakej
Автор

Thank you! Also, you sound a bit like Carl Sagan, lol

siddarth_vader
Автор

hey, i'v done this but the connexion between godot and vs code is very laggy, im on linux, do you have any clue about how i could solve this?

oroshi
Автор

why does your vscode look so elegant?😅 is it just some vscode theme or what?

chetanchandel
Автор

One thing that vscode is inferior at though is documentation. Weird formatting is one thing, but it just straight up crashes sometimes for some reason. Other than that it's great.

MerrStudio
Автор

May I ask what's your vsc code file manager theme ? Looks neeet

jodyeclothing
Автор

But you still debug from Godot, right?
I thought maybe I would open Godot and VSCode and use them simultaneously. Do you think it is an ok idea or completely useless?

JohnSmith-one
Автор

2:39 If visual studio code came pre installed on your computer when you first got it then what should you do? im having this problem and I cant find the file I installed it with because it came pre installed

solgamerworld