will7200 / casbin-idea-plugin

Intellij plugin for working with Casbin Models
BSD 3-Clause "New" or "Revised" License
25 stars 0 forks source link
casbin casbin-executor casbin-models intellij intellij-plugin jetbrains-plugin

Casbin support for IntelliJ-based IDEs

Build Status Version Downloads

Get it from plugin repository: https://plugins.jetbrains.com/plugin/14809-casbin

Plugin for editing and testing Casbin models in IntelliJ-based IDEs.

Provides:

Editor Editor

Casbin Executor Casbin Executor

Installation

Development

The plugin is built using Gradle and uses gradle-intellij-plugin to integrate with IntelliJ Platform.

To build a plugin run

$ ./gradlew buildPlugin

Plugin zip file will be created in build/distributions

To test plugin in IDE run ./gradlew runIde

Grammar modifications

The plugin uses Grammar-Kit to generate parser and lexer. Please install Grammar-Kit plugin and refer to the documentation if you want to modify grammar.

Casbin Model Parser & Lexer

Casbin CSV Parser & Lexer

Contribution

Plugin is written in Kotlin.

Third Party Libraries

Look at ThirdPartyNotices.txt for more information.