Posts Tagged ‘Files’

Quick Navigation inside Visual Studio using CodeRush

September 27th, 2012 1 comment

The Quick Navigation feature allows you to find any code members inside your solution, such as classes, interfaces, structures, enumerations, delegates, methods, properties, events, fields locals and parameters. Once you hit the Ctrl+Shift+Q shorcut, the simplified Quick Navigation window will appear by default:

CodeRush Quick Navigation Default Window

Read more…

Navigation between files – Open Files tool window

August 5th, 2011 Comments off

The Open Files CodeRush tool window lists files that are currently opened inside the Visual Studio IDE. The window allows you to quickly switch between files via a single mouse click. This window is similar to the Ctrl+Tab Visual Studio built-in window but has a few advanced options. This is what it looks like:

CodeRush Open Files default view

Read more…

How to edit source files of an entire Visual Studio solution using DXCore

July 4th, 2011 Comments off

Usually, simple edits of text files are accomplished using the TextDocument object, which represents an open source file inside the IDE. The text document object is easy to access through the Documents DXCore service. It has lots of useful methods for editing a text like InsertText, DeleteText and SetText, which take a source code coordinates and a new text for replacement as a parameters. However, to use a text document object, it is required for the file to be opened inside the Visual Studio environment. If a file is closed, there’s no TextDocument object assigned to the file and you simply can’t use its methods. In case you are going to edit closed and/or multiple files, there’s a better way – the FileChange object (in the DevExpress.CodeRush.Core.Replacement namespace).

Read more…

Navigating between files in Visual Studio using CodeRush

May 10th, 2011 Comments off

There are three different tool windows allowing you to navigate between files of your Visual Studio solution in CodeRush. The functionality of these three windows could be actually contained in a single window with a couple of switch options, but historically they have appeared variously in the following order:

Read more…

Coderush Quick File Navigation tool window

May 5th, 2011 4 comments

Quick File Nav navigation CodeRush feature allows you to switch between all files in a solution. The shortcut key for this tool window is the Ctrl+Alt+F. Once you press the shortcut, the following window appears at the editor caret position or at the center of the Visual Studio main window:

CodeRush Quick File Nav main window

Read more…

Browsing recently accessed files in Visual Studio using CodeRush

April 25th, 2011 Comments off

CodeRush has a special tool window for browsing recently opened (accessed) files inside Visual Studio called Browse Recent Files. It is available via the corresponding File -> Browse Recent Files… menu item, or via the Ctrl+Shift+. (dot at the end) shortcut. This is what it looks like:

CodeRush Recent Files preview

Read more…

DXCore Services – File

February 19th, 2011 Comments off

File service provides methods for file reading, writing, and editing.

Methods of this service:

Read more…

Refactorings – Move Type to File

January 19th, 2011 Comments off

The Move Type To File refactoring allows users to move a given class, structure, interface, enumeration or delegate to a separate file. It is available when there are two or more types in the current source file.

Refactoring moves a type with a name that differs from the file name to a new source file. All comments, attributes, and XML doc comments relating to the type are moved with the type. The file will be located in the same folder as the current file and automatically added to the project. The name of the new file is based on the type’s name on which refactoring is applied.

Read more…