Skip to content
/ qof Public
forked from martinky/qof

Quick Open File for Visual Studio

Notifications You must be signed in to change notification settings

drwestco/qof

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Quick Open File for Visual Studio

Quick Open File for Visual Studio is a small extension that tries to simulate the feature known to Eclipse users as Open Resource. This extension gives Visual Studio an equivalently quick method for opening any solution file.

Although in Eclipse this feature is invoked by Ctrl+Shift+R, this extension is invoked by pressing the sequence Ctrl+K, Ctrl+O (because the former shortcut key is already taken in Visual Studio by default). The default shortcut key can be changed by the user of course. It indexes all files from the entire solution that are accessible via the Solution Explorer. When it finds the desired file it opens the file in the default editor assigned for that file type.

It searches for the given substring inside file names. You can also use wildcards (?, *) in the search. The list of matched file names is updated on the fly as you type. Opening the file is as easy as hitting Enter when you've found the desired file. Press Shift+Enter to open the selected file using other than the default editor. This will bring up the Open With dialog where you can choose the desired editor.

Usage

After successful installation the extension will add a menu command: Edit > Find and Replace > Quick Open File. The command is also accessible via the predefined shortcut key sequence Ctrl+K, Ctrl+O. You can change the shortcut key preference any time via Tools > Customize... > Keyboard... The command's name is Edit.QuickOpenFile.

Quick Open File menu shortcut

After pressing the shortcut key combo the Quick Open File tool window is displayed. Now just type few letters from the file name you wish to open. It will search the entire solution for files that contains the typed string. I.e. the it will not only search for file names that start with the given string but also file names that contain the string in the middle. You can also use wildcards for more complex search patterns: ? matches any character, * matches any substring. The matching behavior can be tweaked in the settings.

Quick Open File tool window

The list of matched file names is updated as you type. Use Up and Down arrow keys to move within the list and press Enter to open the selected file. You can select multiple files by ticking the checkboxes (press Space) and open them at once.

Press Shift+Enter to open the selected file using other than the default editor. This will bring up the Open With dialog where you can choose the desired editor. The same can be done using the Open button or right clicking any file from the list and choosing either Open or Open With.

The latest version offers the possibility to tweak the search behavior and various other user settings. To invoke the settings dialog, click on the settings button in the tool window or go to Tools > Options... > Quick Open File. The settings should be self-explanatory.

Quick Open File tool window

Installation

Most convenient way to install Quick Open File is directly through Visual Studio's Extension Manager. Go to Tools > Extension Manager > Online Gallery and search for "quick open file for visual studio". This way you will be automatically notified when updates are released.

However, there are newer versions available, not yet uploaded to Visual Studio Gallery. Please, see below.

Downloads

Depending on your Visual Studio version, download and install one of the following:

Visual Studio 2012

Visual Studio 2010

Visual Studio 2008

All downloads are in the download section

Links

About

Quick Open File for Visual Studio

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%