vscode 配置终端
打开 user settings.json
在里面加上下面两个值
"terminal.integrated.defaultProfile.windows": "ps7",
"terminal.integrated.profiles.windows": {
"ps7": {
"icon": "terminal-powershell",
"path": "D:\\Program Files\\PowerShell\\7\\pwsh.exe"
}
},
打开 user settings.json
在里面加上下面两个值
"terminal.integrated.defaultProfile.windows": "ps7",
"terminal.integrated.profiles.windows": {
"ps7": {
"icon": "terminal-powershell",
"path": "D:\\Program Files\\PowerShell\\7\\pwsh.exe"
}
},