godotengine / godot-vscode-plugin

Godot development tools for VSCode
MIT License
1.58k stars 168 forks source link

unable to complete initial setup #428

Closed ka0s420 closed 2 years ago

ka0s420 commented 2 years ago

Godot version

4 beta 2

VS Code version

1.71.2

Godot Tools VS Code extension version

1.3.1

System information

windows 10

Issue description

When following the instructions to setup godot tools for vscode, its says to open the command palled and type "Debug: Open launch.json" - however when doing so vscode's suggestion bar shows nothing, and pressing enter does nothing. Without this step working, I can't install the addon.

Steps to reproduce

install vscode. Get the godot tools addon, open the command palette, type Debug: Open launch.json godot_tools_error_pic

ka0s420 commented 2 years ago

So a simple work around to this would be simply to add to the instructions that if no launch.json files exists, you may need to make your own. I've since done that, and found the button to load a gdscript config - none of which is mentioned in the setup instructions.

Now I'm just stuck unable to get the debugger to actually run.

atirut-w commented 2 years ago

Opening the "Run and Debug" tab from the menu on the left side and choosing "create a launch.json file" should be more convenient for you. The extension provides a launch.json preset.