The Ember Language Server (ELS) implements the Language Server Protocol for Ember.js projects. ELS enables editors to provide features like auto complete, goto definition and diagnostics. To get these features, you have to install the plugin for your editor.
All features currently only work in Ember CLI application that use the default classic structure, and are a rough first draft with a lot of room for improvements. Pods and addons are not supported yet.
*.{js/ts}: services, models, routes, transforms*.hbs: components, route names, helpers, modifiers, local paths, argumentsNamespaces support (batman syntax)
Template linting
ember-template-lint dependency added into project.v2, v3, v4) integration, including documentation links and auto fixes.js and .ts files (with hbs literal)experimental linting inside .gjs and .gts files (with <template> tag)
Definition providers for (enable features like "Go To Definition" or "Peek Definition"):
Namespace components (batman syntax)
Route autocompletion in link-to and <LinkTo> components.
ignoredProjects config option, if you need "exclude except" functionality, specify project name as !my-project.lib/start-server.js - nodejs
lib/start-worker-server.js - worker
new Server({fs, type})
fs - available options:
* sync - LS should use nodejs.fs logic
* async - LS should use client's fs provider
type - available options:
* node - supported addons & require logic
* worker - addons and require logic not supported
$ claude mcp add ember-language-server \
-- python -m otcore.mcp_server <graph>