英文:
Visual Studio Import issue
问题
我已在 Visual Studio Code 中创建了 Spring Boot 项目。
请帮我解决。我已经浪费了整天的时间来解决这个问题。我在 Mac OS 上使用 Visual Studio Code。
我还尝试了命令面板--> Java 清除路径。
在 VS Code 的 settings.json 文件中添加了 java.home 路径。
英文:
I have created spring boot project in Visual Studio Code.
- Intellisense is not giving any suggestion
- VS code unable to suggest import please view image here
- unnecessary error in the default spring boot code
please view image here
Please help me out. I have wasted my hold day just to make this work. Im using Visual Studio Code on Mac OS.
I have also tried the Command Palette--> Java Clean path.
Added java.home path in VS Code settings.json file.
答案1
得分: 0
VS Code的智能感知功能由语言服务提供支持,还有一种名为Visual Studio IntelliCode的AI辅助智能感知,您可以从扩展市场安装它。当您发现智能感知停止工作时,可能是语言服务未运行。尝试重新安装 java extension pack
,然后重新启动VS Code,问题应该会得到解决。
英文:
VS Code IntelliSense features are powered by a language service, and there's AI-assisted IntelliSense called Visual Studio IntelliCode which you can install from extension marketplace. When you find IntelliSense has stopped working, the language service may not be running. Try reinstalling the java extension pack
and restarting VS Code and this should solve the issue.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论