vscode ----> 学习笔记

时间:2023-03-09 04:06:06
vscode ----> 学习笔记

java开发环境

jdk配置

maven配置

file --> preferences --> settings

在search settings搜索关键词 java.home , maven.terminal.useJavaHome ,java.configuration.maven.userSettings , search.exclude。在working space中配置下面的配置[json格式],它将会覆盖默认的配置,然后重启vscode生效。

 "java.home":"",  # java_home 默认会使用已安装的jdk
 "maven.terminal.useJavaHome": true,
 "java.configuration.maven.userSettings":"your settings.xml file location", #maven settings.xml 绝对路径
 "search.exclude": {
             "**/node_modules": true,
             "**/bower_components": true,
             "**/target": true,
             "**/logs": true
         }

参考博客

https://javahello.github.io/2018/02/26/ubuntu/vscode-java-environment/

2019-03-26 13:08:05

python/Go配置

"python.pythonPath":"D:\\softwareInstall\\softwareDev\\python",
"python.autoComplete.extraPaths": [
            "D:/softwareInstall/softwareDev/python",
            "D:/softwareInstall/softwareDev/python/Lib",
            "D:/softwareInstall/softwareDev/python/Lib/site-packages",
            "D:/softwareInstall/softwareDev/pythonzzz/DLLs"
],
"go.goroot": "D:\\softwareInstall\\softwareDev\\go",
"go.gopath": "D:\\softwareInstall\\softwareDev\\VSCodeWK_Go",
"go.useCodeSnippetsOnFunctionSuggest": true,
"go.formatTool": "goreturns"