Altair SLC VSCode Extension
This is the official Altair SLC VSCode extension, providing the ability to edit and execute programs written in the language of SAS using Altair SLC
Start an SLC session
In order to start an Altair SLC session it is necessary to create a Connection Profile. A Connection Profile determines how Altair SLC is run, that is, the location of the Altair SLC installation, plus a list of any required startup system options. Multiple connections profiles can be defined, but only one Altair SLC session can be running at once.
The extension will automatically create connection profiles for any existing installations of Altair SLC that exist the first time that it is run. Subsequently new connection profiles can be created that reference either one of the existing installations of Altair SLC, or a custom installation location.
An SLC session can be auto started when the extension is activated. The selection of the connection profile to autostart can be defined at a per-workspace or a per-user level.
Startup System Options
System options can be set at startup by editing the connection profile.
The Altair SLC VSCode extension also supports autoexec scripts. Note that this is separate from the normal autoexec file support provided by Altair SLC, this is configuration that is part of the connection profile.
An autoexec program can be provided as a text string, or as a reference to a file. Multiple autoexec programs can be provided.
Autoexec programs can be defined by editing the connection profile:
Execute source code and browse results
Use an SLC Notebook
A new SLC notebook file can be created with the "SLC: New SLC Notebook" action.
Executing cells in an SLC notebook will use the same SLC session as executing code from a standard source file. The log and ODS HTML output from executing the cell will be included as output to the cell in the notebook.
SLC Language Server
The SLC VSCode extension includes integration with the SLC language server.
By default, the latest version of the SLC language server is automatically downloaded
on starting the VSCode extension. If necessary the language server can be manually
updated using the
The version of language server can be constrained using the
The SLC VSCode extension include some simple telemetry to gather information on
feature usage and errors to help improve the extension.
Telemetry is controlled by the standard VSCode
The Altair SLC VSCode extension and the associated Altair SLC language server is supported on Windows, Linux and MacOS. The Altair SLC language server is supported on the following minimum platform versions.
The language server is made available for Windows x64, and for Linux and MacOS on both x64 and arm64 architectures.
The Altair SLC VSCode extension can be used on any platform supported bs VSCode if the language server is disabled in the configuration settings.
The following functionality is intended for future releases:
Support for this extension is provided through the GitHub Issue Tracker.