最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

visual studio code - Preferences don't saving in unity - Stack Overflow

programmeradmin0浏览0评论

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)

发布评论

评论列表(0)

  1. 暂无评论