几个月前,我创建了一个 VSCode 主题。现在我想做一些更改,我想在发布之前对其进行测试。
我不记得几天前我是怎么做的,但是在VSCode 文档中,我读到我必须按 F5 才能启动一个扩展开发主机窗口,然后File > Preferences > Color Theme
在下拉列表中选择我的主题。
我试过。当我按 F5(在 Mac 上为 fn + F5)时,我得到然后?我必须选择什么?
地点launch.json
是:
myTheme
|_ assets
|_ vscode
|_ .vscode
|_ launch.json
|_ assets
|_ themes
|_ myTheme-color-theme.json
当我按 f5 时:
绿色三角形在哪里?
去Run/Debug
酒吧,打开launch.json
并添加
{
"version": "0.2.0",
"configurations": [
{
"type": "extensionHost",
"request": "launch",
"name": "Launch Extension",
"runtimeExecutable": "${execPath}",
"args": [
"--extensionDevelopmentPath=${workspaceFolder}"
]
}
]
}
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句