Editors
VSCode
Section titled “VSCode”LikeC4 has official extension for VSCode - open-source and available on GitHub.
The extension provides:
- Validation and error reporting
- Semantic syntax highlighting
- Live Previews (and editing)
- Code completion and navigation
- Resolve references (like
find all references
,go to definition
.. ) - “Safe” renames
- Hover information
- MCP Server
Extension is universal and can run in the browser.
Try example-cloud-system with:
github.dev Open example project in the browser using github.dev
vscode.dev Open example project in the browser using vscode.dev
Stackblitz Open example project in the browser using Stackblitz
Neovim
Section titled “Neovim”LikeC4 has a Neovim plugin for syntax highlighting and LSP integration with code navigation and completion.
The plugin supports:
- Auto start of the LikeC4 language server for files with .c4 extension
- Validation and error reporting
- Semantic syntax highlighting
- Code completion and navigation
- Resolve references (like
find all references
,go to definition
.. ) - “Safe” renames (do not to forget to write your buffers)
- Hover information
- Live Previews (and editing)
likec4.nvim is available in a separate repository on GitHub - likec4/likec4.nvim.
Installation:
{ 'likec4/likec4.nvim', build = 'npm install -g @likec4/language-server'}
JetBrains IDEs
Section titled “JetBrains IDEs”LikeC4 has a JetBrains plugin for syntax highlighting and LSP integration with code navigation and completion.
The plugin is available in the JetBrains Marketplace and GitHub - likec4/jetbrains-plugin.