sassoftware / vscode-sas-extension

This SAS Extension for Visual Studio Code provides support for the SAS language, including features such as SAS syntax highlighting, code completion, hover help, code folding, outline, SAS code snippets and run SAS code.
https://sassoftware.github.io/vscode-sas-extension/
Apache License 2.0
121 stars 48 forks source link

SAS 9 connection - Provide the ability to add custom pre/post code on each submit #86

Open enzhihpp opened 1 year ago

snlwih commented 1 year ago

Potential candidate, seems to have no dependency on local/remote IOM support. @Enzhihpp: There is no description of the use case. Am I correct in guessing that this would entail having settings that can be accomplished using SAS language code (libname definitions, options settings that are not system-options) available at the connection level?

scnwwu commented 1 year ago

Note that it is already supported with task https://github.com/sassoftware/vscode-sas-extension/blob/main/connect-and-run.md#custom-task-to-run-sas-code-with-preamble-and-postamble-added

snlwih commented 1 year ago

Got more feedback offline. This request was for having SAS code executed on each submit, not at session startup. Updated title of this issue to reflect this.

Notes:

@scnwwu , could a user overrule behaviour of the Run button in a SAS editor tab, to have it also run the Task of type sas: Run sas file?