admin管理员组

文章数量:1430987

When I select Visual Studio Code in External Tools, Unity does not save the settings. And after restarting Unity, the external script editor is installed by opening it by file extension. If Visual Studio Code is not installed in an external script editor, there are no tooltips in VS Code.

all of packeges im using: .png

When I select Visual Studio Code in External Tools, Unity does not save the settings. And after restarting Unity, the external script editor is installed by opening it by file extension. If Visual Studio Code is not installed in an external script editor, there are no tooltips in VS Code.

all of packeges im using: https://i.sstatic/DaeyzaY4.png

Share Improve this question edited Nov 21, 2024 at 13:02 derHugo 91.4k9 gold badges91 silver badges135 bronze badges asked Nov 19, 2024 at 12:53 ertoletikertoletik 234 bronze badges 6
  • Do you have the according unity package installed? – derHugo Commented Nov 19, 2024 at 12:55
  • which one? If "VS Code editor" or "VS editor" yeah. – ertoletik Commented Nov 19, 2024 at 13:46
  • You should install "Visual Studio Code Editor" package in Unity and “Unity for Visual Studio Code” extension in Visual Studo Code. – shingo Commented Nov 19, 2024 at 13:49
  • "VS code editor" pacage in unity is instailed. "Unity" for visual studio code is instailed too. – ertoletik Commented Nov 19, 2024 at 13:54
  • What do you mean by "And after restarting Unity, the external script editor is installed by opening it by file extension. If Visual Studio Code is not installed in an external script editor, there are no tooltips in VS Code." – Phillip Zoghbi Commented Nov 20, 2024 at 9:49
 |  Show 1 more comment

1 Answer 1

Reset to default 1

You can set them manually via https://docs.unity3d/ScriptReference/EditorPrefs.html. Either with Unity's API or via regedit. (I had the same problem with Unity LTS before Unity 6)

本文标签: visual studio codePreferences don39t saving in unityStack Overflow