forcedotcom / lightning-language-server

LWC and Aura Language Servers - shipped as part of the Salesforce VSCode Extensions
https://forcedotcom.github.io/salesforcedx-vscode/
BSD 3-Clause "New" or "Revised" License
31 stars 48 forks source link

Make lwc & aura language server available to be run from an executable file #580

Closed WuggyX2 closed 8 months ago

WuggyX2 commented 9 months ago

What does this PR do?

This PR creates executable files and defines the bin property in package.json for both lwc language server and aura language server.

581

What issues does this PR fix or reference?

This allows the language servers to be run using a terminal command, which in return allows editors like neovim to integrate with language servers using stdio. [Neovim LSP DOC](https://neovim.io/doc/user/lsp.html#vim.lsp.start())

salesforce-cla[bot] commented 9 months ago

Thanks for the contribution! Before we can merge this, we need @WuggyX2 to sign the Salesforce Inc. Contributor License Agreement.

gbockus-sf commented 8 months ago

@WuggyX2 Have you attempted to take care of the salesforce-cla step above?

WuggyX2 commented 8 months ago

@gbockus-sf I tried, but it gave me an error, maybe because I used a different email than what is linked to this account. When I try to sign it again, the page say i have already signed it.

kuva
gbockus-sf commented 8 months ago

@WuggyX2 Thanks for the follow up. The check is passing now so you're good to go. I'm just running this my our PM for awareness and it should be good to go I think.