Sublime SAS syntax highlighting

I would like to be able to use Sublime 3 as a SAS text editor, but I cannot configure Sublime for this. I visited http://implementing-vdw.blogspot.com/2012/10/new-sublime-text-package-available-for.html and could not actually get the SAS syntax highlighting to work in Sublime.

Here is what I did, I donโ€™t have / know github, so I downloaded the zip file according to the instructions and placed its contents in C: \ Program Files \ Sublime Text 3 \ Packages \ SAS. I have closed the sublime and the newly opened, but do not see SAS as the available syntax.

I am sure that I need to perform one or two more steps, but I do not know what.

+6
source share
2 answers

It was determined what the problem was: the Packages directory in which I installed Sublime Text 3 is not the exact directory where you need to place the SAS folder. As a double mark, to ensure that the SAS folder is in the right place, select Sublime โ†’ Preferences โ†’ Browse Packages ..., this is the place where the SAS folder should be placed. After that, you will see the SAS syntax available in the view -> Syntax.

+5
source

Here's how I got it to work:

  • download the zip file from the above blogspot location (I also tried using git but got a public access error)
  • use Sublime -> Preferences -> Browse Packages to find the directory in which you want to unzip it.
  • unzip the zip file to the appropriate directory (on MacOS it was ~ / Library / Application \ Support / Sublime \ Text \ 3 / Packages /)
  • rename the unzipped folder to SAS
  • At this point, I can select the SAS syntax in Sublime via View -> Syntax -> SAS
0
source

Source: https://habr.com/ru/post/984755/


All Articles