🐞 Bracket pair highlight breaks editor while working on Javascript
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Accessibilité débutants
- 35/100
- Type d'issue
- Bug
- Clarté
- Plutôt claire
- Activité
- À l'abandon
- Stack technique
- javascript, swift
- Domaine
- tooling
Piste de recherche
Reproduisez le problème dans CodeEditSourceEditor 0.3.4-alpha avec Bracket Pair Highlight activé pour les trois styles, d'abord dans un fichier .js, puis à l'intérieur d'une section <script> HTML. Examinez la coloration syntaxique Swift et l'intégration de tree-sitter impliquées dans la coloration des crochets, et comparez le comportement en dehors de la section script. Le travail est considéré comme terminé si la saisie reste réactive après l'entrée d'un crochet ouvrant en JavaScript.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
Description
The "Bracket Pair Highlight" feature breaks the editor when working on Javascript code.
All options (Bordered, Flash, Underline) result in the same issue.
Tested both within a .js file and within a <script> tag in an .html file. The behaviour didn't happen outside of the <script> tags within the HTML file as I suspect it's a bug in the syntax highlighting code.
To Reproduce
- Go to CodeEdit menu > Settings > Text Editing
- Enable "Bracket Pair Highlight" (Same behaviour across all options)
- Create a new javascript (.js) file - OR - an HTML file (.html) with a <script> section.
- Go back to the editor and try typing in a function call e.g.: function('')
- After typing the opening bracket, keyboard input will stop responding in the editor.
Expected Behavior
For the editor to continue working.
Version Information
CodeEdit: 0.3.4-alpha (45)
macOS: Sequoia 15.5 (24F74)
Xcode: 16.3.0.0.1.1742442376
Additional Context
Tested both with a .js file and within a <script> tag in an .html file.
Screenshots
No response
- Langage dominant
- Swift
- Étoiles
- 720
- Forks
- 162
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de CodeEditApp/CodeEditSourceEditor
-
Difficulté 2/5 1-3 heures Accessibilité débutants 84/100
CodeEditApp/CodeEditSourceEditor#377 · 1 commentaire ·
-
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
CodeEditApp/CodeEditSourceEditor#376 · 1 commentaire ·
-
Difficulté 1/5 1-3 heures Accessibilité débutants 68/100
-
Difficulté 3/5 1-2 jours Accessibilité débutants 68/100
CodeEditApp/CodeEditSourceEditor#378 · 1 commentaire ·
-
Difficulté 4/5 3-5 jours Accessibilité débutants 32/100
Toutes les issues de CodeEditApp/CodeEditSourceEditor
Issues similaires
-
Difficulté 1/5 Moins d'une heure Accessibilité débutants 85/100
-
enhancement
Difficulté 2/5 1-3 heures Accessibilité débutants 75/100
Cocoanetics/SwiftACP#52 ·
-
Difficulté 2/5 1-3 heures Accessibilité débutants 75/100
storyblok/storyblok-swift#12 ·
-
bug yapback
Difficulté 2/5 1-3 heures Accessibilité débutants 65/100
-
Difficulté 1/5 Moins d'une heure Accessibilité débutants 95/100