top | item 30309600

(no title)

adithyak | 4 years ago

off topic: I've found tide-mode[0] to be pretty good to use with typescript on Emacs

[0] https://github.com/ananthakumaran/tide

discuss

order

throwanem|4 years ago

It's very good, but I've found it to struggle somewhat on large and complex codebases. I have been meaning to try lsp-mode instead, but have yet to get around to it since tide-mode is mostly good enough; since they both use tsserver as a backend, I expect the user experience is probably much the same.

As an aside, I don't recommend following the article author in disabling Eldoc integration. Enabled, that will give you types for the thing at point in the message area, which is often quite useful and especially so with unfamiliar codebases.

newusertoday|4 years ago

i have stopped using lsp with javascript as js lsp servers are memory/cpu hogs. I wish there was tag based system for js/ts

G3rn0ti|4 years ago

Well, with Emacs you can als just use „etags“ to create an index into your JS code base out of the box. And then use „M-.“ to jump to definitions.

It’s very fast and usually brings you right to a definition — unless your method/function is called very unspecifically.