Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>NXC SyntaxNew to Visual Studio Code? Get it now.
NXC Syntax

NXC Syntax

Ênrell

|
2 installs
| (0) | Free
Syntax highlighting for the Not eXactly C (NXC) language (LEGO Mindstorms).
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

NXC Syntax

VS Code extension with support for the NXC (Not eXactly C) language for LEGO Mindstorms.

Features

  • Syntax highlighting for .nxc files
  • Real-time error detection
  • Auto-completion for functions and constants
  • Hover information for functions
  • Basic semantic analysis

Error Detection

  • Unclosed braces and parentheses
  • Unterminated strings
  • Unused variables
  • Undefined functions
  • Lines too long

Installation

Install directly from the VS Code Marketplace by searching for "NXC Syntax".

Alternatively, download the .vsix file from releases and install via Extensions > Install from VSIX.

Development

git clone https://github.com/enrell/nxc-syntax.git
cd nxc-syntax
bun install
bun run build

Commands

bun run dev        # Development build
bun run build      # Generate VSIX package
bun run test       # Run tests

Configuration

{
  "nxc.diagnostics.enabled": true,
  "nxc.diagnostics.maxLineLength": 120,
  "nxc.diagnostics.checkUnusedVariables": true
}

Available Commands

  • NXC: Rebuild Index - Rebuild the symbol index
  • NXC: Reparse Open Files - Reanalyze all open files
  • NXC: Clear All Diagnostics - Clear all diagnostics

License

MIT

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft