https://github.com/semgrep/semgrep-intellij
https://github.com/semgrep/semgrep-intellij
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/semgrep/semgrep-intellij
- Owner: semgrep
- License: lgpl-2.1
- Created: 2023-08-15T18:10:55.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-11-07T23:45:37.000Z (over 1 year ago)
- Last Synced: 2024-11-08T00:29:03.447Z (over 1 year ago)
- Language: Kotlin
- Size: 9.8 MB
- Stars: 3
- Watchers: 21
- Forks: 1
- Open Issues: 15
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Semgrep Plugin for IntelliJ-based IDEs
## Prerequisites
Semgrep Plugin for IntelliJ-based IDEs communicates with Semgrep command-line interface (CLI) to run scans. Install Semgrep CLI before
you can use the IntelliJ Plugin. To install Semgrep CLI:
```sh
# For macOS
$ brew install semgrep
# For Ubuntu/WSL/Linux/macOS
$ python3 -m pip install semgrep
# To try Semgrep without installation run via Docker
$ docker run --rm -v "${PWD}:/src" returntocorp/semgrep semgrep
```
## Installation
- Using the IDE built-in plugin system:
Settings/Preferences > Plugins > Marketplace > Search for "
semgrep-intellij" >
Install
- Manually:
Download the [latest release](https://github.com/returntocorp/semgrep-intellij/releases/latest) and install it
manually using
Settings/Preferences > Plugins > ⚙️ > Install plugin from disk...
## Use full potential of Semgrep
Try Autofix.
Add and update new rules to expand Semgrep extension capabilities.
You can fine-tune and customize rules to improve your scan results:
1. Go to [Semgrep Registry](https://semgrep.dev/explore). Ensure that you are signed in.
1. Explore the Semgrep Registry, select a rule, and then click **Add to Rule Board**.
1. Manage rules in the [Policies](https://semgrep.dev/orgs/-/board) page.
### Language support
Semgrep supports 30+ languages.
| Category | Languages |
|--------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| GA | C# · Go · Java · JavaScript · JSX · Kotlin · JSON · PHP · Python · Ruby · Scala · Terraform · TypeScript |
| Beta | Rust |
| Experimental | Bash · C · C++ · Clojure · Dart · Dockerfile · Elixir · HTML · Julia · Jsonnet · Lisp · Lua · OCaml · R · Scheme · Solidity · Swift · YAML · XML · Generic (ERB, Jinja, etc.) |
## Support
If you need our support, join the [Semgrep community Slack workspace](https://go.semgrep.dev/slack) and tell us about
any problems you encountered.