|Topic was automatically imported from the old Question2Answer platform.
Since I am using C#, the in-built script editor is no good. I have set “Mono → Editor → External Editor” to Visual Studio Code. The problem is that now whenever I double-click a “tscn” file in the FileSystem panel, if the “tscn” file has a script, or click the “Open in Editor” button next to a sub-scene, Visual Studio Code gets launched and steals focus from the Godot Editor.
Is this a bug? If not, is there any way to stop this behaviour? I do not always want to edit the script when I open a scene.
When you open up a scene, any attached scripts are opened in the editor. Since you are using an external editor, Visual Studio is used instead. There may be a setting which stops the editor from opening any attached scripts. But I’m not at my computer ATM to check.
Ertain | 2020-06-19 11:15