Archive

Archive for the ‘DXCore’ Category

DXCore Services – Reflection

September 19th, 2011 Comments off

The Reflection DXCore service provides access to useful .NET reflection methods.

Read more…

DXCore Services – UndoStack

September 19th, 2011 Comments off

The Undo Stack DXCore Service provides access to the Undo Manager and undo/redo stack of the Visual Studio IDE.

Read more…

DXCore Services – String Utilities

September 19th, 2011 Comments off

The String Utilities DXCore service (accessed via the CodeRush.StrUtil object) provides utility methods for manipulating single string, multi-line texts, and string arrays.

Read more…

How to use WPF controls in DXCore Tool Window plug-in

September 16th, 2011 Comments off

DXCore Tool Windows are based on the Windows Forms technology and can use only Windows Forms controls. However, if you would like to use WPF controls there is a work-around intended to use the ElementHost Windows Forms control that is used to host a Windows Presentation Foundation (WPF) element.

Read more…

DXCore Services – Caret

August 31st, 2011 Comments off

The Caret DXCore service provides methods and properties for the code editor text caret (cursor). It allows you to move, hide, show the caret and execute many text operations, such as text insertion, deletion, and retrieving for the current caret position.

Read more…

DXCore Services – Selection

August 30th, 2011 7 comments

The Selection DXCore service provides methods for manipulating the selected text in the code editor.

Read more…

DXCore APIs related to the programming languages specification

August 29th, 2011 Comments off

Every programming language has its own language specification. There are numerous rules for each language that vary between programming languages. DXCore supports several programming languages and provides APIs to determine specific rules for them. These APIs are available primarly through the DXCore Language service. Let’s review the most important methods and properties of this service, comparing the CSharp (C#) and Visual Basic (VB) programming languages.

Read more…

How to get the declaring element (declaration) from a reference using DXCore

August 29th, 2011 Comments off

Once you have a reference to an element and would like to get its declaration, simply call the GetDeclaration() method of a reference of the Expression type (all references have the Expression base type).

Read more…