Skip to content

A java library, intended to be consumed by plugins for JetBrains IDEs, providing utilities for handling errors from plugins.

License

Notifications You must be signed in to change notification settings

ChrisCarini/jetbrains-error-utils

Repository files navigation

jetbrains-error-utils

GitHub License GitHub Workflow Status GitHub Workflow Status

A java library, intended to be consumed by plugins for JetBrains IDEs, providing utilities for handling errors from plugins.

The library was created to allow me to have shared code across my JetBrains plugins. Ultimately, I hope others also choose to leverage it, as well as contribute to its development.

Usage

Below is the instructions for developers wanting to leverage this library in their JetBrains IDE plugins.

TODO: Add instructions for using the library in a JetBrains IDE plugin gradle project.

Local Development

Below is the instructions for developers wanting to develop on jetbrains-error-utils and pull it into a local JetBrains IDE plugin project.

Snapshotting for local development / use in plugins

  1. Make sure the libraryVersion in gradle.properties is a snapshot version (i.e. it ends in -SNAPSHOT; e.g. libraryVersion = 0.0.5-SNAPSHOT).
  2. Run ./gradlew publishToMavenLocal to publish the snapshot to your local maven repository (e.g. to ~/.m2/repository/com/chriscarini/jetbrains/jetbrains-error-utils/0.0.5-SNAPSHOT/).
  3. In your local plugin project's build.gradle file, ensure the following exists:
    repositories {
       mavenLocal()
    }
    dependencies {
       implementation 'com.chriscarini.jetbrains.error-utils:error-utils:0.0.5-SNAPSHOT'
    }
  4. Rebuild your plugin project.

About

A java library, intended to be consumed by plugins for JetBrains IDEs, providing utilities for handling errors from plugins.

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors 4

  •  
  •  
  •  
  •  

Languages