unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Questions Regarding LSP Mode For JavaScript Development On Emacs, Specifically MacOS
@ 2022-06-13 20:58 Samuel Banya
  0 siblings, 0 replies; only message in thread
From: Samuel Banya @ 2022-06-13 20:58 UTC (permalink / raw)
  To: Emanuel Berg

Hey there,

Does anyone have a decent LSP config and workflow in terms of the specific LSP language servers they installed to actually make LSP work nicely on MacOS with Emacs?

I'm having not the greatest time doing so as the default one (I think it was 'TL-LS' or something like that).

I'm trying to default to using just 'JavaScript Mode' with LSP but that's not working either. I ran into a weird issue with 'js2-mode' in which 'js2-mode' doesn't like private methods via '#' syntax, but am wondering if I should just use 'js2-mode' without LSP in this scenario.

More so, if I zoom in on a given frame, the 'Sideline' portion of LSP decides to freak out because it doesn't take width into account. I put this on their issues page but I doubt it'll be solved, and probably can only be solved by adjusting the font settings in my config accordingly somehow:
 * https://github.com/emacs-lsp/lsp-ui/issues/716

Here are the previous GitHub issues for comparison purposes:
 * https://github.com/emacs-lsp/lsp-ui/issues/284
 * https://github.com/emacs-lsp/lsp-ui/issues/285
*
*
*Wanted to know the following:*
 * Q1. Does anyone have a decent LSP config to look at?
 * Q2. Can anyone please state their workflow on how to install their chosen LSP server itself on MacOS?
 * Q3. Does anyone know how to determine the specific LSP server currently being used in Emacs?

I ask the third question because I was told that the following one would be decent for JavaScript:
 * https://emacs-lsp.github.io/lsp-mode/page/lsp-typescript/

My Emacs config can be found here:
 * https://github.com/SamuelBanya/SamsEmacs/blob/main/configuration.org

Thanks,

Sam


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-06-13 20:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-13 20:58 Questions Regarding LSP Mode For JavaScript Development On Emacs, Specifically MacOS Samuel Banya

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).