网站建设中html代码,做视频上传多少个网站,企业网站的建设的目标人物是,网站源码下载网站win10自带的 powershell 是1.0版本的#xff0c;太老了#xff0c;更换为powershell7后#xff0c;在 vscode 的集成终端中没有显示本篇教程记录在vscode添加powershell7终端的过程 打开vscode终端配置 然后来到这个页面进行设置 查看 powershell7 的安装位置#xff…win10自带的 powershell 是1.0版本的太老了更换为powershell7后在 vscode 的集成终端中没有显示本篇教程记录在vscode添加powershell7终端的过程 打开vscode终端配置 然后来到这个页面进行设置 查看 powershell7 的安装位置并关闭以管理员身份启动 寻找下面的设置找得到就修改找不到自己添加路径填写自己的powershell路径
terminal.external.windowsExec
terminal.external.windowsExec: E:\\PowerShell\\7\\pwsh.exe说明: 指定在 Windows 上打开外部终端时使用的可执行文件路径。在这里它指向 PowerShell 7 的可执行文件 (pwsh.exe)。
terminal.integrated.profiles.windows
terminal.integrated.profiles.windows: {PowerShell 7: {path: E:\\PowerShell\\7\\pwsh.exe}
}说明: 定义集成终端的配置文件。在这里创建了一个名为 “PowerShell 7” 的终端配置指定其可执行文件路径为E:\\PowerShell\\7\\pwsh.exe。这使得用户可以在 VS Code 中选择使用 PowerShell 7 作为终端。
terminal.integrated.automationProfile.windows
terminal.integrated.automationProfile.windows: {path: E:\\PowerShell\\7\\pwsh.exe
}说明: 指定在自动化任务如调试或 CI/CD中使用的终端配置文件。在这里设置为 PowerShell 7 的路径以便在自动化场景中使用。
terminal.integrated.defaultProfile.windows
terminal.integrated.defaultProfile.windows: PowerShell 7说明: 指定在 Windows 上的默认集成终端配置文件为 “PowerShell 7”。这意味着当你打开新的终端时VS Code 将默认使用 PowerShell 7。
terminal.integrated.persistentSessionReviveProcess
terminal.integrated.persistentSessionReviveProcess: never说明: 控制终端会话的恢复行为。在这里设置为 “never”意味着当你重新打开 VS Code 时不会恢复先前的终端会话。这通常用于确保每次打开终端时都是一个干净的状态。
重启vscode设置默认终端