-
Notifications
You must be signed in to change notification settings - Fork 39k
Test handling of multiple formatters #71093
Copy link
Copy link
Closed
Labels
Milestone
Description
Refs: #41882
Complexity: 3
We have improved the behaviour when having multiple formatters for a document. Install 'conflicting' formatter extensions like beautify and/or prettier and test that
- there are new actions 'Format Document With...' and 'Format Selection With...' which show quick pick allowing you to select an extension that's used to format
- clicking the gear icon in the formatter pick opens the extensions viewlet for that extension - allows to configure/disable/uninstall it
- there is also 'Format Document' and 'Format Selection' which in case of multiple extensions just pick one and then print on the status bar which it picked
- format on save and format on paste also print to status bar which formatter was selected, also only when multiple formatters exists
*Note that format selection only shows when an extension contributes such a provider.
Reactions are currently unavailable