Skip to content
/ sas Public

A collection of utilities that facilitate SAS code development

License

Notifications You must be signed in to change notification settings

ok-42/sas

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What is it

A collection of utilities that facilitate SAS code development.

Prerequisite

  • Windows
  • Notepad++
  • Python
  • Git for Windows

Installation

  1. Clone the project.
  2. Add source utils.sh to your .bashrc using actual path to the file.
  3. Incorporate <Command> tag into your Notepad++ settings file (how to find it). It adds run configuration and assigns Ctrl + B shortcut for that action.
  4. Set actual path to the cloned directory in the <Command> tag.
  5. Make sure that the shortcut has no other assignment (Settings — Shortcut Mapper...). By default, that is Go to matching brace. Otherwise, you need to assign another keyboard shortcut for the action.

Usage

Note: As of now, that only works if all SAS files you search in are located in the same directory.

Go to macro variable or function declaration (Notepad++)

  1. Open SAS file with Notepad++.
  2. Either select a variable or function name or put caret there.
  3. Invoke Run — SAS macro search. Its default keyboard shortcut is Ctrl + B.

Go to macro function declaration (Git for Windows)

  1. Open Git Bash.
  2. Navigate to a directory that contains your SAS files.
  3. Put the actual macro function name into the command below. Quotes are optional.
sm 'macro_function_name'

About

A collection of utilities that facilitate SAS code development

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published