如何在编辑扩展的配置后重新启动 VScode? [英] How to restart VScode after editing extension's config?
问题描述
当你打开一个扩展的配置时,VScode 会通知你:
<块引用>记得重启VScode
但它没有说明如何.他们使用大写字母表示 restart
单词,所以通常如果你强调一个称谓,它应该意味着什么.是否有隐藏的重启按钮或快捷键?如何重新启动 IDE?
执行 workbench.action.reloadWindow
命令.
有一些方法可以做到这一点:
打开命令面板(Ctrl + Shift + P)并执行命令:
>重新加载窗口
在
<预><代码>[{"key": "ctrl+f5","command": "workbench.action.reloadWindow","when": "editorTextFocus"}]keybindings.json
中定义命令的键绑定(例如 CTRL+F5):
VScode notifies you when you open a config of an extension:
remember to Restart VScode
But it says nothing about how. They use capital letter for restart
word, so normally it should mean something if you emphasize an appellation. Is there some hidden restart button or a key shortcut? How do I restart the IDE?
Execute the workbench.action.reloadWindow
command.
There are some ways to do so:
Open the command palette (Ctrl + Shift + P) and execute the command:
>Reload Window
Define a keybinding for the command (for example CTRL+F5) in
keybindings.json
:[ { "key": "ctrl+f5", "command": "workbench.action.reloadWindow", "when": "editorTextFocus" } ]
这篇关于如何在编辑扩展的配置后重新启动 VScode?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!