MagicStack / MagicStack/MagicPython
Is it possible to highlight all decorators the same?
還沒有人認領這個 Issue。
- 主要語言
- JavaScript
- 星號
- 1.4k
- 分支
- 98
- PR 合併指標
- 30 天內沒有已合併 PR
描述
- Editor name and version: VS Code 1.33.0
- Platform: Windows 10 1809
- Color scheme: Pycharm Dracula Style (WIP)
- MagicPython version: 1.1.0
First of all congrats on the great project!
I've begun working on a theme to make VS Code look similar to PyCharm. I would like to have all decorators highlighted with the same color regardless of type. At the moment the scope 'support.type.python' is prioritized over 'meta.function.decorator.python'. You can see this demonstrated in the example below for the property decorator. I get why the current order is more desirable, but is it possible to somehow override it within the theme?

貢獻指南
這個儲存庫沒有索引到貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
先檢查語法醒目提示器如何為 Python 裝飾器指派 support.type.python 和 meta.function.decorator.python 作用域,然後確認 VS Code 主題作用域的優先順序如何處理它們。確定主題是否能一致地為所有裝飾器著色,並記錄或實作受支援的行為,即表示完成。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- python, vscode
- 領域
- tooling
- Issue 類型
- 功能
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 活躍度
- 停滯
- 描述清晰度
- 需要釐清
- 新手友好度
- 35/100