beeender / Comrade

Brings JetBrains/IntelliJ IDEs magic to Neovim with minimal setup.
GNU General Public License v3.0
289 stars 22 forks source link

Enable intellij -> neovim action sync #4

Open kongluoxing opened 5 years ago

kongluoxing commented 5 years ago

When intellij open a file, or editing a file, sync it back to neovim, or called two way sync

Why? Eclipse provide a very useful java LSP: https://github.com/eclipse/eclipse.jdt.ls Neovim + coc.nvim + eclipse.jdt.ls has provide a very nice java coding experience, but we need a debugger! neither Vim nor Neovim provide much GUI event(such as mouse hover, interactable floating window, etc) to make a good debugger, event though DAP is included in eclipse.jdt.ls. so I personally use Idea to debug, I use mission controll on my mac, put Idea and Neovim in one workspace, it just works. With Comrade, it works much better. But when Idea debugger step into another file, Neovim doesn't open it, so I can't quickly fix bugs and restart debugger session

beeender commented 5 years ago

Hmm, that would be a missing feature. Actually if you step into a file which is part of the project, I guess the neovim should open it automatically. The missing part is if the new file is not contained by the project(for example, a disassembled java lib class), the Comrade will just ignore it.

I will try to get this fixed. thanks for reporting!

gvanbeck commented 4 years ago

+1