MagicStack / MagicStack/MagicPython
Inconsistent variable highlighting?
未關閉
@vpetrovykh 已經在處理了。
開始於 2016年5月16日。
enhancement
resolved
- 主要語言
- JavaScript
- 星號
- 1.4k
- 分支
- 98
- PR 合併指標
- 30 天內沒有已合併 PR
描述
OS X 10.11.2, Sublime Text 3113, Gravity theme, latest MagicPython.
Trying out MagicPython from PythonImproved. In the first Python file I opened, I see:

`X_train` and `X_test` are highlighted purple, but `y_train` and `y_test` are white. Capitalizing the Y vars turns them purple.
I'm assuming that any word starting with a capital is treated as a "constant" and colored accordingly. Is this intentional? Wouldn't checking for ALL_CAPS be better?
貢獻指南
這個儲存庫沒有索引到貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
評估
這個 Issue 還沒有評估資料。