美文网首页
vscode 配置java环境

vscode 配置java环境

作者: 七百年前 | 来源:发表于2021-05-28 12:19 被阅读0次

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环境

      本文链接:https://www.haomeiwen.com/subject/fvkssltx.html