| RON LSP - VSCode ExtensionLanguage Server Protocol integration for RON (Rust Object Notation) files in Visual Studio Code. Features
Diagnostics for syntax errors, type mismatches, and missing fieldsType validation based on Rust struct/enum definitionsCode actions to insert missing/required fieldsSupport for Default trait (optional fields)Go to definition for types and fieldsCode completion for fields and enum variantsHover documentation showing field types and doc comments Requirements
Visual Studio Code 1.75.0 or laterron-lspbinary installed and available in your PATH InstallationInstall the LSP Servercargo install ron-lsp
 Install the ExtensionSearch for "RON LSP" in the VSCode Extensions view, or install from the VSCode Marketplace. ConfigurationIf ron-lspis not in your PATH, configure the binary location in your settings: {
  "ronLsp.serverPath": "/path/to/ron-lsp"
}
 Usage
Open a Rust project with RON filesAdd type annotations to your RON files: /* @[crate::models::User] */
User(
    id: 1,
    name: "Alice",
    email: "alice@example.com",
)
The LSP will automatically: 
Validate field names and typesProvide completions as you typeShow documentation on hoverEnable go-to-definition navigation Extension Settings
ronLsp.serverPath: Path to theron-lspbinary (defaults toron-lspin PATH)ronLsp.trace.server: Traces the communication between VSCode and the language server (for debugging) TroubleshootingServer not starting
Verify ron-lspis installed: ron-lsp check
Check the server path configuration in your settingsEnable trace logging and check the Output panel: 
View → Output → RON LSPSet "ronLsp.trace.server": "verbose"in settings No completions or diagnostics
Make sure your RON file has a type annotation: /* @[crate::models::YourType] */
Verify the type exists in your Rust projectCheck that your Rust project has a Cargo.tomlfile LicenseMIT Relevant Links
ron-lsp - The LSP server repositoryRON - Rust Object Notation 
 DevelopmentBuilding from Source
Clone this repository: git clone https://github.com/jasonjmcghee/ron-lsp.git
cd ron-lsp/vscode-extension
Install dependencies: npm install
Package the extension: npx vsce package
Install the generated .vsixfile via Command Palette → Extensions: Install from VSIX ContributingContributions are welcome! Please open an issue or pull request on GitHub. |  |