https://github.com/trianguloy/mavendependencycollapse
Jetbrains plugin to collapse maven dependencies for a more compact view.
https://github.com/trianguloy/mavendependencycollapse
jetbrains jetbrains-plugin plugin
Last synced: 4 months ago
JSON representation
Jetbrains plugin to collapse maven dependencies for a more compact view.
- Host: GitHub
- URL: https://github.com/trianguloy/mavendependencycollapse
- Owner: TrianguloY
- Created: 2023-06-07T08:16:29.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-09-06T15:05:28.000Z (over 1 year ago)
- Last Synced: 2025-06-04T01:05:12.023Z (12 months ago)
- Topics: jetbrains, jetbrains-plugin, plugin
- Language: Kotlin
- Homepage: https://plugins.jetbrains.com/plugin/22423-maven-dependency-collapse
- Size: 1.56 MB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
Maven Dependency Collapse plugin
[](https://github.com/TrianguloY/mavenDependencyCollapse/actions/workflows/verify.yml)
[](https://plugins.jetbrains.com/plugin/22423)
[](https://plugins.jetbrains.com/plugin/22423)

**This plugin collapses maven dependencies for cleaner files.**
The plugin uses the built-in folding regions from the IDE, so you can just click on them, use the native shortcuts, or click the sidebar arrows to fold/unfold. Additionally, a 'collapse all dependencies' action is available from the editor right-click menu (if there are available regions).
The format of the collapsible text by default is: ` [scope] groupId : artifactId : version ` with version and scope being optional.
From the plugin settings (File | Settings | Tools | [Maven Dependency Collapse](jetbrains://Idea/settings?name=Tools--Maven+Dependency+Collapse)) you can configure:
- Whether dependencies are collapsed by default (default true).
- The collapsible text (see above for default).
---
Note: the plugin was developed for personal use, but published so friends and workmates can benefit from it. If you want to suggest or (even better) improve it yourself, the whole source code is available on [GitHub](https://github.com/TrianguloY/mavenDependencyCollapse). Any issue/pr will be welcomed!
## Installation
- Using IDE built-in plugin system:
Settings/Preferences > Plugins > Marketplace > Search for "Maven Dependency Collapse" >
Install Plugin
- From the browser:
Open the [plugin marketplace page](https://plugins.jetbrains.com/plugin/22423-maven-dependency-collapse) and press on 'Install'.
- Manually:
Download the [latest release](https://github.com/TrianguloY/mavenDependencyCollapse/releases/latest) and install it manually using
Settings/Preferences > Plugins > ⚙️ > Install plugin from disk...
---
Plugin originally based on the [IntelliJ Platform Plugin Template](https://github.com/JetBrains/intellij-platform-plugin-template), but later removed to simplify everything.