Keyword completion, validation, and diagnostics for ABACUS INPUT files in Visual Studio Code.
This extension provides support for editing ABACUS INPUT files:
- 🎯 Keyword Completion - Keyword and value completion based on ABACUS documentation
- ✅ Validation & Diagnostics - Error detection and parameter validation
- 📖 Hover Documentation - Keyword documentation on hover
- 🎨 Syntax Highlighting - Syntax highlighting for INPUT files
- 📝 Code Snippets - Quick insertion for common ABACUS parameters
Install from the VS Code Marketplace or search for "ABACUS INPUT" in the VS Code Extensions panel.
The extension automatically activates when:
- Opening a file named
INPUTorINPUT.* - A file with ABACUS INPUT content is opened
| Command | Description |
|---|---|
ABACUS INPUT: Reload Data |
Reload the completion data from JSON files |
ABACUS INPUT: Check Data Status |
Display current data status and statistics |
| Setting | Default | Description |
|---|---|---|
abacusInput.completion.enabled |
true |
Enable completion |
abacusInput.diagnostics.enabled |
true |
Enable validation and diagnostics |
abacusInput.hover.enabled |
true |
Enable hover documentation |
abacusInput.dataPath |
"" |
Custom path to ABACUS JSON data files |
npm install
npm run compilenpm run watchnpm run lintnpm run packagevscode-abacus-input/
├── src/ # Extension source code
│ ├── extension.ts # Main extension entry point
│ ├── completionProvider.ts
│ ├── diagnosticProvider.ts
│ ├── hoverProvider.ts
│ └── dataProvider.ts
├── syntaxes/ # TextMate grammar for syntax highlighting
├── snippets/ # Code snippets
├── data/ # JSON data files for completion
├── language-configuration.json
└── package.json # Extension manifest
MIT License - see LICENSE for details.
- ABACUS - Atomic-orbital Based Ab-initio Computation at UStc
- Data sourced from the official ABACUS documentation