BookmarkSubscribeRSS Feed
Tom
Super User Tom
Super User

Here is the version I installed.

 

Tom_1-1670103852851.png

 

 

SASv0.1.1  SAS Institute Inc. 
Official SAS Language Extension for VS Code

 

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.

 

Tom_0-1670103665613.png

 

It will default to the SAS if you name the file with .sas extension.

 

SASKiwi
PROC Star

@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.

Quentin
Super User

@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.

The Boston Area SAS Users Group is hosting free webinars!
Next webinar will be in January 2025. Until then, check out our archives: https://www.basug.org/videos. And be sure to subscribe to our our email list.

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

SAS Enterprise Guide vs. SAS Studio

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 17 replies
  • 3634 views
  • 4 likes
  • 4 in conversation