Replaced DropDownComboBox with MRUComboBox #16
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
To add to this issue #7, I made a fork CoderGimmic@b588ec9 and replaced the existing ComboBox with a MRUComboBox. It's the first time I'm writing code to extend Visual Studio so there's probably something I've missed. I'll gladly fix any things done wrong given some pointers as I'd really like this feature to be implemented, or feel free to use my commit as a basis to implement the feature yourself instead.
Currently I've just replaced the existing ComboBox with a MRUComboBox using the following example code as base https://github.com/Microsoft/VSSDK-Extensibility-Samples/blob/master/Combo_Box/C%23/VsPkg.cs#L320. So Instead of having multiple events tied to the regular dropdown I've replaced them with a single event which handles read and writes using your backend to get the command line arguments.
According to the example provided above: "The list of choices entered is automatically remembered by the IDE on a per-user/per-machine basis." when using a MRU ComboBox. So as of now I've just disabled the SettingsStore which you've implemented.
This tool is invaluable to me as I'm often switching between command arguments, thanks!
~Gimmic