Professional IDE extension for Kria programming language with syntax highlighting, diagnostics, formatting, and intelligent code completion.
- Hover Information - Hover over functions, keywords, and variables to see documentation and type information
- Go to Definition - Press
Ctrl+Clickon any function or variable to jump to its definition - IntelliSense / Autocomplete - Get smart code suggestions while typing
- Type
prin→ Suggestsprint() - Type
arr.→ Suggestspush,pop,length - Type
input<→ Suggestsstr,int,float - Type
typ→ Suggeststype() - Type
wait→ Suggestswait() - Type
import→ Suggests.krxfiles in directory - Type
for→ Suggests loop templates - Type
ifelse→ Suggests if-else templates
- Type
- Code Diagnostics & Linting - Real-time error detection
- Undefined functions and variables warnings
- Bracket matching and validation
- Type error detection (invalid input types)
- Unreachable code warnings
- Code Formatter - Automatic code formatting
- Press
Shift+Alt+Fto format entire document - Automatic indentation based on brackets
- Consistent operator spacing
- Proper keyword formatting
- Press
- Import Path Autocomplete - Smart import suggestions
- Type
import _ from "./"→ Lists available.krxfiles - Navigate directory structure with
../
- Type
- Enhanced Bracket Autoclosing
- Auto-closes all bracket types:
{},[],(),#[] - Auto-closes quotes:
"and"""multi-line strings - Auto-closes block comments:
/* */
- Auto-closes all bracket types:
- Keywords -
if,elseif,else,while,for,in,fn,set,return,break,continue - Built-in Functions -
print(),input(),push(),pop(),rmv(),type(),wait() - Data Types
- Strings (Single & Multi-line) -
"string"and"""multi-line string""" - Numbers (Light Cyan)
- Booleans & Null (Purple)
- Arrays
[...](Mutable) - Immutable Arrays
#[...] - Objects
{...}
- Strings (Single & Multi-line) -
- Generic Types -
<str>,<int>,<float> - Operators -
+,-,*,/,==,!=,>,<,>=,<=,= - Comments - Single-line
// commentand Multi-line/* comment */
- Auto-closing brackets:
{},(),"" - Automatic indentation
- Bracket matching
- File icon for
.krxfiles - Code snippets for common patterns
Quick templates for common code patterns (50+ snippets):
- Control Flow -
fn,if,ifelse,ifelseif,while,for,forobj,try,switch,guard - Input/Output -
inputstr,inputint,inputfloat,print - Arrays & Objects -
arr,immarr,obj,push,pop,rmv,elem,setelement,iterarr,iterobj - Functions -
fnret,fnested,anon,fnrec,expfn,exp - Utilities -
type,wait,cmt,str3,prop,delay - Advanced -
ternary,inline,imp,impall
- Search for "Kria Programming Language" in VS Code Extensions Marketplace
- Click the "Install" button
- Restart VS Code
Create a new file with .krx extension:
// Hello World in Kria
print("Hello, Kria!")
// Variables
set name = "World"
set count = 42
// Functions
fn greet(greeting, target) {
print(greeting)
print(target)
}
greet("Hello", name)
Save your Kria code with the .krx extension.
- VS Code 1.75.0 or newer
MIT License - See LICENSE file in directory