Skip to content

Commit

Permalink
Merge pull request #416 from sasjs/sas-code-autocomplete
Browse files Browse the repository at this point in the history
SAS code and SASjs Macros auto-completion
  • Loading branch information
YuryShkoda authored Aug 8, 2023
2 parents abeb865 + df80a8d commit 1756a92
Show file tree
Hide file tree
Showing 8 changed files with 154 additions and 314 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ node_modules
*.vsix
.DS_Store
/coverage
/snippets
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ If you have questions or would like support on the extension, visit our support
* [Directory Synchronisation](#directory-synchronisation)
* [SAS Lint and Format](#sas-lint-and-format)
* [Compile, Build and Deploy](#compile-build-deploy)
* [Snippets for Base & SASjs Core](#snippets)

## Code Documentation

Expand Down Expand Up @@ -153,6 +154,13 @@ If a `*.sas` file is selected and a `Compile, Build, Deploy` icon is clicked, th
if a `sasjsconfig.json` file is selected and a `Compile, Build, Deploy` icon is clicked, then an entire project will be compiled, built and deployed. Compiled and built files will be located in `sasjsbuild` folder at the root of the project. If an error appeared during the process, `log` file should be created in `sasjsresults` folder.
![image](./assets/screenshots/cbd-project.png)


## Snippets

Snippets (code-completion) are provided both for Base SAS (using the [official SAS VS Code Extension](https://github.com/sassoftware/vscode-sas-extension) files) and [SASjs Core](https://core.sasjs.io) (using the [snippets generator](https://cli.sasjs.io/snippets) of the SASjs CLI). To use snippets, just start typing SAS macro name, eg:

![image](./assets/screenshots/vscode-snippets.png)

## Contributions

SASjs is an open source project, and contributions are warmly welcomed!
Expand Down
Binary file added assets/screenshots/vscode-snippets.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 1756a92

Please sign in to comment.