From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Samuel Banya" Newsgroups: gmane.emacs.help Subject: Questions Regarding LSP Mode For JavaScript Development On Emacs, Specifically MacOS Date: Mon, 13 Jun 2022 16:58:08 -0400 Message-ID: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24161"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Cyrus-JMAP/3.7.0-alpha0-692-gb287c361f5-fm-20220603.003-gb287c361 To: "Emanuel Berg" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jun 13 23:00:23 2022 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o0rAc-00063v-GX for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 13 Jun 2022 23:00:22 +0200 Original-Received: from localhost ([::1]:43714 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o0rAb-0007Rh-EF for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 13 Jun 2022 17:00:21 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41930) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o0r91-0007RU-AJ for help-gnu-emacs@gnu.org; Mon, 13 Jun 2022 16:58:43 -0400 Original-Received: from wout5-smtp.messagingengine.com ([64.147.123.21]:39661) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o0r8t-0005tt-J0 for help-gnu-emacs@gnu.org; Mon, 13 Jun 2022 16:58:43 -0400 Original-Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id 1F933320093B for ; Mon, 13 Jun 2022 16:58:30 -0400 (EDT) Original-Received: from imap50 ([10.202.2.100]) by compute5.internal (MEProxy); Mon, 13 Jun 2022 16:58:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= cc:content-type:date:date:from:from:in-reply-to:message-id :mime-version:reply-to:sender:subject:subject:to:to; s=fm2; t= 1655153909; x=1655240309; bh=zasVO803DJzYUtm0Jsg7o9m4Ip+GSVovzjB 6Z6BaxsI=; b=QZBZA78cTP50O6Tl26gI0Pkfatf4eN1a7w34rtR9UKO/YThuL5t vg+YtBc0X2J+lQBVyGxX4AdGhXuyGOsGBUJ5A2l5bQGkIOIhJtO7bDz8H5pzZQtW /nhlNrBrrAG3QVZt/7VAWzDFPMlco46hszJ0J/VB0SB1ujUO63tNqih/x2DULQPD 2Ix2tcMc5YkcqLE2vSLXwCotiuW8tcOD5jGGzYGcyWKakUpMGMRDnk1YAuK9a90c IHhSwMJoR+tXtvFtWIbrtHfxZI73hAC1g6vGye/hWrkrQiCWgIk88QP7Atr2GIvG PAdWP4oPJG1QXLdJ3Pkc2tYkBU9BYTE8zVQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:message-id:mime-version :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1655153909; x= 1655240309; bh=zasVO803DJzYUtm0Jsg7o9m4Ip+GSVovzjB6Z6BaxsI=; b=R 6tyFXvIHKBTcmCm6xNl9NHOIFyIS08x/xSaSBCrvSO1Qb+LPY8RwKS/YBU6O1EB+ Lapp3X64GjUAKk2N0kaasGOB9PGFPgumYBSyu6PmC0+iN0+exASstre6vlNM4luL ImaFSfJldKujG8+kolOcWJyePjV/0uLIMTuBzazSKpmA1oR5SQmu6oKoYB3VjnCA Sr+XFH+KQWg7c6QxviuboSpN5DoY6YvckUSzgDZCLUoOPlSwGWc5yW/FN/v6x45k rOBVB3RfPXTz6JtS6JX2VgYj2rDSvMyuOegxYfxGz04LXaFeeVWfLA7ymZMh7q0a +UTv3I+/stNP/s2N3iL+Q== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedruddujedgudehfecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecuogfuuhhsphgvtghtffhomhgrihhnucdlgeelmd enucfjughrpefofgggkfffhffvufgtsegrtderreerredtnecuhfhrohhmpedfufgrmhhu vghluceurghnhigrfdcuoehssggrnhihrgesfhgrshhtmhgrihhlrdgtohhmqeenucggtf frrghtthgvrhhnpeehgfefgefhgeetueetudeugffhfeeuvdeutddukedvuefhgeefkefg ledukedvvdenucffohhmrghinhepghhithhhuhgsrdgtohhmpdhgihhthhhusgdrihhopd gtohhnfhhighhurhgrthhiohhnrdhorhhgnecuvehluhhsthgvrhfuihiivgeptdenucfr rghrrghmpehmrghilhhfrhhomhepshgsrghnhigrsehfrghsthhmrghilhdrtghomh X-ME-Proxy: Feedback-ID: ib97947f6:Fastmail Original-Received: by mailuser.nyi.internal (Postfix, from userid 501) id 628271700071; Mon, 13 Jun 2022 16:58:29 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface Received-SPF: pass client-ip=64.147.123.21; envelope-from=sbanya@fastmail.com; helo=wout5-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:137808 Archived-At: 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