https://github.com/chriscarini/jetbrains-error-utils
A java library, intended to be consumed by plugins for JetBrains IDEs, providing utilities for handling errors from plugins.
https://github.com/chriscarini/jetbrains-error-utils
intellij java-library jetbrains jetbrains-ecosystem
Last synced: 4 months ago
JSON representation
A java library, intended to be consumed by plugins for JetBrains IDEs, providing utilities for handling errors from plugins.
- Host: GitHub
- URL: https://github.com/chriscarini/jetbrains-error-utils
- Owner: ChrisCarini
- License: apache-2.0
- Created: 2022-09-05T17:51:07.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-04-10T09:00:11.000Z (over 1 year ago)
- Last Synced: 2024-04-10T10:24:34.000Z (over 1 year ago)
- Topics: intellij, java-library, jetbrains, jetbrains-ecosystem
- Language: Java
- Homepage:
- Size: 199 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# jetbrains-error-utils
[](https://github.com/ChrisCarini/jetbrains-error-utils/blob/master/LICENSE)
[](https://github.com/ChrisCarini/jetbrains-error-utils/actions?query=workflow%3A%22JetBrains+Plugin+CI%22)
[](https://github.com/ChrisCarini/jetbrains-error-utils/actions?query=workflow%3A%22IntelliJ+Plugin+Compatibility%22)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:
```groovy
repositories {
mavenLocal()
}
dependencies {
implementation 'com.chriscarini.jetbrains.error-utils:error-utils:0.0.5-SNAPSHOT'
}
```
4. Rebuild your plugin project.