VSCode %%SAS Magic in notebook #418
-
When I run SAS code in a VSCode jupyter notebook via the %%SAS magic command the log that gets outputted when the code runs is changing whole notebook to the SAS output theme (from the standard VSCode dark mode theme). I assume that its due to the ods html5 statement setting the style to "HTMLBlue". Is there anyway I can stop this from happening? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
First, I don't have the answer, sorry. One question, if instead of using %%SAS, if you use saspy's submitLST() does it still happen? Just trying to get more data points. Thanks, |
Beta Was this translation helpful? Give feedback.
First, I don't have the answer, sorry.
Yes, I expect it's some interaction w the UI and the HTML, but I'm neither a UI nor html guy.
I remember that the jupyter notebook version, years ago, did the same kind of thing. It doesn't happen in Lab, the newer jupyter UI.
One question, if instead of using %%SAS, if you use saspy's submitLST() does it still happen? Just trying to get more data points.
sas.submitLST('data a; x=1; run;') or whatever code you were running, does basically the same thing that the %%SAS magic does, but it's a different code path, so curious to see if there's any difference.
Thanks,
Tom