SmartAssembly Language Support for Visual Studio Code
Adds syntax highlighting, snippets and autocompletion for SmartAssembly (.tab) files.
SmartAssembly is a scripting language by Sigmaxim used to automate Creo Parametric (formerly Pro/ENGINEER).
Features
Syntax Highlighting
Colorizes all SmartAssembly language elements:
- Commands —
ASSEMBLE, LOAD_MDL, SET_MDL_PARAM, EXCEL_CONNECT, JSON_GET_VALUE, ...
- Control structures —
IF / ELSE, FOR, WHILE, BEGIN_CATCH_ERROR, ...
- Constants & options —
MATE, ALIGN, TRUE, FALSE, WIREFRAME, SHADED, ...
- Built-in functions —
sqrt(), strlen(), strmid(), itos(), stof(), ...
- Strings — double-quoted string literals
- Comments — line comments (
!) and block comments (/* ... */)
Snippets
1400+ snippets covering the full SmartAssembly API, with:
- Tab stops to navigate between parameters
- Descriptions extracted from the official documentation
- Block templates for structured commands (e.g.
ADD_CONSTRAINTS → END_ADD_CONSTRAINTS)
Auto-completion
Keyword completion for constants and option values used as command arguments.
Editor Behaviour
Automatically configured when opening .tab files:
| Setting |
Value |
| Indentation |
Tabs |
| File encoding |
Windows-1252 |
| Render whitespace |
All |
| Auto-guess encoding |
Disabled |
| Line comment |
! |
| Block comment |
/* ... */ |
| Auto-indent |
On IF, FOR, WHILE, BEGIN_*, ... |
| Auto-dedent |
On END, ELSE |
Requirements
- Visual Studio Code
1.32.0 or higher
- SmartAssembly / Creo Parametric environment (Sigmaxim)
File Association
This extension activates automatically for files with the .tab extension.
Based on SmartAssembly datecode : 2026-02-03-01
| |