vscode-standard
vscode-standard copied to clipboard
Bind to "format document" key binding
Should this plugin automatically bind to the default "format document" key binding?
(It works just fine in chenxsan.vscode-standard-format)
No, I think it would be confusing when all those plugins automatically bind to the default format document
key binding. So it won't be supported unless necessary.
Would you please consider making this configurable?
@brucx haha, I don't find any free time to implement this. You can submit a pull request if you like, I'm willing to merge it.
Would you please consider making this configurable?
How would that be different from now? The user can just bind the Formatting Hotkey to JS Fix Problems and has the same effect !?
https://code.visualstudio.com/blogs/2016/11/15/formatters-best-practices
The problem with creating a user shortcut is that is not easily shared between platforms (see Settings Sync) and other developers (shared projects). It would be much nicer to have a proper formatter.
No, I think it would be confusing when all those plugins automatically bind to the default
format document
key binding. So it won't be supported unless necessary.
I do not understand. All the extensions I have used (Rust, C++, Java, Python) just plug in into the API – why should this extension be different? VSCode already provides settings to configure formatters per language.