Skip to content

Plixo2/Karina-VSCode

Repository files navigation

Karina VSCode Extension

karina-lang.org


Test Status Java Version Karina Version License: Apache-2.0

Requirements

  • Java 23+

Features

  • 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

Setup

  • 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 src in your workspace and create a main.krna file in it with the following content:

    pub fn main(args: [string]) {
        println("Hello, World!")
    }
    
  • Create a karina-build.json file in the root of your workspace with the following content:

    {
      "source": "src"
    }
  • Set a Keybind for the karina.run.main command or use the command palette to run.

Releases

No releases published

Packages

No packages published