gpt4 book ai didi

Why does my Intellisense for Unity in VS Code not work?(为什么我的IntelliSense for Unity在VS代码中不工作?)

转载 作者:bug小助手 更新时间:2023-10-26 20:46:34 26 4
gpt4 key购买 nike



I am trying to program in Unity using VS Code. However, I have noticed that when I start up my script from Unity, for about 5 seconds my Intellisense works. However, after that, it just stops. I tested by trying to type Rigidbody2D but it did not autocomplete. The highlighting also does not work. Here is a screenshot of what I am describing:
screenshot of highlighting/Intellisense not working
I have also taken a screenshot of what I believe to be the problem:
what I believe to be the problem
I do not know how to fix this problem. Could someone please help me fix this because for a long time I have not had Intellisense in Visual Studio and so I tried switching to VS Code because I believe it is better but now I have this problem.

我正在尝试使用VS代码在Unity中编程。然而,我注意到,当我从Unity启动我的脚本时,大约5秒钟我的智能感知起作用了。然而,在那之后,它就停止了。我尝试输入Rigidbody2D进行测试,但它没有自动完成。突出显示也不起作用。以下是我正在描述的屏幕截图:突出显示/智能感知不起作用的屏幕截图我还截图了我认为是问题的地方:我认为是问题的地方,我不知道如何解决这个问题。有人能帮我解决这个问题吗?因为很长一段时间我都没有在Visual Studio中使用智能感知,所以我尝试切换到VS代码,因为我相信它更好,但现在我遇到了这个问题。


I tried to switch to VS Code for Intellisense to work, but it doesn't for some reason.

我试着切换到VS代码来让智能感知工作,但由于某种原因它没有做到。


更多回答

Well the good news is visual studio not working is all your set up and reliably works. Vs code not so much. Unity dropped support for it. It does work in code but an ant farting in nova scotia see s to upset it

好消息是,VISUAL STUDIO不能工作是你的全部设置和可靠的工作。VS代码就没那么多了。Unity放弃了对它的支持。它确实可以在代码中工作,但新斯科舍省的一只蚂蚁放屁,看到S打乱了它

what is an ant farting in nova scotia also ok i will destroy vs code

什么是蚂蚁放屁在新斯科舍省也好,我会摧毁VS代码

优秀答案推荐

Did you try "Regenerate project Files" in the External Tools configuration?

您是否在外部工具配置中尝试了“重新生成项目文件”?


enter image description here


更多回答

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com