elements
Start Docs Blog Demos UI Pricing
Elements Manual
  • Getting Started
  • CLI
  • Build
  • Browser
  • Packages
  • TypeScript
  • Elements HTML
  • Assets
  • RPC
  • Router
  • Session
  • Database
  • Migrations
  • LiveTable
  • Channel
  • Jobs
  • Email
  • Payments
  • JSON
  • Async
  • Style
  • UI
  • JSOC
  • Config
  • Tests
  • Logs
  • Deploy
  • Editors
    • VS Code
    • Vim & Neovim
    • Claude Code
  • Recipes
  • Licenses
  • Issues
  • Changelog
Manual / Editors/ Claude Code

Claude Code

elements man editors/claude

On This Page

  • Install
  • Editor errors and the build

Claude Code runs the Elements language server while it edits. After every edit to a .ts, .js, .ehtml, .jsoc or .css file, the agent receives that file's errors without running a command, and its LSP tool can go to a definition, find references, show a type, and search symbols across the project.

Install

Nothing to do. When Claude Code is on the machine, installing Elements writes a plugin, elements, to ~/elements/ai/claude and registers it with Claude's own CLI. Registering the plugin does not enable it in any project. elements create turns it on for the new project, in the enabledPlugins of its .claude/settings.json, so the language server runs only in Elements projects. The terminal and the desktop app both read .claude/settings.json, so the plugin is enabled in each from its next session.

The plugin runs elements-lsp stdio by its absolute path, so it works in a desktop app launched without your shell's PATH. Run /plugin in a session to see it.

Editor errors and the build

The errors after an edit come from the same checker as elements build, so they agree. They cover source files only. Errors from install, migrations, tests and release, and errors that name no file, are reported only by elements build. An agent still builds with elements build -json before it reports work done, as the project's AGENTS.md says.

Prev Vim & NeovimNext Recipes
Product
Manual Pricing Compare
Company
History Contact
Legal
Privacy Policy Acceptable Use Terms License Agreement
© Elements Dev Corporation 2026