Visual Studio Code Extension for SASjs
This project contains the source code for the SASjs VS Code extension, available in the following locations:
You can run code on SAS Viya, SAS 9 EBI or on regular Foundation SAS!
Execute code on SAS Viya
When a SAS program is selected, you can click the running man icon to execute that code on SAS Viya.
The first time you do this, you will receive a series of prompts:
You can now execute code! You can also highlight a section of code and run that. Each log returned will be stored in a
Execute code on Foundation SAS
In order to run on Foundation / Base / Desktop SAS you will need a running version of SASjs server (on the same machine where SAS is installed). You can download SASjs server here. Configuration instructions are here.
Once SASjs server is running, just click the running man and select 'add new target'. Fill in the prompts as follows:
You can now execute code. The log will be returned in a new window.
SAS Lint and Format
Spend less time on code reviews and more time pushing code! Select VIEW->PROBLEMS (or ctrl+shift+M) to examine the currently opened SAS program for issues.
Rules can be configured by creating a
We've now added the ability to automatically fix certain problems within SAS files, such as trailing spaces, missing Doxygen header blocks and missing macro names in
Two themes are provided with SAS Code formatting - a Light Theme and a Dark Theme
SASjs is an open source project, and contributions are warmly welcomed!
Thanks goes to these wonderful people (emoji key):
This project follows the all-contributors specification. Contributions of any kind welcome!