-
Notifications
You must be signed in to change notification settings - Fork 1
Add instructions #2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
The current plugin is not yet complete, only ensuring that it opens without errors. I've added the instructions to the Readme.
{
"JavaHello/java-deps.nvim",
lazy = true,
ft = "java",
dependencies = "mfussenegger/nvim-jdtls",
config = function()
require("java-deps").setup({})
end,
}
-- jdtls lsp attach
require("java-deps").attach(client, buffer, root_dir) |
Yes, I see - plugin is not so useful at the moment (mostly because of some inconsistencies in tree structure). But it's a great beginning! I can assume you know that most of Java developers like and use that feature in other IDE. So keep on going! This is valid config for packer:
Some modifications I made to my jdtls config to start it working. I use Mason, but it doesn't have needed bundles, so you have to manually clone a repo and build it.
Lastly you need to add plugin logic on every attach:
To use plugin I found several commands:
If there is nothing wrong here, please add this to the plugin description. I just want more people use your plugin. After that I will close this thread. |
Thank you for the steps you provided, it is correct, I added it to the Readme |
Can you provide how to install and how to use your extension?
The text was updated successfully, but these errors were encountered: