扩展中搜索maven,点击设置,编辑json文件。

{
    "editor.suggestSelection": "first",
    "vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
    "editor.fontSize": 18,
    "files.exclude": {
        "**/.classpath": true,
        "**/.project": true,
        "**/.settings": true,
        "**/.factorypath": true
    },
    "maven.executable.path": "F:\\maven\\apachemaven\\bin",
    "maven.settingsFile": "F:\\maven\\apachemaven\\conf\\settings.xml",
}

将maven的系统设置路径,填入其中(最后一行)。

Logo

腾讯云面向开发者汇聚海量精品云计算使用和开发经验,营造开放的云计算技术生态圈。

更多推荐