[BUG] Using an accessor operator (dot notation) on a variable makes the "new" keyword lose color
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 45/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- javascript, wasm
調査の方向性
The bug is that the new keyword loses its syntax highlight color when written after a dot accessor, such as project.sound = new WickSound(...), while sound = new ... stays colored. The payload names no file, so start by finding the Candlestick code editor's syntax highlighting rules for keywords and compare how member-assignment tokens are matched. Done means new stays red after project. in the reproduction, with the highlighting behavior checked against the Wick 1.19.4 output.
索引モデルが issue の本文から書いたものです。
説明
Describe the bug
In the code editor, if you write code like project.sound = new WickSound(...);, the new loses its red color. This does not occur if you just use sound = ....
To reproduce
Steps to reproduce the behavior:
- Write
project.sound = new WickSound("sound.mp3");in a script (projectcan really be anything) - Delete the
project.to see it return to normal
Expected behavior
The new keyword remains red.
Screenshots
Candlestick
Wick 1.19.4 (works as expected)
Editor version
Is this bug reproducible in Wick Editor 1.19.3/1.19.4 or only Candlestick?
Candlestick 1.3.0
Do you have a suggested solution to this issue? (ex. has another program fixed this bug a certain way? Are you familiar with where in the code base someone would need to fix this issue?)
I would have to guess it's library updates... I haven't tested this in my autocomplete branch yet.
- 主要言語
- JavaScript
- スター
- 53
- フォーク
- 22
- 平均マージ
- 2日 10時間
- マージ済み PR(30日)
- 12
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
Candlestickers/Candlestick のほかの issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
Candlestickers/Candlestick#255 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
Candlestickers/Candlestick#240 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
Candlestickers/Candlestick#239 ·
メンテナーはふだん 1 日以内に返信
-
[BUG] frames with names lose their circle対応中かも @BaronAWC が 6 日前に担当しました。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
Candlestickers/Candlestick#237 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
Candlestickers/Candlestick#203 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
Candlestickers/Candlestick の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
keyxmakerx/Chronicle#1469 ·
メンテナーはふだん 1 日以内に返信
-
enhancement good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
suradet-ps/codeframe#40 ·
メンテナーはふだん 1 日以内に返信
-
data
難易度 1/5 1時間未満 初心者へのやさしさ 74/100
gaseous-project/hasheous#637 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
gramps-project/gramps-web#1549 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100