{"library":"devicetree-language-server","type":"library","category":null,"description":"A Language Server Protocol (LSP) implementation for Devicetree source files (.dts/.dtsi) based on Devicetree Specification v0.4. Current stable version is 0.9.3, with frequent releases addressing bugs and adding features. Provides IDE features like go-to-definition, hover, formatting, diagnostics, semantic tokens, and Zephyr DT macro support. Supports Zephyr and Linux devicetree bindings, and integrates with multiple editors (VS Code, Neovim, Helix, kakoune). Differentiator: dedicated DTS LSP with deep understanding of devicetree semantics, unlike generic XML-based tools.","language":"javascript","status":"active","version":"0.9.3","tags":["javascript","dts","devicetree","lsp","formatting"],"last_verified":"Wed May 27","install":[{"cmd":"npm install devicetree-language-server","imports":["import { createConnection } from 'vscode-languageserver/node';\nimport { TextDocuments } from 'vscode-languageserver';\n// The language server is used programmatically via LSP, not direct import.","const server = new DevicetreeLanguageServer(); // only available in source, not published"]},{"cmd":"yarn add devicetree-language-server","imports":[]},{"cmd":"pnpm add devicetree-language-server","imports":[]}],"homepage":null,"github":"https://github.com/kylebonnici/dts-lsp","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/devicetree-language-server","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/devicetree-language-server/compatibility"}}