Skip to content

Latest commit

 

History

History
29 lines (18 loc) · 899 Bytes

learning_emacs_lsp.md

File metadata and controls

29 lines (18 loc) · 899 Bytes
path title
/learning_emacs_lsp
Learning Emacs: LSP

Javascript / Typescript

This works better / is probably more supported than even js2-mode, as it does JSX better.

M-x lsp to activate this. You want ts-ls, not js-ts-ls as the latter seems to not be supported?

Q: Can I get a function definition list? A: KINDA! M-x lsp-ui-imenu gives you a sidebar of tree structure of your code (may include more than functions)

Q: What about js2-mode? A: Turn on lsp over js2-mode for backend javascript. For React let lsp run over js-jsx-mode ????

Rust

My notes

Need to use M-x rustic-mode or a hook to turn on the neat stuff.

M-x lsp-find-defintion jump to defintion.

See also: