madskristensen / Tweakster

A Visual Studio extension
Apache License 2.0
238 stars 23 forks source link

Can you make the Tweaks options searchable like all other options? #85

Closed szalapski closed 2 years ago

szalapski commented 2 years ago

Thanks for the great extension. Can you make the Tweaks options searchable? Example: When I go to Tools -> Options and use the "search options" filter for "save", I expect to see "Tweaks 2019" since it has an "Auto save" option, but it does not appear.

image image

szalapski commented 2 years ago

(from https://stackoverflow.com/questions/68592238)

madskristensen commented 2 years ago

@gundermanc shouldn't DialogPage properties be searchable by default? How do it make them searchable?

gundermanc commented 2 years ago

shouldn't DialogPage properties be searchable by default?

No, unfortunately from Tools > Options infrastructure perspective, pages are just a UI element, and we don't know any of the content within.

To make your page show up in search under a different term, you can add additional keywords to your ProvideOptionPageAttribute on your VS package.

richardlawley commented 2 years ago

I don't think that https://github.com/madskristensen/Tweakster/commit/23f8f3e9f8154f2fa275ac6245bfc82ea5eebd80 actually fixed this - I tried searching for some of the terms in the commit without any results pointing at Environment > Tweaks:

image

Tested under VS 2019 and 2022, both at latest versions. Tested with the search box in the Options dialog, and in the Search everything (Ctrl-Q) box.