-
Notifications
You must be signed in to change notification settings - Fork 44
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
Selective Formatting not working #178
Comments
Hi, thank you for submitting your issue. Currently there are some issues with formatting in your post, so I can't really tell what is not working right. Could you reformat it, or describe it in some way? |
Sorry, the issue is if I try to Format the complete file the formatting works, But it does not work with Selective text. Example : I select a block of code errorList.addAll(validateField(contact.FirstName, objectName, 'First Name', 0)); Nothing happens and I get an error in the VS Code status bar as Extension Prettier cannot format the file. Does this help ? |
Oh I see, thank you for the explanation, that helps a lot. I think this is actually a feature request for Range Formatting support by this plugin. I will take a look at this soon. |
I have looked into this, and unfortunately Prettier does not allow its plugins to do this at the moment. I have opened an issue upstream here, and when that is resolved I will make sure |
Expected output:
Additional information (please fill this out):
mac 10.14.6
The text was updated successfully, but these errors were encountered: