Runtime Management
How the BoxLang IntelliJ plugin manages runtime versions — automatic downloads, version selection, .bvmrc support, and cache management.
The BoxLang IntelliJ plugin automatically manages BoxLang runtime versions, LSP modules, and debugger modules. It downloads components on demand and caches them locally for fast startup.
Automatic Downloads
When you first open a BoxLang project or configure settings, the plugin can automatically download required components:
Runtime
The BoxLang runtime is the core execution engine. The plugin:
Checks if a runtime is configured in settings
Downloads the specified version from the Ortus S3 bucket
Caches it in the IDE system directory
Uses it for all run configurations
LSP Module
The Language Server Protocol module provides code intelligence. The plugin:
Downloads the LSP module from ForgeBox
Installs it in the LSP cache directory
Starts the LSP server automatically
Restarts the server when settings change
Debugger Module
The debugger module enables debugging support. The plugin:
Downloads the debugger module from ForgeBox
Installs it in the debugger cache directory
Uses it when starting debug sessions
Version Selection
Selecting a Runtime Version
Open Settings → Languages & Frameworks → BoxLang
Click Change next to BoxLang Runtime
Select a version from the list:
Latest — Most recent stable release
Specific version — Choose from available versions
Click OK
The plugin downloads and installs the selected version
Selecting an LSP Version
Open Settings → Languages & Frameworks → BoxLang
Click Change next to LSP Module
Select a version from the list
Click OK
The LSP server restarts with the new version
Selecting a Debugger Version
Open Settings → Languages & Frameworks → BoxLang
Click Change next to Debugger Module
Select a version from the list
Click OK
.bvmrc Support
The plugin supports .bvmrc files for project-specific BoxLang versions:
How It Works
Plugin checks for
.bvmrcin the project rootReads the version string (e.g.,
1.13.0orlatest)Downloads that version if not already cached
Uses it for all run configurations in that project
.bvmrc Format
Create a .bvmrc file in your project root:
Or use latest for the most recent version:
Enabling .bvmrc
Open Settings → Languages & Frameworks → BoxLang
Check Use .bvmrc for BoxLang version
Click Apply
Priority Order
When multiple version sources exist, the plugin uses this priority:
.bvmrc file (if enabled and present)
Project-level settings (if configured)
Application-level settings (global default)
Cache Management
Cache Locations
The plugin stores downloaded components in the IDE system directory:
Runtime
{IDE_SYSTEM}/boxlang/runtimes/{version}/
LSP
{IDE_SYSTEM}/boxlang/lsp/{version}/
Debugger
{IDE_SYSTEM}/boxlang/debugger/{version}/
Finding the IDE System Directory:
macOS:
~/Library/Caches/JetBrains/IntelliJIdea{VERSION}Windows:
%LOCALAPPDATA%\JetBrains\IntelliJIdea{VERSION}Linux:
~/.cache/JetBrains/IntelliJIdea{VERSION}
Deleting Cached Versions
To free disk space or force a re-download:
Open Settings → Languages & Frameworks → BoxLang
Click Delete next to the component
Confirm the deletion
The plugin will re-download when needed
Manual Cache Cleanup
You can manually delete cached versions:
Version Information
Viewing Installed Versions
Open Settings → Languages & Frameworks → BoxLang
Check the status panels:
BoxLang Runtime — Shows installed version and path
LSP Module — Shows installed version and path
Debugger Module — Shows installed version and path
Checking for Updates
The plugin does not automatically check for updates. To update:
Click Change next to a component
Select Latest or a newer version
The plugin downloads and installs it
Troubleshooting
Download Failures
Symptoms: "Failed to download BoxLang runtime"
Solutions:
Check internet connection
Verify firewall allows HTTPS connections to
ortus-boxlang.s3.amazonaws.comTry downloading manually and configuring a custom path
Check IDE logs: Help → Show Log in Finder/Explorer
Version Not Found
Symptoms: "BoxLang version 1.99.0 not found"
Solutions:
Verify the version exists on ForgeBox
Use Latest instead of a specific version
Check for typos in
.bvmrcfile
LSP Not Starting
Symptoms: No code intelligence features
Solutions:
Verify LSP module is installed in settings
Check Java 21+ is configured
Increase LSP heap size (e.g., 1024 MB)
Restart the IDE
.bvmrc Not Working
Symptoms: Plugin uses wrong version despite .bvmrc
Solutions:
Verify Use .bvmrc is enabled in settings
Check
.bvmrcis in the project root (not a subdirectory)Verify
.bvmrccontains only the version string (no extra whitespace)Restart the IDE to reload the configuration
Best Practices
Use .bvmrc for Projects
Always use .bvmrc for project-specific versions:
This ensures all team members use the same BoxLang version.
Pin LSP to Runtime Version
Leave LSP BoxLang Version empty to match the runtime version automatically. This prevents version mismatches.
Regular Updates
Periodically update to the latest versions:
Click Change next to each component
Select Latest
Test your project
Commit
.bvmrcwith the new version
Clean Old Versions
Periodically delete old cached versions to free disk space:
Open settings
Click Delete for old versions
Or manually clean the cache directory
Related Pages
Last updated
Was this helpful?