Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Uniface SyntaxNew to Visual Studio Code? Get it now.
Uniface Syntax

Uniface Syntax

Andrew Noorden

|
9 installs
| (1) | Free
Uniface 10 Syntax highlighting and code snippets support!
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Uniface Syntax

Syntax highlighting and code snippets (127+) for Uniface Script in Visual Studio Code.

Version VS Code License

Uniface Classic Theme

For a complete Uniface IDE experience, switch to the Uniface Classic color theme:

  1. Open Command Palette (Ctrl+Shift+P)
  2. Type "Color Theme" and select Preferences: Color Theme
  3. Choose Uniface Classic Light/Dark mode

Features

Syntax Highlighting

Full syntax highlighting for Uniface Script with support for:

  • Keywords and control flow statements
  • Built-in functions ($concat, $status, $procerror, etc.)
  • Variable declarations with type annotations
  • Parameter direction modifiers (:in, :out, :inout)
  • String interpolation (%%variable%%%)
  • Comments (; and #Comment markers)
  • Operators and literals

Code Snippets

Quickly insert common UScript/ProcScript patterns:

Prefix Description
entry Full entry point with params and variables
params Parameters block
variables Variables block
if If statement
ifelse If-else statement
while While loop
for For loop
forentity ForEntity loop
selectcase Select case statement
call Call operation
activate Activate component
selectdb SelectDB pattern
putmess Put message
errorhandling Error handling pattern

Language Configuration

  • Comment toggling with Ctrl+/
  • Bracket matching and auto-closing
  • Code folding for blocks (entry/end, params/endparams, etc.)

Uniface XML Support

Enhanced support for Uniface XML export files with:

  • Embedded UScript/ProcScript highlighting within XML
  • Auto-folding of XML structure on file open
  • Dimmed XML tags to emphasize UScript/ProcScript code
  • Toggle visibility commands for clean code review

Syntax Colors

The extension applies Uniface IDE-style colors that work with any VS Code theme:

Element Color Example
Keywords Blue entry, end, if, while, call
Data types Pink string, numeric, boolean, date
Direction modifiers Magenta :in, :out, :inout
Built-in functions Blue $concat, $status, $procerror
System variables Blue $$user, $$sysdate
Strings Purple "text", 'text'
Comments Green ; comment
Comment markers Teal #Comment

Uniface XML Commands

When working with Uniface XML export files, use these commands:

Command Shortcut Description
Toggle XML Visibility Ctrl+Shift+U Show/hide XML dimming
Clean View Ctrl+Shift+H Hide XML, show only UScript/ProcScript
Fold All XML Command >Fold All Collapse all XML structure

Supported File Types

Extension Description
.prc UScript/ProcScript files
.uscript UScript files
**/[A-Z]*[0-9]*.xml Uniface XML export files

Installation

From VS Code Marketplace

  1. Open VS Code
  2. Go to Extensions (Ctrl+Shift+X)
  3. Search for "Uniface Syntax"
  4. Click Install

From VSIX File

  1. Download the .vsix file
  2. Open VS Code
  3. Go to Extensions (Ctrl+Shift+X)
  4. Click the ... menu and select Install from VSIX...
  5. Select the downloaded file

Requirements

  • Visual Studio Code 1.75.0 or higher

Documentation

For more information about Uniface Script/ProcScript, see the official Uniface documentation.

Author

Andrew Noorden


Built for Uniface developers who want a modern editing experience.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft