AngularJS Language ServerLanguage Server Protocol implementation for AngularJS 1.x projects. Features
Supported AngularJS Components
InstallationThe extension automatically downloads and manages the language server binary. No manual setup required! On first activation:
Configuration
|
| Option | Type | Default | Description |
|---|---|---|---|
include |
string[] |
[] (all files) |
Glob patterns for files to analyze. If empty, all files are included. |
exclude |
string[] |
(see below) | Glob patterns for files/directories to exclude. |
interpolate.startSymbol |
string |
{{ |
AngularJS interpolation start symbol. |
interpolate.endSymbol |
string |
}} |
AngularJS interpolation end symbol. |
cache |
boolean |
true |
Enable caching of parsed symbols. Cache is stored in .angularjs-lsp/cache/. |
diagnostics.enabled |
boolean |
true |
Enable diagnostics for undefined scope properties and local variables. |
diagnostics.severity |
string |
"warning" |
Severity level: "error", "warning", "hint", or "information". |
Default Exclude Patterns
By default, the following patterns are excluded:
**/node_modules/****/dist/****/build/****/.*/**(hidden files/directories)
Commands
- AngularJS: Restart Language Server - Restart the language server
Updates
The extension automatically checks for new versions of angularjs-lsp and prompts you to update when a new release is available.
Requirements
- VS Code 1.75.0 or higher
- Node.js (for typescript-language-server fallback)
License
MIT