Skip to main content
Back to Extensions Directory
coc.nvim fallback icon

coc-spring-initializr

asmodeus812

Coc extension for creating spring & other projects

Installation CommandVim prompt
:CocInstall coc-spring-initializr
GitHub owner
asmodeus812
Version
v0.1.4
Requirements
coc ^0.0.82
License
MIT
Repository
GitHub
npm latest published 2026-11-21Registry summary

Published Package Summary

coc-spring-initializr

Create Spring Boot projects from Neovim with a Spring Initializr service, and add Spring Boot starters to an existing Maven project. This is the coc.nvim port of the VS Code extension Spring Initializr Java Support.

  • Generate a Maven, Gradle or Gradle Kotlin DSL project: Spring Boot version, language, group id, artifact id, package name, packaging, Java version and dependencies.
  • Search the dependencies, and reuse the ones of the last generated project.
  • Add starters to the pom.xml of a Maven Spring Boot project.
  • <Esc>, <C-c> or an empty answer at any wizard step (pickers and text inputs) cancels the wizard quietly.

How to use it inside Neovim, every command and every message you can see: :help coc-spring-initializr.

Requirements

  • Neovim or Vim with coc.nvim 0.0.82 or newer.
  • Network access to the Spring Initializr service, https://start.spring.io by default.
  • A JDK, and Maven or Gradle, to build the generated project. The extension itself does not need them.

Installation

:CocInstall coc-spring-initializr

From source:

git clone <repository> coc-spring-initializr
cd coc-spring-initializr
npm ci
npm run build

Then add the folder to the runtimepath, for example set runtimepath^=~/src/coc-spring-initializr in your vimrc, and restart.

Troubleshooting

  • "Failed to fetch metadata.": the service is not reachable. Check the network, a proxy, and spring.initializr.serviceUrl.
  • "Failed to create a project." followed by the service's message: the service rejected the chosen values. Pick another Spring Boot or Java version.
  • :help coc-spring-initializr is missing: look for "Unable to register the help page" in the messages; the data folder of coc must be writable.

Every message is explained in :help coc-spring-initializr-messages.

Development

npm ci
npm run build       # bundle into lib/
npm run watch       # rebuild on change
npm run typecheck   # type check without emitting

License

This extension is licensed under the MIT License.

Contributing

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

Read the complete README
  • Coc extension for creating spring & other projects
Activation Events
  • *
Developer Resources

Want to build, test, or contribute to coc.nvim extensions? Explore our official SDK and testing toolkits.

Open Developer Guide

Version History

This published npm package does not include a history.md or changelog.md file. Browse its npm versions or repository releases for available release information.