Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/visual-studio-code/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Visual studio code F8或";“运行选择”;尝试在终端中运行powershell命令时未在VS代码中工作_Visual Studio Code_Vscode Settings_Powershell 5.0 - Fatal编程技术网

Visual studio code F8或";“运行选择”;尝试在终端中运行powershell命令时未在VS代码中工作

Visual studio code F8或";“运行选择”;尝试在终端中运行powershell命令时未在VS代码中工作,visual-studio-code,vscode-settings,powershell-5.0,Visual Studio Code,Vscode Settings,Powershell 5.0,我使用的是VS代码,我的powershell终端使用的是VS代码和powershell ISE。我有自己的.ps1格式的个人脚本文件,其中有一些命令列表。当我在文件中选择命令并右键单击并选择“运行选择”时,这不会反映在VS代码中的Powershell终端中。我甚至试过笔记本电脑的Function+F8键,还是一样。你知道我需要做什么来解决这个问题吗

我使用的是VS代码,我的powershell终端使用的是VS代码和powershell ISE。我有自己的.ps1格式的个人脚本文件,其中有一些命令列表。当我在文件中选择命令并右键单击并选择“运行选择”时,这不会反映在VS代码中的Powershell终端中。我甚至试过笔记本电脑的Function+F8键,还是一样。你知道我需要做什么来解决这个问题吗