File Templates
How to create new BoxLang files in IntelliJ IDEA — file templates for classes, scripts, and templates with customizable content.
Creating a New BoxLang File
Method 1: From Project View
Method 2: From Menu
Method 3: Keyboard Shortcut
File Template Types
BoxLang Class (.bx)
.bx)BoxLang Script (.bxs)
.bxs)BoxLang Template (.bxm)
.bxm)Customizing Templates
Edit Existing Templates
Create Custom Templates
Template Variables
Variable
Description
Example
Example: Custom Service Template
Template Best Practices
Include Documentation
Use Type Hints
Follow Naming Conventions
Live Templates
Built-in Live Templates
Abbreviation
Expands To
Creating Live Templates
Using Live Templates
Related Pages
Last updated
Was this helpful?