- Java 23+
- Syntax highlighting for Karina files
- Command for running Karina code directly from VSCode
- Error and warning diagnostics for Karina files
- Quick fixes for imports and types
- Completion suggestions
- Document Symbols and Outline view
-
Install the extension from the VSCode Marketplace or search for "Karina" in the extensions tab of VSCode.
-
Download the Karina Language Server and configure the path in the extension settings (
karina.lspLocation). -
Create a new folder called
srcin your workspace and create amain.krnafile in it with the following content:pub fn main(args: [string]) { println("Hello, World!") } -
Create a
karina-build.jsonfile in the root of your workspace with the following content:{ "source": "src" } -
Set a Keybind for the
karina.run.maincommand or use the command palette to run.