Hi, m kinda new on Godot so here my question I want to run my script from vs code but when I create a JSON file in order to do it. I have an error messahage Like the following:
The terminal process failed to launch: Path to shell executable “C:\Godot\Projects Godot<insert-godot-executable-path-here>” does not exist.
But where do I find my godot executable path. THANKS for all who try to help in advance.
(And also if you know a discord about godot in order to help other or to be help i would love to join it) so to conclude ASAP BRO
![image|384x500](upload://dSoYkvewqAfCm8l1phPRDMtdMVp
I didn’t get it, how do I know where to write “where” be cause when I do that i just have my current path so it’s not really usefull. In fact I don’t really know if I do that it’ll help me. I just assume that from the Json file where it’s written “insert… here”,so if you have other solution I take it.
(what’s mean “E.G. where godot”)
If you want to use VS Code as your editor for Godot, your best bet is to first install the extension godot-tools. This adds syntax highlighting for GDScript and Resources/Scenes, plus, it lets you debug a GDScript as if it was run via the Godot editor. Copy/paste publisher:"Geequlim" godot-tools into the extensions tab and make sure it’s installed and enabled. Then, you can configure your launch options like this:
{
"version": "0.2.0",
"configurations": [
{
"name": "Run Game", // Name it anything you like
"type": "godot", // This type is added by the godot-tools extension
"request": "launch"
},
]
}
Oh, I see. You’re using C# within there. On the Godot C# extension’s page, scroll down to the help section on where to put your Godot path. Where it says , you should replace it with the full path name of the actual godot.exe.
Development is a very, very long learning process, and there’s a lot of fundamentals that need to be learned before you can truly grasp everything as a whole.
As a first topic, I suggest looking up how to work with path names in Windows. learning about the commands cd (change directory) and dir (list path names in Windows) would be very helpful.
just here for me I think but when I put the full path (also for me it’s the path of the directory and not the file.
Also in my json file that dosen’t work when i put the path that put some letter in red like it’s an error whereas it’s a str i don’t understand json, file aren’t encode in utf-8 ?
(The image is in the next reply)
So the full path of the folder of my godot exe is : C:\Godot\Godot_v4.2.2-stable_mono_win64\Godot_v4.2.2-stable_mono_win64
(btw the double folder stable…win64 it’s not an error i dont know but when i extract my .zip folder i had this double folder stable…win64)
then i did like you said i add the file with .exe and also change the direction of my slash like in yours json file. (but stil doesn’t work )
Also I want to add that I’m not really sure even if it’s the good path that will alow me to run godot from my vs code I just assumed it because I don’t see anything else maybe there is an other way.
(If you have time to explain, it would be easier on discord so I have a notification and we can also call each other if necessary. ,my nametag: hampen94)
That’s the problem, I don’t get an error when I run my json file, nothing happens. That’s what I said, I don’t really know why it doesn’t work, I just assumed that was the problem.