MagicStack / MagicStack/MagicPython

Short constant names highlighted incorrectly

未關閉
#135 4 則留言 0 個 reaction 已指派 1 人 在 GitHub 檢視

@vpetrovykh 已經在處理了。

開始於 2018年7月20日。

主要語言
JavaScript
星號
1.4k
分支
98
PR 合併指標
30 天內沒有已合併 PR

描述

Hi. 👋

Short constant names seem to be highlighted incorrectly. I got the assumption that the bug might lie in this MagicPython package. What do you guys think? I ran across this while coding a project, and thought that I should do something about it.

* **Editor name and version**: Visual Studio Code 1.23.1
* **Platform**: macOS 10.12.6
* **Color scheme**: Dracula
* **MagicPython version**: Default in Visual Studio Code 1.23.1

## VSCode Example

example

## GitHub Example

```python

LONGER = "Yeshh!"
B = "What?"

class SomeClass:
MEMBER = 1
MEMBER2 = 2
A = 3
ARE = 123
A85 = "Something"

```
I would also like to give special mention to short constant names that end in numbers. They don't seem to be highlighted correctly, even though the same length character-based constants do.

貢獻指南

這個儲存庫沒有索引到貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。