Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: hover error fixed in LSP #4003

Merged
merged 1 commit into from
Apr 6, 2022
Merged

fix: hover error fixed in LSP #4003

merged 1 commit into from
Apr 6, 2022

Conversation

randi274
Copy link
Contributor

@randi274 randi274 commented Apr 5, 2022

What does this PR do?

Consumes the latest lightning-language-server packages, which fixes the textDocument/hover error in
the event that the lsp is incorrectly parsing the content of .js files.

What issues does this PR fix or reference?

#3929, @W-10857157@

Functionality Before

Users were often experiencing the textDocument/hover error, which drew focus to the output panel and caused excessive noise.

Functionality After

This error is now suppressed, and users can continue developing without being constantly pestered with unhelpful errors 😌

Consumes the latest lightning-language-server packages, which fixes the textDocument/hover error in
the event that the lsp is incorrectly parsing the content of .js files.

#3929
@randi274 randi274 requested a review from a team as a code owner April 5, 2022 16:52
@randi274 randi274 requested a review from klewis-sfdc April 5, 2022 16:52
Copy link
Contributor

@floralan floralan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not seeing the hover error with this change! Great job for fixing this bug.

Copy link
Contributor

@gbockus-sf gbockus-sf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Using the ebike project I just edited some existing html to QE this issue. Used the currently released version (v54.6.1) to verify the error condition. Used the vsixes from the last build to verify this fixed.

✅ Verified that I got the error when editing HTML in LWC prior to the update
✅ Verified that the error no longer occurred after update

@randi274 randi274 merged commit ad3e338 into develop Apr 6, 2022
@randi274 randi274 deleted the randi/fix-hover-error branch April 6, 2022 14:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants