All Projects → forcedotcom → lightning-language-server

forcedotcom / lightning-language-server

Licence: BSD-3-Clause license
LWC and Aura Language Servers - shipped as part of the Salesforce VSCode Extensions

Programming Languages

javascript
184084 projects - #8 most used programming language
typescript
32286 projects
HTML
75241 projects
emacs lisp
2029 projects
CSS
56736 projects
shell
77523 projects

Projects that are alternatives of or similar to lightning-language-server

one-pub-sub-lwc
One PubSub: A Declarative PubSub Library for Lightning Web Component and Aura Component
Stars: ✭ 19 (-29.63%)
Mutual labels:  aura, lwc
Aura.SqlSchema
Independent schema discovery tools for MySQL, PostgreSQL, SQLite, and Microsoft SQL Server.
Stars: ✭ 39 (+44.44%)
Mutual labels:  aura
eslint-plugin-aura
Salesforce Lightning (Aura) specific linting rules for ESLint
Stars: ✭ 24 (-11.11%)
Mutual labels:  aura
candy
🍭 A sweet programming language that is robust, minimalistic, and expressive.
Stars: ✭ 84 (+211.11%)
Mutual labels:  language-server
yoda
Experimental: Static Analyzer and Language Server for Ruby
Stars: ✭ 24 (-11.11%)
Mutual labels:  language-server
sfdx-lwc-fullcalendarjs
Full Calendar JS - Lightning Web Components
Stars: ✭ 44 (+62.96%)
Mutual labels:  lwc
Aura.Payload Interface
An interface package for Domain Payload implementations.
Stars: ✭ 12 (-55.56%)
Mutual labels:  aura
puppet-editor-services
Puppet Language Server for editors
Stars: ✭ 35 (+29.63%)
Mutual labels:  language-server
vscode-erlang-lsp
A VSCode extension for Erlang that uses a language server.
Stars: ✭ 16 (-40.74%)
Mutual labels:  language-server
lwc-test
LWC plugins and utilities for testing
Stars: ✭ 39 (+44.44%)
Mutual labels:  lwc
sfdx-lwc-jest
Run Jest against LWC components in SFDX workspace environment
Stars: ✭ 136 (+403.7%)
Mutual labels:  lwc
Flex-AntiCheat
Flex AntiCheat - Optimized Configs For Multiple AntiCheats
Stars: ✭ 37 (+37.04%)
Mutual labels:  aura
typescript-language-server
TypeScript & JavaScript Language Server
Stars: ✭ 1,118 (+4040.74%)
Mutual labels:  language-server
sublime-reason
Official Reason plugin for Sublime Text
Stars: ✭ 42 (+55.56%)
Mutual labels:  language-server
SimpleLightningComponents
A collection of custom Salesforce Lightning components to try to make Lightning development a little bit less frustrating
Stars: ✭ 37 (+37.04%)
Mutual labels:  aura
anakin-language-server
Yet another Jedi Python language server
Stars: ✭ 27 (+0%)
Mutual labels:  language-server
apex-rollup
Fast, configurable, elastically scaling custom rollup solution. Apex Invocable action, one-liner Apex trigger/CMDT-driven logic, and scheduled Apex-ready.
Stars: ✭ 133 (+392.59%)
Mutual labels:  lwc
cxxd
C/C++ language server implemented on top of Clang frontend.
Stars: ✭ 145 (+437.04%)
Mutual labels:  language-server
galaxy-language-server
Galaxy Language Server to help in Galaxy (https://galaxyproject.org/) tool wrappers development.
Stars: ✭ 20 (-25.93%)
Mutual labels:  language-server
vls
V language server
Stars: ✭ 267 (+888.89%)
Mutual labels:  language-server

License
npm (scoped) npm (scoped) npm (scoped) Commitizen friendly

Lightning Language Servers

Mono repo for the LWC and Aura Language Services that are used in the Salesforce Extensions for VS Code.

Issues & Features

Open issues and feature requests on the Salesforce VSCode Extensions Repository.

Setup Development Environment

Pre-requisites

Follow the pre-requisites here: https://github.com/forcedotcom/salesforcedx-vscode/blob/develop/CONTRIBUTING.md

Clone this repository and Salesforce VSCode Extensions

git clone [email protected]:forcedotcom/lightning-language-server.git
git clone [email protected]:forcedotcom/salesforcedx-vscode.git

Note: These projects need to be cloned into the same parent directory

Setup lightning-language-server repository

cd lightning-language-server
yarn install
yarn link-lsp

Setup Salesforce VSCode Extensions repository

cd ../salesforcedx-vscode
npm install
npm run link-lsp
npm run compile

Open both repositories in a vscode workspace

cd lightning-language-server
code ./vscode-workspaces/multiroot-simple.code-workspace # or
code ./vscode-workspaces/multiroot-flat.code-workspace

The "simple" workspace will effectively show two main nodes in the Explorer, while "flat" will show each package separately.

Simple:

Flat:

Debugging with VSCode

Run 'Launch DX - Aura & LWC' from the VSCode debug view (its the last one in that long list).

Recompile on change

cd ../lightning-language-server
yarn watch
cd ../salesforcedx-vscode
npm run watch

Note: You need to restart vscode each time you make changes to the language server or the lightning vscode extensions. Easiest way to do this is to kill the vscode client and hit F5 to relaunch your debugger.

Publishing to NPM

When a commit is merged to main, we will automatically create the github release, and then publish the changes to npm using our Github Actions

On-Demand publish to NPM

Navigate to the Actions tab in the repository

  1. Under Workflows on the left side, select Release.
  2. Select Run Workflow on the top row.
  3. Enter the desired version number, following semantic versioning.
  4. Select Run Workflow, and ensure the newest version is published to npm once the workflow completes.
  5. Any failures will notify the pdt release channel internally.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].