opensumi / core

🚀 A framework helps you quickly build AI Native IDE products. https://preview.opensumi.com
https://opensumi.com
MIT License
2.81k stars 354 forks source link

[Question] custom file icon does not work #3824

Open stimw opened 2 weeks ago

stimw commented 2 weeks ago

描述你的问题(Describe you question here)

开发了一个vscode语言插件,需要为该语言的文件后缀配相应的自定义 icon,通过在插件的 package.json contribute 中配置 icon :

"contributes": {
    "languages": [
      {
        // other fields ...
        "icon": {
          "light": "./icon.svg",
          "dark": "./icon.svg"
        }
      }
    ],
}

在 vscode 中可以正常显示 icon,opensumi 中没有用。这块的 api 暂时没有实现吗?