LOT Language Support Extension for Visual Studio Code
Version: 0.0.6
Overview
The LOT Language Support extension provides comprehensive language features for the LOT language within Visual Studio Code. It enhances the development experience when working with Coreflux systems by offering syntax highlighting, code snippets, and language configurations tailored for LOT.
Features
Syntax Highlighting: Highlights keywords, strings, numbers, comments, operators, and variables specific to the LOT language.
Code Snippets: Offers handy snippets for defining rules, models, and routes, speeding up your coding workflow.
Language Configuration: Supports bracket matching, auto-closing pairs, and comment toggling to improve code editing efficiency.
Installation
From VS Code Marketplace:
Open Visual Studio Code.
Go to the Extensions view by clicking on the Extensions icon in the Activity Bar or pressing Ctrl+Shift+X.
Search for "LOT Language Support" and click Install.
Manual Installation:
Download the latest .vsix file from the GitHub Releases (replace with your repository link).
In Visual Studio Code, go to the Extensions view.
Click on the three dots (...) in the top-right corner and select "Install from VSIX...".
Navigate to the downloaded .vsix file and install it.
Usage
Syntax Highlighting: Open any .lot file, and syntax highlighting will be applied automatically.
Code Snippets: Start typing defrule, defmodel, or defroute and press Tab to insert code snippets.
Example:
DEFINE RULE AllowUserCreation WITH PRIORITY 1 FOR UserManagementCreation
IF USER HAS AllowedUserManagement OR USER IS "root" THEN
ALLOW
ELSE
DENY