Michael Sawczyn
Michael Sawczyn

Reputation: 315

Can Visual Studio's Find be hooked for new file types?

I've created an entity modeling DSL (https://github.com/msawczyn/EFDesigner) and would like to give the users the ability to search the model while viewing it (for class names, attribute names, association endpoint names, etc.).

I'd like to hook into Visual Studio's Find feature and display the search results in the Find Results window, then put focus on the element when they select it in Find Results, in the same way that selecting a Find Results code entry navigates you to that line of code. I'm currently doing that kind of navigation with Errors and Warnings in the Error List window.

I can't seem to find documentation anywhere on the API for hooking into Find functionality. Based on Visual Studio's architecture, I'm assuming this is a service.

Is this an extension point? Is it not doable? If it can be done, would someone please point me to the documentation?

Thanks in advance.

Upvotes: 1

Views: 31

Answers (0)

Related Questions