From: "Samuel Banya" <sbanya@fastmail.com>
To: "Emanuel Berg" <help-gnu-emacs@gnu.org>
Subject: Questions Regarding LSP Mode For JavaScript Development On Emacs, Specifically MacOS
Date: Mon, 13 Jun 2022 16:58:08 -0400 [thread overview]
Message-ID: <b362e132-b205-4a0c-8024-40b248b87a48@www.fastmail.com> (raw)
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
reply other threads:[~2022-06-13 20:58 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=b362e132-b205-4a0c-8024-40b248b87a48@www.fastmail.com \
--to=sbanya@fastmail.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.