CodeEditApp / CodeEditApp/CodeEditSourceEditor

✨ Tree Sitter for Bracket Highlight

未關閉
#214 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
enhancement
主要語言
Swift
星號
719
分支
160
PR 合併指標
30 天內沒有已合併 PR

描述

### Description

Tree sitter can give us faster, more accurate bracket highlight info. By finding the beginning or end of a syntax node, we can jump to a spot we can reasonably assume is near a bracket and search from there. This will also skip brackets that are in comments in supported languages.

### Alternatives Considered

_No response_

### Additional Context

Helix has similar support: https://github.com/helix-editor/helix/issues/3584

### Screenshots

_No response_

貢獻指南

這個儲存庫沒有索引到貢獻指南

研究方向

首先定位目前的括號高亮實作,以及 CodeEditSourceEditor 中現有的 Tree-sitter 整合。將所需行為與 Helix issue 3584 進行比較,然後將完成標準定義為:實作更快速、具備語法感知能力的括號高亮,並在支援的語言中跳過註解內的括號。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
swift
領域
tooling
Issue 類型
功能
難度
4/5
預估耗時
3-5 天
活躍度
停滯
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。