Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>SAS Macro DefinitionsNew to Visual Studio Code? Get it now.
SAS Macro Definitions

SAS Macro Definitions

Mikko Marttila

|
2,289 installs
| (0) | Free
SAS language macro definition provider.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

SAS Macro Definitions for Visual Studio Code

This VS Code extension adds "Go to Definition" and hover tooltips for macro functions in the SAS language.

Features

The hover tooltip shows the full signature of the macro function, and "Go to Definition" lets you jump directly to the location where the macro function is defined.

Demonstrating hover tooltip and "Go to Definition" action.

Definitions are found in the current file, and in all .sas files in directories listed in the sas.sasautos option. The option supports variable substitution for ${workspaceRoot} to enable relative paths.

Requirements

You must have another extension adding a SAS language grammar and file association. I use SAS.sas-lsp.

Extension Settings

This extension contributes the following settings:

  • sas.sasautos: An array of paths to SAS autocall macro libraries. They searched are for macro function definitions. Supports variable substitution for ${workspaceRoot}. For example: "${workspaceRoot}/Macros".

Example usage in settings.json:

{
    "sas.sasautos": [ "${workspaceRoot}/Macros" ]
}
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft