当前位置:网站首页>!!** The test is valid * *:vscode "the terminal will be reused by the task, press any key to close" /vscode the terminal runs NPM to pop up the select program dialog box / try a new cross platform Pow

!!** The test is valid * *:vscode "the terminal will be reused by the task, press any key to close" /vscode the terminal runs NPM to pop up the select program dialog box / try a new cross platform Pow

2022-06-21 14:12:00 Enthusiastic little fans

!! Close test effectively ## !! Close test effectively : Try a new cross platform PowerShell/ VSCode “ The terminal will be reused by the task , Press any key to close ”/vscode Terminal operation npm Pop up the select program dialog box solution
Recently, I encountered a new problem , So I have a new understanding of several problems , Modify and supplement :

vscode Terminal operation npm The select program dialog box always pops up , In fact, it is PowerShell Update , This leads to an attempt to open across platforms , Therefore, a dialog box for selecting programs pops up when the terminal is running .

There are few posts about how to deal with this problem on the Internet , After pondering for a long time, I still don't know how to deal with it .
 Insert picture description here

Looking for n After a long time of Baidu , Finally, a solution was found :
1. find settting.json file

 file  ->  Preferences  ->  Set up  ->  stay input Input in setting.json

2. stay setting.json Add the following line to :
Find this line of code :
“files.autoSave”:“afterDelay”
Add this line of code below this line of code :
“terminal.integrated.shell.windows”:“C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe”

The above methods can solve this problem ~

原网站

版权声明
本文为[Enthusiastic little fans]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202221428064303.html