LSP-ember for Sublime Text
说明与用途
LSP-ember 让 Sublime Text 支持 Ember 的 .gjs/.gts 文件的 LSP 功能,提供类似 VS Code 的 IDE 体验。
问题
Sublime Text lacked LSP support for Ember’s .gjs/.gts template tag files, causing loss of autocompletion, go-to-definition, and hover features.
结果
Developers can now enjoy full LSP-powered code intelligence for Ember’s .gjs/.gts files in Sublime Text, matching the experience of VS Code and other IDEs.
工作流
- 1. Install Template Tag package to get syntax definitions for .gjs and .gts.
- 2. Clone or symlink LSP-ember into Sublime Text Packages directory.
ln -s "$HOME/<path>/LSP-ember" "$HOME/Library/Application Support/Sublime Text/Packages/LSP-ember" - 3. Ensure Glint packages (@glint/ember-tsc and @glint/tsserver-plugin) are installed and compatible with the TypeScript version used.
- 4. Open an Ember project containing .gjs/.gts files in Sublime Text.
- 5. LSP-ember automatically provides LSP features via Glint.
- 6. Verify autocompletion, go-to-definition, and hover work as expected.
- 7. Report issues or contribute code snippets to improve the package.
证据
LSP-ember helps Sublime Text be on par with VS Code and a couple of other IDEs.
The implementation (scaffolded with Claude Code) is rather straightforward, because Glint takes care of the hard parts.
- 记录日期: 2026-09-22T11:15:23.719Z