Skip to content

feat(text-editor): support highlighting for all registered languages, add some refactorings#136

Merged
stream-pipe merged 2 commits intomainfrom
feature/refactor-code
Feb 11, 2026
Merged

feat(text-editor): support highlighting for all registered languages, add some refactorings#136
stream-pipe merged 2 commits intomainfrom
feature/refactor-code

Conversation

@stream-pipe
Copy link
Collaborator

@stream-pipe stream-pipe commented Feb 11, 2026

改动点:

  • 支持所有已注册语言的高亮(基于 codemirror 的 syntaxHighlighting),之前只支持几种常用语言的高亮
  • 重构 iconfont 生成逻辑(基于 fantasticon + svg-reorient 实现),解决每次构建都会更新 CSS 的问题
  • 使用 @volar/source-map 重构 transformer 实现,简化 API
  • 新增 Go 语言的高亮
  • 修复 doComplete 中 textEdit 位置计算异常的问题

@stream-pipe stream-pipe added this pull request to the merge queue Feb 11, 2026
Merged via the queue into main with commit a6b133a Feb 11, 2026
12 checks passed
@stream-pipe stream-pipe deleted the feature/refactor-code branch February 11, 2026 09:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants