Installation
Install the SAS Extension for Positron
Each release of the SAS Extension for Positron is published as a VSIX file in the Releases of the posit-dev/positron-sas-extension repository. For now, you install the extension from that file.
-
Open the latest release and download the VSIX file from Assets. The file is named
positron-sas-<version>.vsix, for examplepositron-sas-0.5.0.vsix. -
In Positron, open the Extensions view by clicking the Extensions icon in the Activity Bar.
-
Click the ... (Views and More Actions) menu at the top of the Extensions view, and choose Install from VSIX.... You can also open the command palette (
F1, orCtrl+Shift+Pon Windows or Linux, orShift+CMD+Pon macOS) and run Extensions: Install from VSIX.... -
Select the downloaded file. When the installation is complete, reload the window if Positron asks you to.
To update the extension, install the VSIX file of the newer release in the same way.
After the installation, create a connection profile as described in Configuring the SAS Extension. If SAS is installed on the same machine, the extension adds a local profile for it automatically. See Local SAS.
In Posit Workbench
In a Positron Pro session in Posit Workbench, you install the extension the same way. The extension is installed in your home directory, so it stays available in your later sessions, and the installation can take a few minutes. If sessions have no access to GitHub, download the VSIX file on another machine and upload it to your home directory in the session, then choose Install from VSIX... and select it.
For the ways to run SAS in Workbench, see SAS with Posit Workbench.
Install a development build
The repository builds the extension after every change that reaches the main branch, and publishes each build as a pre-release. Use a development build to try a change before the next release. A development build can contain unfinished changes.
-
Open the Releases page and find the newest entry marked Pre-release. Its name is
Positron SAS <version>-dev.<number>, where<version>is the last release. -
Download the VSIX file from Assets, and install it as described above.
The notes of a pre-release list the unreleased changes and the commits since the last release. The VSIX file keeps the version number of the last release, so Positron shows the same version for a development build and for the release before it. To return to a released version, install the VSIX file of the latest release. The repository keeps the five newest development builds.
Install the SAS Extension for Visual Studio Code
The SAS Extension for Positron builds on the SAS Extension for Visual Studio Code, whose documentation is in the other sections of this site. To use SAS's own extension in Visual Studio Code, install the latest version of Visual Studio Code (version 1.89 or later), and then:
-
Open the Extensions view by clicking the Extensions icon in the Activity Bar on the left side of the Visual Studio Code window.
-
Search for the 'Official' SAS extension, and click the Install button. Once the installation is complete, the Install button changes to the Manage button.
NOTE:
For macOS users, some environments may require additional certificate installation steps before connecting successfully to a SAS Viya server.
Please refer to the FAQ (see "Why did I get the Unable to parse decrypted password error?") for details.