Closed NN--- closed 3 years ago
I second that emotion. I have a large number of VS2019 extensions, and it would be helpful to be able to click one button to select all of them in one go -- rather than a manual process of clicking each check box one by one.
Is the function already in the latest version? I saw the pull request & code but it isn't appearing in the modal.
The update has not been sent to the store yet.
I installed the updated version manually since it was quicker than clicking extensions one by one.
I would like to recommend that a "Deselect All" button also be added.
In fast, I suggest the use of the "list builder pattern" for the dialog box, such as this example shown:
However, with Add All and Remove All buttons also.
I can release the latest version to the Marketplace. Can you please verify that the latest CI build works to your satisfaction?
@astrohart I added a 'Deselect all' button as well. Please take a look below.
Thanks, @madskristensen. It works okay for me.
That is very nice, but what about the "OK" button? I am confused, once I've "selected" all my extensions that I want, how do I tell it to "do it?"
In my mind, the "Select All" and "Deselect All" buttons just change the state of the check boxes. There should be an OK button in the dialog box (I suggest renaming the "Select" button "OK" and change it to have the default focus (i.e., a heavy bold border and it's pressed when the ENTER key is pressed)).
Something like this:
As shown in the image, there are "OK" and "Cancel" buttons. The "Cancel" button, when clicked, closes the dialog box and does not do anything else (i.e., does not apply the user's settings in any way). Pressing the ESCAPE key should also trigger the "Cancel" functionality. Likewise, the "OK" button dismisses the dialog box and also applies the user's settings/takes the action of importing or exporting (for even more user-friendliness, detect whether the dialog is being brought up to Import or Export, and change the text of the "OK" button to "Export" or "Import," as appropriate). The "OK" button should also be triggered by a press of the ENTER key. Move the Select and Select All buttons to be aligned as shown, and this makes for a more pleasing layout.
Fixed by via 02d134c.
There should be button to export all without selecting one by one.