MagicStack / MagicStack/MagicPython

Short constant names highlighted incorrectly

オープン
#135 コメント 4 件 リアクション 0 件 担当者 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. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。