Modify file extensions filters list in Add Existing Item dialog
You could easily add a new filter that can be used in different places such as "Add Existing Item", "Open Item", "Find Files" etc dialog boxes by tweaking the registry.
For every Project registered in VS, there is a GUID under HKLM\Software\Microsoft\VisualStudio\<Version>\Projects\<YourCustomProjectGUID>. Under this GUID, you need to add the key "Filters\<any id e.g. language name>" and define value such as default "Resource string ID or String value of the filter" and control where this filter is applied and in which order by using different values in your filter key. See
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\9.0\Projects\{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}\Filters\/1
for an example filter used by standard VC projects.
You can use SortPriority to configure the order in which the filter is apears.
浙公网安备 33010602011771号