vscode 配置java环境

1.扩展安装

1.Java Extension Pack
2.Git History
3.GitLens — Git supercharged
4.Markdown All in One
5.Project Manager 多项目
6.shell-format
7.vsc-mybatis
8.XML
9.Code Runner
10.Lombok Annotations Support for VS Code

2.配置设置

1.java.home 

"maven.executable.path": "E:\\Program Files\\apache-maven-3.6.3\\bin\\mvn.cmd",
"maven.excludedFolders": [

    "**/.*",
    "**/node_modules",
    "**/target",
    "**/bin",
    "**/archetype-resources"
],
"java.configuration.maven.globalSettings": "E:\\Program Files\\apache-maven-3.6.3\\conf\\settings.xml",
"editor.suggestSelection": "first",
"vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
"redhat.telemetry.enabled": true,
"java.home": "E:\\Program Files\\Java\\openjdk16",
"java.configuration.runtimes": [
    {
        "name": "JavaSE-1.8",
        "path": "E:\\Program Files\\Java\\jdk181"
    }
]

3.jdk

1.清华大学镜像
https://mirrors.tuna.tsinghua.edu.cn/AdoptOpenJDK/

你可能感兴趣的:(vscode 配置java环境)