Welcome to the official VS Code extension for the Cequre DSL. This extension provides a rich development experience for building schema-first applications powered by the Cequre backend framework.
Features
Syntax Highlighting: Full syntactic colorization for .cequre files to make your schema and routing logic easy to read.
Smart Autocomplete: Intelligent suggestions for:
Global blocks (e.g., collection, config, global)
Property keys within configuration scopes (e.g., core, security, auth)
Field types and definitions (e.g., string, relationship, date, object)
Decorators and directives (e.g., @unique, @default(), @encrypt)
Access control rules (read, create, update, delete, etc.)
Real-time Diagnostics: Immediate semantic feedback and error highlighting while you type. Invalid types or schema conflicts are caught in the editor before you compile.
Auto-formatting: Format your .cequre documents seamlessly using VS Code's built-in format on save or format document commands.
Installation
Install this extension from the Visual Studio Code Marketplace.
Open any .cequre file within your project workspace. The Cequre Language Server will initialize automatically and attach to the file.
Usage
Simply write your backend architecture in .cequre syntax!
If you'd like to contribute, report bugs, or request features, please visit our GitHub repository: Cequre Open Source.
Note: This extension bundles its own local Language Server Protocol (LSP) implementation tied to the @cequrebackends/cequre-cli compiler for accurate semantic feedback.