-
Notifications
You must be signed in to change notification settings - Fork 27.8k
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
Error while formatting range for file HTML #48049
Comments
|
Hi @ramya-rao-a and thanks for your caring:
Yes
No. But the same page formatted properly on some nightly older than a week ago (no change)
stable is OK.
Both. I hope of having been helpful. I will investigate further as soon as I have more time. --R |
Having a sample code where we can see the issue will help a lot. |
I'll set up an example project as soon as I have time. --R |
|
@ramya-rao-a here it is!
|
Thanks @RobertoMalatesta |
@RobertoMalatesta @ramya-rao-a Thanks a lot for taking your time. Strangely I'm not able to reproduce. I even created a test case for it. Do you have any html, javascript or indentation settings defined? |
@aeschli I dont have any such settings and can repro this even with all extensions disabled. I was able to find the root cause in the compare function passed to We should be returning |
No. A clean one with no extensions. |
@ramya-rao-a Good catch, thanks! |
Fixed pushed to vscode-languageserver-node. |
it will take a while until we get the fix in VSCode... |
Thanks @ramya-rao-a and @aeschli . |
Fix is now in VSCode insiders |
🆗 |
Here's a regression in some latest nightlies, it happens when formatting code. Formatting fails:
VSCode Version:
code-insider-1.23.0-1523596516_amd64.tar.gz
code-insider-1.23.0-1523942099_amd64.tar.gz
Platform
Ubuntu 14.04 but I bet it's irrelevant.
-R
The text was updated successfully, but these errors were encountered: