Mimic the Eclipse "Open Resource" Feature in Visual Studio Bắt chước Eclipse "Mở nguồn" Tính năng trong 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. Kể từ Daniel bạn của tôi giáo dục tôi trên tính năng "tuyệt vời" Mở tài nguyên trong Eclipse, tôi quyết định tôi cần các tính năng tương tự trong Visual Studio là tốt. After browsing around, I finally found a comparable plugin called VSFileFinder that will work in Visual Studio. Sau khi duyệt web trên, tôi cuối cùng đã tìm thấy một plugin so sánh được gọi là VSFileFinder rằng sẽ làm việc trong Visual Studio. It's not quite as good, but it's pretty decent. Nó không phải là khá tốt, nhưng nó đẹp, phong nha.
For those of you that haven't seen it, here's what the Eclipse Open Resource dialog looks like. Đối với những người bạn đã không nhìn thấy nó, đây là những gì mà Eclipse nguồn mở hộp thoại trông giống như.

And here's a screenshot of VSFileFinder in action. Và đây là một ảnh chụp màn hình của VSFileFinder trong hành động. You'll notice that it's very similar, but it doesn't show open files first. Bạn sẽ nhận thấy rằng nó rất giống nhau, nhưng nó không hiển thị tập tin mở đầu tiên.

The first thing you'll need to do is Việc đầu tiên bạn cần làm là download tải xuống and install it from the CodeProject site (registration required). và cài đặt nó từ trang web CodeProject (đăng ký yêu cầu).
Next to set a shortcut key for it, you'll want to open Tools \ Options and then browse down to Environment \ Keyboard Next để thiết lập một phím tắt cho nó, bạn sẽ muốn mở Tools \ Options và sau đó duyệt xuống Môi trường \ Bàn phím

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. Bây giờ bạn có thể đặt phím tắt cùng bằng cách gõ "vsfile" vào các lệnh Show "" hộp, cách kích chuột vào mục "" VSFileFinder.Connect.ShowVSFileFinder trong danh sách.

Add in the shortcut key you want, and click the Assign button. Thêm vào phím tắt mà bạn muốn, và nhấn nút Assign.
Now you have a comparable feature attached to a hotkey. Bây giờ bạn có một tính năng so sánh được gắn vào một phím nóng. Personally, I docked the window on the side and set it to auto-hide so it works similarly. Cá nhân, tôi docked cửa sổ bên trong và đặt nó là tự động giấu vì vậy nó hoạt động tương tự.

Daily Email Updates Email cập nhật hàng ngày
You can get our how-to articles in your inbox each day for free. Bạn có thể làm thế nào chúng tôi vào các bài viết trong hộp thư của bạn mỗi ngày miễn phí. Just enter your name and email below: Chỉ cần nhập tên và email của bạn dưới đây:



There's also a plugin for VS called VisualAssist by WholeTomato software which has this file searching feature in it. Còn có một plugin cho VS được gọi là VisualAssist bởi WholeTomato phần mềm có tính năng tìm kiếm file này trong đó. It's excellent, but it's not free. It's tuyệt vời, nhưng nó không miễn phí.
Yeah, the entire VisualAssist toolkit is very nice… but I prefer to promote and use open source software whenever possible. Yeah, toàn bộ VisualAssist bộ công cụ là rất tốt đẹp ... nhưng tôi thích để thúc đẩy và sử dụng phần mềm nguồn mở bất cứ khi nào có thể.
And yes, I see the irony of promoting an open source plugin for a closed-source, commercial IDE on a closed-source, commercial OS =) Và có, tôi thấy các irony của việc thúc đẩy một plugin mã nguồn mở cho một nguồn đóng cửa, thương mại IDE trên một nguồn đóng cửa, thương mại OS =)
I've updated VSFileFinder2005 a little bit to allow partial filename matching, which is more developer-friendly. Tôi đã cập nhật VSFileFinder2005 một ít để cho phép kết hợp một phần tên tập tin, được nhiều nhà phát triển thân thiện. See it at Nhìn thấy nó ở http://alexle.net/archives/219 http://alexle.net/archives/219
-Alex -Alex