Skip to content

Commit

Permalink
Merge pull request #10 from terrylockett/v2
Browse files Browse the repository at this point in the history
V2 rewrite
  • Loading branch information
terrylockett authored Nov 2, 2024
2 parents 1be4f05 + 8e1097c commit 8dfe012
Show file tree
Hide file tree
Showing 30 changed files with 563 additions and 719 deletions.
7 changes: 3 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
.gradle
.intellijPlatform
build/
!gradle/wrapper/gradle-wrapper.jar
!**/src/main/**/build/
!**/src/test/**/build/

### IntelliJ IDEA ###
.idea/modules.xml
.idea/jarRepositories.xml
.idea/compiler.xml
.idea/libraries/
.idea/
!.idea/gradle.xml
*.iws
*.iml
*.ipr
Expand Down
3 changes: 0 additions & 3 deletions .idea/.gitignore

This file was deleted.

16 changes: 0 additions & 16 deletions .idea/gradle.xml

This file was deleted.

6 changes: 0 additions & 6 deletions .idea/kotlinc.xml

This file was deleted.

7 changes: 0 additions & 7 deletions .idea/misc.xml

This file was deleted.

124 changes: 0 additions & 124 deletions .idea/uiDesigner.xml

This file was deleted.

6 changes: 0 additions & 6 deletions .idea/vcs.xml

This file was deleted.

22 changes: 15 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,25 +1,33 @@
# Gradle Config Harpoon
# Gradle Harpoon

## Overview

<!-- Plugin description -->
IntelliJ plugin to bookmark and run gradle tasks.
<!-- Plugin description end -->

Intended for Multi-project Gradle repos with a lot of subprojects, where scrolling through tasks in the Gradle window is annoying.

## Installation
Two options:
### Pre Build Plugin:
1. Download plugin zip from newest release
1. Download plugin zip from the newest [Release](https://github.com/terrylockett/gradle-harpoon/releases/tag/v1.1.0).
2. `Settings-> plugins -> Install Plugin from Disk` with the Zip
### Build form Source
1. Clone project
2. `./gradlew buildPlugin`
3. `Settings-> plugins -> Install Plugin from Disk` with the zip in build/distributions/
3. `Settings-> plugins -> Install Plugin from Disk` with the zip in `build/distributions/`
> [!NOTE]
> Requires Java 17

## Usage
Use the following Actions ( Tools -> Gradle Harpoon ) :
Add keymaps for the following Actions (or use: Tools -> Gradle Harpoon ) :
- `Edit Harpoon Config` - Used to bookmark a gradle config.
- `Run Harpoon Config` - Used to run a config.
- `Reset Harpoon Configs` - Resets bookmarked configs.

Adding keymaps for the Actions is recommended.

> [!NOTE]
> If you are using IdeaVim the action names are:
> - `ca.terrylockett.gradleharpoon.window.EditHarpoonWindow`
> - `ca.terrylockett.gradleharpoon.window.RunHarpoonWindow`
> - `ca.terrylockett.gradleharpoon.action.ResetHarpoonConfigurations`
Loading

0 comments on commit 8dfe012

Please sign in to comment.