|
|
|
|
|
by G3rn0ti
1023 days ago
|
|
> semantic location of variable declaration This can only work if the editor internalizes the corresponding language. That does not scale for all languages available. That’s exactly what the language server protocol is all about (and certainly what parsers like tree sitter are there for). Emacs can connect to those and acquire semantic analysis capabilities. The degree to which such a semantic language features will work for you will also depend strongly on the language, of course. If you use a commercial editor it’ll jump start you for the popular languages. But, say, you wanted to program in Raku or Scheme you’ll also going to need to fiddle around. |
|