You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There should be no issues and the language server should continue to work
Actual result
The end of the style tag gets marked with a red syntax error (but no "problem"). After saving, the following error when be output:
[Error - 2:02:13 PM] Request textDocument/rangeFormatting failed.
Message: Request textDocument/rangeFormatting failed with message: js_source_text is not defined
Code: -32603
When this happens, prettier formatting no longer works.
Hi @ChuckJonas, We are aware of this issue - it's the same one as #5593 which was also filed this week. We have filed a bug for this in our backlog from the previous issue and will add this occurrence to our bug.
Summary
Adding a
<style>
tag to a VF page breaks the VF language Server in vscode.Steps To Reproduce:
Expected result
There should be no issues and the language server should continue to work
Actual result
The end of the style tag gets marked with a red syntax error (but no "problem"). After saving, the following error when be output:
When this happens, prettier formatting no longer works.
Additional information
Salesforce Extension Version in VS Code: v60.13.0
Salesforce CLI Version: @salesforce/cli/2.41.8 darwin-arm64 node-v20.12.
OS and version: OSX
VS Code version: 1.87
Most recent version of the extensions where this was working: No idea
The text was updated successfully, but these errors were encountered: