Plugin per Visual Studio per simulare l'accesso alla tastiera "Apri tipo" o "Apri risorsa" di Eclipse

original title: "Plugin for Visual Studio to Mimic Eclipse's "Open Type" or "Open Resource" Keyboard Access"


If you've ever used Eclipse, you've probably noticed the great keyboard shortcuts that let you hit a shortcut key combination, then just type the first few characters of a function, class, filename, etc. It's even smart enough to put open files first in the list.

alt text

I'm looking for a similar functionality for Visual Studio 2008. I know there's a findfiles plugin on codeproject, but that one is buggy and a little weird, and doesn't give me access to functions or classes.

Se hai mai usato Eclipse, probabilmente avrai notato le fantastiche scorciatoie da tastiera che ti consentono di premere una combinazione di tasti di scelta rapida, quindi digita i primi caratteri di una funzione, classe, filenam ...

Questo è il riepilogo dopo la traduzione, se è necessario visualizzare la traduzione completa, fare clic sull'icona "traduci"

Tutte le risposte
  • Translate

    Vs11 (maybe 2010 had it too) has the Navigate To... functionality which (on my machine) has the Ctrl+, shortcut.

    By the way it understands capitals as camelcase-shortucts (eclipse does so too). For instance type HH to get HtmlHelper.

  • Translate

    This isn't exactly the same as Eclipse from your description, but Visual Studio has some similar features out of the box (I've never used Visual Assist X, but it does sound interesting).

    The Find ComboBox in the toolbar ends up being a sort of "Visual Studio command line". You can press Ctrl+/ (by default) to set focus there, and Visual Studio will insert an ">" at the beginning of the text (indicating that you want to enter a command instead of search). It even auto-completes as you type, helping you to find commands.

    Anyway, to open a file from there, type "open <filename>". It will display any matching files in the drop down as you type (it pulls the list of files from the currently open solution).

    To quickly navigate to a function, in the code editor press Ctrl+I to start an incremental search. Then just start typing until you find what you are looking for. Press Escape to cancel the search, or F3 to search again using the same query. As you are typing in the search query, the status bar in the lower left corner will contain what Visual Studio is searching for. Granted, this won't search across multiple files (I've never used Eclipse much, but that sounds like what it does from your description), but hopefully it will help you at least a little bit.

  • Translate

    If anyone stumbles upon this thread:

    There's a free plugin (created by me) for Visual Studio 2008 that mimics the Eclipse Ctrl+Shift+R Open Resource dialog (note, not the Open Type dialog). It works with any language and/or project type.

    You can find it at Visual Studio Gallery.

  • Translate

    Some of the neat features are available in Visual Assist X, though not all of them. I've asked on their forums, but they haven't appeared as yet. VAX gets updated regularly on a rough 4 week period for bug fixes and a new feature every couple of months.

  • Translate

    If you are looking for an add-in like this to quickly navigate to source files in your project:

    SonicFileFinder 1.8.5

    try the Visual Studio 2005/2008 add-in SonicFileFinder.

  • Translate

    Resharper does this with the Ctrl-N keyword. Unfortunately it doesn't come for free.

    Visual Studio doesn't have anything like this feature beyond Find.

  • Translate

    Found this thread while searching for Eclipse's Ctrl+Shift+R, and after seeing the Visual Studio Gallery, found the DPack Tools (they are free, and no, I'm not endorsed in any way by them).

    But it's exactly what I was searching: - Alt+U -> File Browser (a la Eclipse Ctrl+Shift+R) - Alt+M -> Code Browser (Method list in the actual class)

    It has more features, but I'm happy with these ones.

  • Jean Lee

    I have been using biterScripting along with Visual Studio to do more flexible searching and manipulation.

    1. It can search the entire workspace.

    2. It can search within any project - EVEN IF THAT PROJECT IS NOT LOADED OR EVEN PART OF A WORKSPACE.

    3. It can find things using regular expressions.

    4. AND, ABOVE ALL, it can make bulk changes. For example, want to change the name of a class from CCustomer to CUser, I can do it in just a few command lines - Actually, I have written scripts for things like this I do often. I DON'T HAVE TO CLICK ON EACH INSTANCE AND MANUALLY DO THE CHANGE.

    5. And, it is inexpensive ($0). I downloaded it from .

  • Translate

    I'm also comming from the Java Development side and was looking for the CTRL+T feature in the Visual Studio. The other answers refer to open file, but since in C# the class name and file name can be different this is not what i was looking for.

    With the Class View or the Object Browser you can search for Objects and Classes

    [View]->[Class View] or [View]->[Object]