TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: I made a code-aware spell checker for Zed

4 点作者 blopker3 个月前
Hey HN, I wanted to share a project I&#x27;ve been working on to help with my terrible spelling.<p>CSpell is the thing everyone uses in VSCode, but they don&#x27;t offer an LSP for other editors to use. Someone has made an LSP for it, but CSpell is also pretty slow since it&#x27;s all in JavaScript. After spending way too much time[0] trying to find an alternative, I just wrote my own.<p>Codebook[1] is written in Rust, so it&#x27;s very fast, and (IMO) is much less annoying than CSpell because it uses Tree Sitter to only find spelling issues that the developer has control over.<p>Codebook also comes with an LSP, so it could be used in other editors, but I haven&#x27;t tried that yet.<p>I want to also shout out to Spellbook[2], which is the actual spell checking engine I used to make Codebook. The makers of Helix wrote it, and it&#x27;s fantastic.<p>[0]: <a href="https:&#x2F;&#x2F;blopker.com&#x2F;writing&#x2F;09-survey-of-the-current-state-of-code-spell-checking&#x2F;" rel="nofollow">https:&#x2F;&#x2F;blopker.com&#x2F;writing&#x2F;09-survey-of-the-current-state-o...</a> [1]: <a href="https:&#x2F;&#x2F;github.com&#x2F;blopker&#x2F;codebook">https:&#x2F;&#x2F;github.com&#x2F;blopker&#x2F;codebook</a> [2]: <a href="https:&#x2F;&#x2F;github.com&#x2F;helix-editor&#x2F;spellbook">https:&#x2F;&#x2F;github.com&#x2F;helix-editor&#x2F;spellbook</a>

1 comment

rl33 个月前
This project looks realy neet. Glad to see it&#x27;s useing Tree Siter, too!