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.

BASUG is hosting free webinars Next up: Don Henderson presenting on using hash functions (not hash tables!) to segment data on June 12. Register now at the Boston Area SAS Users Group event page: https://www.basug.org/events.

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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