- Home /
[Solved] Unity doesn't provide the correct External Script Editor args for VSCode
So when i initiallly chose VSCode as my external script editor Unity provided the external editor args which automatically made the exclusion json file and preloaded the folder in VSCode. Then my VSCode got corrupted and after adding it as an external script editor again the external editor args only says "$(File)"
Does anyone know what went wrong here and how i can fix it? Reinstalling unity doesn't work
EDIT: I never figured out how to solve the corrupt setup, but i solved the problem by both removing unity, unity hub and all the unity data from appdata/roaming/unity and appdata/roaming/unity hub. After reinstalling and opening my .cs file from unity it automatically created the proper files like exclusion and whatnot.
Your answer
![](https://koobas.hobune.stream/wayback/20220613013916im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
OpenFileAtLineExternal always opens file with MonoDevelop and never Visual Studio? 0 Answers
Visual studio can't attach to unity editor. 7 Answers
How to compile Class Library using Visual Studio 1 Answer
Double clicking scene asset opens the asset file in visual studio 5 Answers
Difference between differrent csproj files (there are 3) in a unity editor (rider) 1 Answer