A comprehensive VS Code extension that provides language support for PowerWorld auxiliary (.aux) files.
Features
Syntax Highlighting
PowerWorld keywords, functions, and data blocks
String highlighting (double quotes)
Comment highlighting (//)
SCRIPT block highlighting
Language Features
Hover Information: Shows field details when hovering over data values
Code Folding: Collapse SCRIPT and data blocks (includes headers)
Commenting: Ctrl+/ hotkey support for line comments
Document Symbols: Shows SCRIPT blocks in outline/breadcrumb navigation
Validation & Error Detection
Field Validation: Detects extra/missing fields in data blocks
Semicolon Validation: Ensures function calls in SCRIPT blocks end with ;
Smart Context: Proper state tracking between SCRIPT and data blocks
Usage
The extension automatically activates when you open .aux files. Features include:
Syntax highlighting for PowerWorld syntax
Field validation with red squiggles for errors
Hover information showing field names and types
Code folding to collapse sections
Contributing
This extension was developed to improve the PowerWorld .aux file development experience. Feel free to submit issues or feature requests.
License
MIT License - see LICENSE file for details.
Disclaimer
This extension is an independent project and is not affiliated with, endorsed by, or sponsored by PowerWorld Corporation. PowerWorld® is a registered trademark of PowerWorld Corporation. This extension is developed by the community to enhance the development experience when working with PowerWorld auxiliary files.
The extension author makes no warranties about the accuracy, reliability, or suitability of this extension for any particular purpose. Use at your own risk.
Requirements
Visual Studio Code 1.74.0 or higher
Known Issues
None currently reported
Release Notes
0.1.7
Fixed issue where certain Data blocks weren't displaying hover information
Fixed issue where data blocks starting with a number were not being recognized (e.g. 3WXFormer)
Fixed issue where hover hint was being shown in the DATA block definition
0.1.6
Fixed issues with some Scipt/Data blocks not being properly recognized.
Consolidated some of the Script/Data block logic
0.1.5
Added disclaimer
0.1.4
Updated documentation
0.1.3
Upgraded to Node.js 20 for better compatibility
Added automated extension packaging with VSCE
Implemented cross-platform build support
0.1.2
Fixed Node.js 18 compatibility issues with VSCE packaging
Upgraded to latest VSCE version for better reliability
0.1.1
Added automatic publishing to VSCode marketplace
0.1.0
🎯 Initial Release
Basic syntax highlighting for PowerWorld .aux files