Open nithin-mk opened 4 months ago
It will not be downloaded automatically. If you do not use vscode, you need to manually download the compiled jar.
Thank you for your reply. From which website can I download the JAR from - VSCode Marketplace or Spring Tools website?
You can directly download the vscode spring-boot-tools plugin and unzip it, or download the sts4 project and compile it.
I got around this by using what nvim-java does. The author of nvim-java
made a mason regsitry that would get you the jars needed.
In all this is what I did:
mason.setup
call to also use the nvim-java
repository as a source:
require("mason").setup({
registries = {
"github:mason-org/mason-registry",
"github:nvim-java/mason-registry",
},
})
spring-boot-tools
through :Mason
local spring_path = require("mason-registry")
.get_package("spring-boot-tools")
:get_install_path() .. "/extension/jars/*.jar"
local spring = vim.split(vim.fn.glob(spring_path), "\n", {})
vim.list_extend(bundles, spring)
@jonathan-elize Thank you!
Is it compulsory to install VScode Spring Boot extension in Visual Studio Code accoording to the README? If I don't have VS Code, would spring-boot.nvim be able to download the required Spring Tools 4 files and work by itself?