-
Notifications
You must be signed in to change notification settings - Fork 14
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
formattingToggle.deactivateFor #47
Comments
Hey. Unless I鈥檓 misunderstanding, this is already possible with: "formattingToggle.activateFor": ["formatOnPaste", "formatOnType"] |
Sorry it wasn't clear. When I click the "formatting" button your extension disable all three options ( If I'm not mistaken "formattingToggle.activateFor" works only when you enable formatting, but it's not possible to control which of the three settings your extension disable |
Would this work for you? {
"editor.formatOnSave": false,
"editor.formatOnPaste": true,
"editor.formatOnType": true,
"formattingToggle.activateFor": ["formatOnPaste", "formatOnType"]
} I think that should work the way you want it. |
Nope that's not really what I'm looking for I would like two configurations, that is, two states:
I tried your suggestion:
and the two states it produced are:
|
Oh. I understand now, although I have to admit I dont really see what the actual use-case is (does You might want to look into other extensions such as https://marketplace.visualstudio.com/items?itemName=rebornix.toggle. |
I want to tackle this, moved to #48 |
Thanks for your extension 馃檪
That would be nice to have an option
formattingToggle.deactivateFor
, in my case I would like to disableformatOnSave
but keepformatOnPaste
andformatOnType
when I'm contributing to existing code.Thanks
The text was updated successfully, but these errors were encountered: