[BUG] Using an accessor operator (dot notation) on a variable makes the "new" keyword lose color
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 45/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- javascript, wasm
- Área
- developer-experience
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- JavaScript
- Estrellas
- 57
- Forks
- 24
- Merge medio
- 19 h 12 min
- PR fusionados (30 d)
- 10
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de Candlestickers/Candlestick
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
Candlestickers/Candlestick#269 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
Candlestickers/Candlestick#255 ·
Los mantenedores suelen responder en 1 día
-
[BUG] Files cannot be opened on iPad (pre-iPadOS 26)Posiblemente ocupada @StickmanRed la tomó hace 9 días. Abiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
Candlestickers/Candlestick#240 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
BuiltinAssets.js is unusedAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Candlestickers/Candlestick#239 ·
Los mantenedores suelen responder en 1 día
-
[BUG] frames with names lose their circlePosiblemente ocupada @BaronAWC la tomó hace 17 días. Abiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Candlestickers/Candlestick#237 ·
Los mantenedores suelen responder en 1 día
Todos los issues de Candlestickers/Candlestick
Issues similares
-
enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
glossyio/traffic-monitor#264 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 72/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
micromatch/picomatch#243 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
getComputedStyle().display is "" for span, a, b, label and other inline elements instead of "inline"Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
capricorn86/happy-dom#2556 ·
Los mantenedores suelen responder en 1 día