DXCore Services – History
The History service is dedicated for storing a few core feature history items for the current Visual Studio session. At the moment, it stores the history for selected text commands, string providers and regex aliases, which you can choose from the Select Dialog inside the Options Dialog:
For example, when you create a template expansion and add some text command to it using the Select Dialog – it will be immediately added into the history list:
This list will be used later to add capability to quickly select the same text command you have previously chosen:
It is useful for adding several similar text commands (or string providers) into your template expansion without showing the Select Dialog. The history items are cleared on Visual Studio shutdown.
There are three properties in the History service available:
Name |
Description |
RegExAliases | Returns an instance of HistoryList type of regex aliases. |
StringProviders | Returns an instance of HistoryList type of string providers. |
TextCommands | Returns an instance of HistoryList type of text commands. |