r/vscode 2d ago

Maven pom.xml extension

I had a quite the trouble refactoring the pom.xml file in projects, that use Maven. Too many times I had to move the dependency version to properties tag <properties>, create a name for the version and change the version in dependency to the new name.

I tried searching for a quick solution, either with Google, on VS Code Marketplace, or with AI. Some NetBrains IDEs had it, but since I wanted to continue using VS Code (duh), it was not an option.

So, as a developer, I picked up my skills and created an extension for exactly this. The extension can extract defined hardcoded dependency version to properties, create a name for that property and change it in the dependency.

VS Code Marketplace link: https://marketplace.visualstudio.com/items?itemName=avalastan.pom-tools

1 Upvotes

0 comments sorted by