1.安装VScode
2.配置Java环境变量
3.配置VScode Java插件
参考博文:VSCode配置调试编译java环境,史上最全!!!
- 安装Extension Pack for Java 插件
VScode配置Java:home
文件——首选项——设置
输入javahome,选择在settings.json中编辑
{ "window.zoomLevel": 1, //"java.home": "C:\\software\\jdk1.8\\jdk1.8.0_111", "java.jdt.ls.java.home": "c:\\Program Files\\Java\\jdk1.8.0_201" "java.semanticHighlighting.enabled": true, "editor.suggestSelection": "first", "vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue", "java.configuration.checkProjectSettingsExclusions": false, "git.ignoreWindowsGit27Warning": true, "java.requirements.JDK11Warning": false, }
标签:jdk1.8,java,VScode,配置,home,Java From: https://www.cnblogs.com/bellin124/p/17356910.html