artur-shaik / jc.nvim Goto Github PK
View Code? Open in Web Editor NEWJava autocompletion for neovim
Java autocompletion for neovim
For example, pressing gd can not go to SpringApplication source. No response...
package com.example.demo;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class DemoApplication {
public static void main(String[] args) {
SpringApplication.run(DemoApplication.class, args);
}
}
Trying out this plugin, and my first impression is it's awesome. However I am having a little trouble getting JCutilJol to work. The problem is that I am not seeing any JCutilJol command at all.
When running :JCutilJol
I get E492: Not an editor command: JCutilJol
Not seeing a JCutilJol function in the vim autocomplete window either. Here are all the options I see after typing "JC":
Any help is appreciated, thank you
Now this plugin relates to many default configurations. So we need to add more flags and variables to make it more flexible.
Great project, first of all thank you for bringing Java IDE features to neovim.
I am having an issue when adding new deps to my pom.xml where the new dependencies are not detected even after running mvn dependency:resolve
. I think it may be related to the fact that Eclipse's default behavior is to not recognize new dependencies, as mentioned in this stackoverflow post. My current solution has been to manually rm -rf
the JC project directory.
Is there a better way to resolve my maven dependencies? If not then I think a command like JCrefreshDependencies
or JCrefreshCache
would be really helpful as it would eliminate the need for this.
So:
autocmd FileType java autocmd BufWrite <buffer> lua vim.lsp.buf.format({ async = false })
Will report error on saving java files.
Recently I reinstalled plugins again, one of these was yours: use "artur-shaik/jc.nvim", I entered a Java project, and every time I open a file for the first time it asks me if I want to download Java-debub because I don't have it, I press 1 "finish" and it asks me again.
I tried deleting the folder it creates in ~/.local/share/jc.nvim, but the same thing keeps happening.
The plugin configuration is this:
require('jc').setup{}
Information from :checkhealt:
OK: javac: javac 17.0.5
OK: java: openjdk version "17.0.5" 2022-10-18
My system is Fedora 37 Workstation and the version of Neovim is:
NVIM v0.8.1
Build type: RelWithDebInfo
LuaJIT 2.1.0-beta3
all plugins are up to date.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.