Stratum Language Support
Official VSCode extension for Stratum - a declarative, event-driven general-purpose language for building workspace features, extensions, and full applications.
Features
- 140+ Built-in Functions - Comprehensive syntax highlighting across 15 categories
- Advanced Syntax Support - Control flow, type system, operators, and more
- IntelliSense - Auto-completion for functions, keywords, and patterns
- Multiple File Extensions -
.stratum, .st, .strata, .stratm, .stm
- Custom Icons - Professional ST logo for all Stratum files
- Code Snippets - Quick scaffolding for extensions, events, and handlers
- JSDoc Comments - Documentation annotations with
@param, @event, @action
Quick Start
extension "Session Alerts" {
description "Notify admins when sessions start"
permissions ["manage_notifications"]
event "session.started" {
notify "admins" {
title "Session Active"
message field "session.name"
}
}
}
Language Capabilities
140+ Built-in Functions
- Workspace (15):
workspace-lock, workspace-members, workspace-audit
- Users (20):
user-get, user-role, user-activity, user-authenticate
- Sessions (15):
session-create, session-start, session-hosts
- Notifications (15):
notify, email, webhook, discord-send
- Storage (20):
db-query, redis-get, file-read, cache-set
- Time (20):
time-format, time-diff, schedule-at, schedule-cron
- Strings (20):
string-concat, string-match, string-template
- Math (20):
math-round, math-random, math-clamp
- Arrays (20):
array-map, array-filter, array-reduce
- Validation (15):
validate-email, validate-url, sanitize-html
- HTTP (15):
http-get, http-post, api-call, graphql-query
- Security (20):
encrypt, hash, jwt-encode, rate-limit
- UI (15):
ui-render, ui-modal, ui-navigate
- Integrations (15):
roblox-api, discord-api, github-api
Control Flow
if, else, elif, unless, switch, case, match
for, while, loop, foreach, map, filter, reduce
async, await, try, catch, finally
return, yield, break, continue, throw
Type System
- Primitives:
number, string, boolean, null
- Collections:
array, object, map, set
- Special:
date, time, timestamp, uuid, url, email, regex
- Storage Tiers:
state, persist, kv, memory, redis, database
Operators
- Comparison:
is, is_not, greater_than, less_than, between
- Logical:
and, or, not, xor
- String:
contains, starts_with, ends_with, matches
- Arithmetic:
+, -, *, /, %, **
Mono Editor Integration
The Stratum extension automatically integrates with the Mono editor. No separate configuration needed - write your code in Mono and it will use the same language server and syntax definitions.
Snippets
Type and press Tab:
ext → Extension boilerplate
event → Event handler
state → State variable
notify → Notification action
if → Conditional block
for → Loop block
function → Function declaration
Support
Issues: Report via GitHub or email support@coreline.software
v1.0.10 | Built by Coreline | Creator: 175985208 (Ron)
| |