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

Filter folders for formatOnSave #25824

Closed
philipp-spiess opened this issue May 3, 2017 · 2 comments
Closed

Filter folders for formatOnSave #25824

philipp-spiess opened this issue May 3, 2017 · 2 comments
Assignees
Labels
config VS Code configuration, set up issues *duplicate Issue identified as a duplicate of another issue(s) feature-request Request for new features or functionality

Comments

@philipp-spiess
Copy link

We run a bigger project where we've recently added prettier and are using the formatOnSave option. However, we don't want to run the formatting process on files that are not part of a few directories.

Is it possible to add another option so I can configure a regex that will be tested against the filename before formatOnSave will be triggered? A glob would work as well.

@kieferrm kieferrm added the feature-request Request for new features or functionality label May 3, 2017
@jrieken jrieken assigned sandy081 and unassigned jrieken May 4, 2017
@jrieken jrieken added the config VS Code configuration, set up issues label May 4, 2017
@sandy081
Copy link
Member

To generalise, this is to have file type specific settings.

Duplicate of #35350

@sandy081 sandy081 added the *duplicate Issue identified as a duplicate of another issue(s) label Nov 20, 2017
@vscodebot
Copy link

vscodebot bot commented Nov 20, 2017

This issue has been closed because it is already tracked by another issue. See also our GitHub issues to search for existing issues and our issue reporting guidelines.

Happy Coding!

@vscodebot vscodebot bot closed this as completed Nov 20, 2017
@vscodebot vscodebot bot locked and limited conversation to collaborators Jan 4, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
config VS Code configuration, set up issues *duplicate Issue identified as a duplicate of another issue(s) feature-request Request for new features or functionality
Projects
None yet
Development

No branches or pull requests

4 participants