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
33 stars 49 forks source link

feat: configure `sfdx` workspace to write `tsconfig` files #591

Closed jmsjtu closed 2 months ago

jmsjtu commented 3 months ago

What does this PR do?

This PR adds the ability for the language server to generate a tsconfig.json in addition to the jsconfig.json.

The language server will generate a tsconfig.sfdx.json file in the .sfdx directory and a tsconfig.json in each lwc directory.

The feature is gated behind a feature flag that will be implemented in the salesforcedx-vscode repository.

What issues does this PR fix or reference?

@W-15644075@

mingxuanzhangsfdx commented 3 months ago

NIT: In order to pass the step validate pr in CI you have to follow the format in the description like I just updated

What issues does this PR fix or reference? @[W-The work item ID]@