扩展中搜索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的系统设置路径,填入其中(最后一行)。