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

language-specific setting for format on save #13547

Closed
skybrian opened this issue Oct 11, 2016 · 1 comment
Closed

language-specific setting for format on save #13547

skybrian opened this issue Oct 11, 2016 · 1 comment
Assignees
Labels
*duplicate Issue identified as a duplicate of another issue(s) feature-request Request for new features or functionality

Comments

@skybrian
Copy link

  • VSCode Version: 1.6.0
  • OS Version: Ubuntu 14.04.5 LTS

Steps to Reproduce:

  1. Turn on "format on save":
  2. Edit json file
  3. Save the file
  "editor.formatOnSave": true,

I'd like to use "format on save" for source code in my main language, but not for JSON or any other language. So it seems like this setting should be language-specific? Instead of a boolean, perhaps have a list of languages (or perhaps file extensions) for which format on save should be turned on?

@mjbvz
Copy link
Collaborator

mjbvz commented Nov 12, 2016

Related to #1587, which tracks support for general language specific settings.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*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

3 participants