[BUG] Using an accessor operator (dot notation) on a variable makes the "new" keyword lose color
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 45/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- javascript, wasm
- Ambito
- developer-experience
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- JavaScript
- Stelle
- 53
- Fork
- 22
- Merge medio
- 2g 10h
- PR unite (30g)
- 12
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di Candlestickers/Candlestick
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
Candlestickers/Candlestick#255 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
Candlestickers/Candlestick#240 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
BuiltinAssets.js is unusedAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
Candlestickers/Candlestick#239 ·
I maintainer di solito rispondono entro 1 giorno
-
[BUG] frames with names lose their circleForse già presa @BaronAWC l’ha presa 5 giorni fa. Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
Candlestickers/Candlestick#237 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
Candlestickers/Candlestick#203 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di Candlestickers/Candlestick
Issue simili
-
[Website] Catalog: unknown sort value and mixed-case technology in the URL break the filtersForse già presa @barbierajput378-pixel l’ha presa oggi. Apertaarea/website framework/jekyll help wanted language/css language/javascript language/markdown
Difficoltà 2/5 1-3 ore Idoneità per principianti 80/100
meshery/meshery.io#3088 · 1 commento ·
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
firecrawl/firecrawl-mcp-server#548 ·
I maintainer di solito rispondono entro 1 giorno
-
Area:WebGL p5.js 2.0+
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
processing/p5.js#9302 ·
I maintainer di solito rispondono entro 3 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
documentation good first issue hacktoberfest
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
wassim-azi/agy-powerline#47 ·
I maintainer di solito rispondono entro 1 giorno