Visualfiles Scripting for VS Code
A Visual Studio Code extension that provides syntax highlighting and language support for Visualfiles Scripting language.
Features
- Syntax Highlighting: Full syntax highlighting for Visualfiles scripting commands, variables, comments, and operators
- Language Support: Proper language configuration with auto-closing brackets and comment support
- File Association: Automatically recognizes
.vfs and .txt files containing Visualfiles scripts
Syntax Highlighting Features
Commands
- Control flow:
[&If], [&Else], [&EndIf], [&DoWhile], [&EndDoWhile]
- Function calls:
[&Call], [&Assign], [&Show], [&Message]
- Data operations:
[&SelectRelation], [&With], [&EndWith]
- System operations:
[&OSCommand], [&Quit], [&Out]
- Header blocks with asterisks (
***)
- Line comments (
//, ##, **)
- Amendment sections
Operators
- Assignment:
=
- Comparison:
<=, >=, <, >, &Begins, &Or
- Arithmetic:
+, -, *, /
- Methods:
:l-remove, :proval, :replace, :choose
Installation
From Source
- Clone or download this repository
- Copy the extension folder to your VS Code extensions directory:
- Windows:
%USERPROFILE%\.vscode\extensions\
- macOS:
~/.vscode/extensions/
- Linux:
~/.vscode/extensions/
- Restart VS Code
- The extension will automatically activate for
.vfs and .txt files
Manual Installation
- Open VS Code
- Go to Extensions (Ctrl+Shift+X)
- Click on the
... menu and select "Install from VSIX..."
- Select the
.vsix package file
- Restart VS Code
Usage
- Open any Visualfiles script file (
.vfs or .txt)
- The syntax highlighting will automatically activate
- Use VS Code's built-in features like:
- Folding code blocks
- Auto-closing brackets
- Comment toggling (Ctrl+/)
File Extensions
The extension recognizes these file patterns:
.vfs - Dedicated Visualfiles script files
.txt - Text files (commonly used for Visualfiles scripts)
Language Features
- Comment Support: Use
Ctrl+/ to toggle line comments
- Bracket Matching: Automatic bracket pair highlighting
- Auto-closing: Brackets and quotes auto-close
- Word Selection: Double-click to select Visualfiles variables and commands
| |