https://github.com/kenshoo/pl-intellij
IntelliJ Plugin for Persistence Layer
https://github.com/kenshoo/pl-intellij
public-repo
Last synced: 3 months ago
JSON representation
IntelliJ Plugin for Persistence Layer
- Host: GitHub
- URL: https://github.com/kenshoo/pl-intellij
- Owner: kenshoo
- License: apache-2.0
- Created: 2020-10-11T10:50:09.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-03-18T08:58:24.000Z (about 4 years ago)
- Last Synced: 2025-01-06T07:24:38.740Z (5 months ago)
- Topics: public-repo
- Language: Java
- Homepage:
- Size: 156 KB
- Stars: 1
- Watchers: 49
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# IntelliJ Plugin for Persistence Layer
This project adds a wizard to ease creations of new PL entities.
* Right click on the package where you want to create the PL entity. On the menu, choose `New` -> `PL Entity`.

* In the dialog, fill the entity name (for Java classes) and SQL table name. Then, fill the sql fields.

* This will generate all the required classes (Jooq table, flowConfig, etc...) so you can immediately start working with PL commands.
# Manual installation
In case the latest plugin is not yet available in the marketplace within Intellij, you can manually download it [here](https://plugins.jetbrains.com/plugin/download?rel=true&updateId=99885).
Then, you can install it from the disk like this:
# Limitations (or "coming soon", ha ha....)
* No relations supported yet.
* Cannot reuse the JOOQ tables already existing in the current project.
* Cannot edit existing entities (only creation flow supported).# Project setup (for plugin developers)
* Add this to `~/.gradle/init.gradle` file:
```
maven {
url 'https://jetbrains.bintray.com/intellij-plugin-service'
}
```* Run `./gradlew build` in a command line. This will cause Gradle to cache the dependencies. It is a workaround to an IntelliJ bug when it sometimes fails to access the dependencies.
* Using IntelliJ, open the `build.gradle` file as a project.
* Run using Gradle task `runIde`
# How to deploy
(Sorry, no automatic build for this)
1. Increase version number in `build.gradle`
2. Write some release notes in element `` in file `plugin.xml`
3. Run gradle task `buildPlugin`
4. Find the ZIP on `./build/distributions/pl-intellij-plugin-0.{version}.zip`
5. Login to https://plugins.jetbrains.com/plugin/15212-kenshoo-persistence-layer and upload the ZIP