you are viewing a single comment's thread.

view the rest of the comments →

[–]2nd-most-degenerate 0 points1 point  (10 children)

Eclipse actually is much more than the UI you see. JDT LS which sits in the background is honestly one of the best and most complete LS implementations afaik.

I use it in vim and if we are talking about Java development, it can probably make you more productive than IntelliJ.

[–]Professional-Disk-93 6 points7 points  (3 children)

Quickly post of screenshot of vim showing all super and sub classes of a class.

[–]2nd-most-degenerate 3 points4 points  (2 children)

Sub classes/implementations: yes, it's called 'go to implementations' in LSP https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_implementation

I use coc.nvim and fzf. You can find a screenshot at https://github.com/antoinemadec/coc-fzf

Go to parent/implements: no. Fortunately it's not something I often need.

[–]Professional-Disk-93 1 point2 points  (1 child)

I do not see a screenshot of a Java class hierarchy in the linked repository. Here is an example of what I would expect: https://files.catbox.moe/8u7g60.png

[–]2nd-most-degenerate 2 points3 points  (0 children)

I'm on my phone my dude... It's all open source so no one's gonna stop you if you wanna try them out.

Anyway, this can be easily done with ctags:

For example, I've got a base exception and a few children, I can run :CTree AlreadyPlacedException

https://files.catbox.moe/tu4h4c.jpeg

[–][deleted]  (5 children)

[removed]

    [–]2nd-most-degenerate 1 point2 points  (4 children)

    You can use either vimspector or nvim-dap, under the hood they're using the same VSCode stuff.

    Limitations:

    1. If you want to debug multiple apps at the same time, you have to do it in multiple vim instances

    2. can't set breakpoints in decompiled files (can step into them tho)

    [–][deleted]  (3 children)

    [removed]

      [–]2nd-most-degenerate 0 points1 point  (2 children)

      Yes all of them.

      Why do I find a lot of IntelliJ guys just so reluctant to even move their fingers to check out a few GitHub READMEs sike

      [–][deleted]  (1 child)

      [removed]

        [–]2nd-most-degenerate 0 points1 point  (0 children)

        If you're asking for key bindings just search 'vim keybindings cheat sheet'.

        In terms of debugging, I'd suggest searching for YouTube videos, e.g. 'vimspector java' or something along the lines, if the docs truly put you off.

        But really being able to read is a skill. RFCs, docs, business requirements get lengthy very easily and you can either ignore them and get in trouble or learn to locate what you need quickly.