Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

LSP-ember for Sublime Text

Описание и применение

LSP-ember позволяет Sublime Text поддерживать автодополнение и навигацию в файлах .gjs/.gts Ember, обеспечивая 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