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

How to set the rangeStart configuration for the prettier-vscode extension in VS Code? #3466

Closed
wangrongding opened this issue Jul 10, 2024 · 3 comments
Labels
locked Please open a new issue and fill out the template instead of commenting.

Comments

@wangrongding
Copy link

How to set the rangeStart configuration for the prettier-vscode extension in VS Code? Currently, it formats the entire file by default. Sometimes I just want to format the selected code by using Cmd + K & Cmd + F.

It can be achieved in the config configuration file in the project, but sometimes there is no such configuration in new projects, and I just want to have a default configuration option in vscode.

image

@wangrongding
Copy link
Author

Currently, there is no such configuration in the configuration items of prettier-vscode.

image

@ntotten
Copy link
Member

ntotten commented Aug 14, 2024

Range formatting is not supported

@ntotten ntotten closed this as completed Aug 14, 2024
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot added the locked Please open a new issue and fill out the template instead of commenting. label Nov 13, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 13, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
locked Please open a new issue and fill out the template instead of commenting.
Projects
None yet
Development

No branches or pull requests

2 participants