vscode的配置

123 阅读1分钟

vscode的配置

执行策略

查看当前执行策略

powershell中查看当前执行策略;

Get-ExecutionPolicy

更改执行策略

更改执行策略为 RemoteSigned;

Set-ExecutionPolicy RemoteSigned

侧边栏打开NPM脚本

进入Settings界面,然后再他妈的选中Enable running npm scripts contained in a folder from the Explorer context menu.这个复选框; vscode设置1.png 点击EXPLORER的下拉框,选中NPM Scripts选项;

vscode设置2.png