This extension contains Kahroba Snippets and Commands.
Launch Quick Open:
- Linux :
Ctrl+P
- macOS :
⌘P
- Windows :
Ctrl+P
Paste the following command and press Enter
:
ext install AmirhosseinMalekian.kahroba
- Step 1. Install a supported version of Kahroba on your system
- Step 2. Install the Kahroba extension for Visual Studio Code.
- Step 3. Open or create a Kahroba file and start coding!
- [Code autocompletion] - Autocompletion for Kahroba keywords, functions, and variables.
- [Code snippets] - Code snippets are templates that make it easier to enter repeating code patterns, such as loops or conditional-statements.
- [Highlighting] - Syntax highlighting for Kahroba code.
- (.kahroba)
- (.krb)
Below is a list of all available snippets and the triggers of each one. The ⇥ means the TAB
key.
Snippet | Content |
---|---|
in→ |
input |
fn→ |
function declaration |
for→ |
for loop |
ie→ |
if/else statement |
if→ |
if statement |
el→ |
else statement |
pl→ |
println |
p→ |