Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

🐞 Bracket pair highlight breaks editor while working on Javascript

オープン
#361 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
javascript, swift
領域
tooling

調査の方向性

3つすべてのスタイルで Bracket Pair Highlight を有効にした CodeEditSourceEditor 0.3.4-alpha で問題を再現します。まず .js ファイルで、次に HTML の <script> セクション内で行います。括弧のハイライトに関係する Swift のシンタックスハイライトと tree-sitter の統合を調べ、script セクションの外部での動作と比較します。JavaScript で開き括弧を入力した後も入力が応答性を保てば完了です。

索引モデルが issue の本文から書いたものです。

説明

bug
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
  1. Go to CodeEdit menu > Settings > Text Editing
  2. Enable "Bracket Pair Highlight" (Same behaviour across all options)
  3. Create a new javascript (.js) file - OR - an HTML file (.html) with a <script> section.
  4. Go back to the editor and try typing in a function call e.g.: function('')
  5. 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

主要言語
Swift
スター
720
フォーク
162
PR マージ指標
30日以内にマージされた PR はありません

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

CodeEditApp/CodeEditSourceEditor のほかの issue

CodeEditApp/CodeEditSourceEditor の issue をすべて見る

似ている issue

Swift の issue をもっと見る

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

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