Description | A Visual Studio Code extension that flags and notifies disallowed keywords when developing rules on SailPoint. | |
Legal Agreement | By using this CoLab item, you are agreeing to SailPoint’s Terms of Service for our developer community and open-source CoLab. | |
Repository Link | https://github.com/sailpoint-oss/colab-sailpoint-rule-restriction-vs-code-plugin | |
Supported by | Community Developed |
Overview
This Visual Studio Code extension is designed to provide real-time highlighting, hover notifications, and disallowed keyword alerts when developing rules on SailPoint. It aims to improve productivity by identifying and notifying developers about the usage of specific flagged keywords.
Requirements
- Visual Studio Code installed
- Node.js installed
Guide
-
Installation:
-
You can install the extension directly from the Visual Studio Code Marketplace.
-
Alternatively, you can clone the GitHub repository and open the project in Visual Studio Code.
-
-
Configuration:
- Customize the list of flagged keywords in the
extension.ts
file if needed.
- Customize the list of flagged keywords in the
-
Installing Dependencies:
- If you cloned the GitHub repository, open a terminal in the project directory
- Run
npm install
to install the required dependencies - Run
npm install -g vsce
to install vsce globally - Run
vsce package
to package the extension - Go to
Extensions
in VS Code and install extension fromVSIX
- Select the
VSIX
file and click on install
-
Usage:
- Observe real-time highlighting of flagged keywords.
- Hover over flagged keywords to see disallowed keyword notifications.
- Receive alerts when using disallowed keywords.
-
Contribution:
- Feel free to contribute to the GitHub repository by submitting issues or pull requests.