Full language support for Kashub (.kh) scripts with real-time debugging and live connection to Minecraft.
Features
🎨 Syntax Highlighting
Complete syntax highlighting for all KHScript commands, keywords, and constructs.
💡 IntelliSense
Online mode: Full autocomplete from Kashub mod with real command signatures
Offline mode: Basic autocomplete with static command list
🐛 Real-Time Validation
Syntax errors highlighted instantly
Powered by actual Kashub parser (when connected)
Works offline with basic validation
🖥️ Kashub Console
Live output from running scripts
Color-coded log levels (info/warn/error/debug)
Task tracking
Auto-scroll
Export logs
⚡ Run Scripts from VSCode
Press Ctrl+Shift+K to run current script in Minecraft
Results appear in Kashub Console
No need to switch windows!
🔄 Hot-Reload Support
Works seamlessly with Kashub v0.6.0+ hot-reload feature!
Requirements
Minecraft with Kashub mod v0.7.0+
Mod's API server must be enabled (default: enabled)
Default ports: HTTP 25566, WebSocket 25567
Installation
Install the extension from VSCode Marketplace
Start Minecraft with Kashub mod
Open a .kh file in VSCode
Start coding! IntelliSense will work automatically
Press Ctrl+Shift+K to run script
Commands
| Command | Keybinding | Description |
|---------|------------|-------------|
| Kashub: Run Current Script | Ctrl+Shift+K | Run the current script in Minecraft |
| Kashub: Open Console | Ctrl+Shift+\`` | Open the Kashub Console panel | | Kashub: Show Variables| - | Show all environment variables | |Kashub: Stop All Tasks| - | Stop all running scripts | |Kashub: Reconnect to Mod` | - | Reconnect to Kashub API |