测试开发中的主题

白圈

几个月前,我创建了一个 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 时:

在此处输入图片说明

绿色三角形在哪里?

rioV8

Run/Debug酒吧,打开launch.json并添加

{
  "version": "0.2.0",
  "configurations": [
    {
      "type": "extensionHost",
      "request": "launch",
      "name": "Launch Extension",
      "runtimeExecutable": "${execPath}",
      "args": [
        "--extensionDevelopmentPath=${workspaceFolder}"
      ]
    }
  ]
}

本文收集自互联网,转载请注明来源。

如有侵权,请联系 [email protected] 删除。

编辑于
0

我来说两句

0 条评论
登录 后参与评论

相关文章