Mimic the Eclipse "Open Resource" Feature in Visual Studio Härma Eclipse "Open Resource" Feature i Visual Studio
Ever since my friend Daniel educated me on the great “Open Resource” feature in Eclipse, I decided I needed the same feature in Visual Studio as well. Ända sedan min vän Daniel utbildade mig på den stora "Open Resource"-funktionen i Eclipse, bestämde jag att jag behövde samma funktion i Visual Studio också. After browsing around, I finally found a comparable plugin called VSFileFinder that will work in Visual Studio. Efter att ha surfat runt, hittade jag äntligen en liknande plugg kallas VSFileFinder som kommer att arbeta i Visual Studio. It's not quite as good, but it's pretty decent. Det är inte riktigt lika bra, men det är ganska anständigt.
For those of you that haven't seen it, here's what the Eclipse Open Resource dialog looks like. För er som inte har sett det, här är vad Eclipse Open Resource dialogrutan ser ut.

And here's a screenshot of VSFileFinder in action. Och här är en skärmdump av VSFileFinder i aktion. You'll notice that it's very similar, but it doesn't show open files first. Du kommer att märka att det är mycket likt, men det visar inte öppna filer först.

The first thing you'll need to do is Det första du behöver göra är download hämta and install it from the CodeProject site (registration required). och installera det från CodeProject webbplats (registrering krävs).
Next to set a shortcut key for it, you'll want to open Tools \ Options and then browse down to Environment \ Keyboard Att redovisa ett kortkommando för det, du vill öppna Tools \ Options och sedan bläddra ner till Miljö \ Keyboard

Now you can set the same keyboard shortcut by typing “vsfile” into the “Show commands” box, clicking on the “VSFileFinder.Connect.ShowVSFileFinder” entry in the list. Nu kan du ställa samma kortkommando genom att skriva "vsfile" i "Visa kommandon" rutan, klicka på "VSFileFinder.Connect.ShowVSFileFinder" post i listan.

Add in the shortcut key you want, and click the Assign button. Lägg i kortkommando du vill använda och klicka på Tilldela knappen.
Now you have a comparable feature attached to a hotkey. Nu har du en liknande funktion knuten till en lösningen. Personally, I docked the window on the side and set it to auto-hide so it works similarly. Personligen dockad jag fönstret på sidan och ange att den ska döljas automatiskt så det fungerar på liknande sätt.

Daily Email Updates Dagligt Updates
You can get our how-to articles in your inbox each day for free. Du kan få våra instruktioner artiklar i din inkorg varje dag gratis. Just enter your name and email below: Skriv bara in ditt namn och e-postadress nedan:



There's also a plugin for VS called VisualAssist by WholeTomato software which has this file searching feature in it. Det finns också en plugin för VS kallas VisualAssist av WholeTomato program som har denna fil söka funktionen i det. It's excellent, but it's not free. Det är utmärkt, men det är inte gratis.
Yeah, the entire VisualAssist toolkit is very nice… but I prefer to promote and use open source software whenever possible. Ja, är hela VisualAssist verktygslådan mycket trevligt ... men jag föredrar att främja och använda öppen källkod så är möjligt.
And yes, I see the irony of promoting an open source plugin for a closed-source, commercial IDE on a closed-source, commercial OS =) Och ja, jag ser ironin i att främja en öppen källkod plugin för en sluten källkod, kommersiella IDE på en sluten källkod, kommersiell OS =)
I've updated VSFileFinder2005 a little bit to allow partial filename matching, which is more developer-friendly. Jag har uppdaterat VSFileFinder2005 lite att partiell filnamn matchning, vilket är mer exploatören-vänlig. See it at Se det http://alexle.net/archives/219 http://alexle.net/archives/219
-Alex -Alex