Here is the version I installed.
v0.1.1
SAS Institute Inc.
You must have either disabled it somehow. I don't even know how to change the settings for syntax highlighting. It just seems to do something automatically based on the type of file I have open.
Perhaps you never told it the file you were editing was a SAS file.
It will default to the SAS if you name the file with .sas extension.
@Nietzsche - I just tried copying code from SAS Studio 3.81 to Word and that doesn't retain formatting, however Enterprise Guide definitely does. It is possible a later version of Studio fixes that but I don't have any access to those currently.
@Tom wrote:
Yes. It is using the highlighting and I cannot use the execution engine since it only supports Viya (why???)
As to why Visual Studio Code only connects to Viya now, I heard that there is a vision to get it to connect to SAS 9 environment. Viya has API's that make the connection easier to implement, so they started there. For SAS 9, they need to decide whether to use SAS Integration Technologies (I think this is what EG uses) or something else. So Visual Studio Code connecting to SAS 9 is apparently on the roadmap, but not clear how far off. And I'd guess there is possibly a bit of politics as well, I assume from SAS strategy point of view, they might be happy to have as many carrots as possible attached to Viya. Like PROC PYTHON.
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.