HED-LSP

HED-LSP is a VsCode extension that provides intelligent editing support for HED (Hierarchical Event Descriptors) annotations in JSON sidecar files. It offers:

  • Validation - Real-time error detection for invalid HED strings

  • Autocomplete - Schema-aware tag suggestions with semantic search

  • Hover - Tag descriptions and documentation on hover

  • Diagnostics - Inline error messages with HED error codes

Documentation index

Document

Description

Architecture

Overall system design and component interaction

Completion system

How autocomplete works, including trigger logic

Semantic search

Dual-embedding architecture for intelligent suggestions

Extending

How to add new keywords and customize behavior