Re:Does Visual Studio Rot the Mind? (2005)
by dleslie on Friday February 07, 2020 @01:50AM
(#22263776)
Emacs has dumb-jump, which is just... Fantastic. Absolutely fantastic.
It doesn't perform any deep semantic analysis; it just abuses whatever existing grep-like tools you have and a bare minimum understanding of the language syntax to find likely correct definitions.
Re:Does Visual Studio Rot the Mind? (2005)
by TeMPOraL on Friday February 07, 2020 @07:23AM
(#22265288)
Holy hell, it's the missing companion for Hippie Expand! For non-emacsers, hippie-expand completes the word you're typing by throwing a bunch of heuristics at it, most notable of which is "search this and every other opened buffer for the last few things before the cursor, and see if this produces a completion".
(A funny side effect of this heuristic is that it essentially behaves like a Markov chain. If you have it bound to a key, say M-/, then you can type a starting word and repeatedly press "M-/ Space", and it'll start generating text based on what you have in your open buffers.)
Re:Does Visual Studio Rot the Mind? (2005)
by bordercases on Thursday February 06, 2020 @10:46PM
(#22263058)
Very popular LSPs actually have poor support for basic definition/reference jumping.
`javascript-typescript-language-server` sticks out to me as my first disappointment. And the only implementation of a vue language server is no better, where tls would just throw errors for mixing HTML templates with scripts even if it handles the Javascript properly.
Re:Does Visual Studio Rot the Mind? (2005)
by fiddlerwoaroof on Thursday February 06, 2020 @11:49PM
(#22263312)
Whichever language server the tide package uses in emacs has excellent jump to definition abilities.
I just bind 'gd' and 'gr' to go to definitions and references, respectively, and I'm good to go in vim.