Archive

Archive for the ‘Services’ Category

DXCore Services – IDE

November 8th, 2010 Comments off

The IDE service contains properties of the main Visual Studio IDE window. The service reference itself (“CodeRush.IDE“) can be used as an instance of the IWin32Window type to the Visual Studio IDE window. So, for example, if you’d like to show a modal dialog and want to have the main IDE window as its owner, pass the CodeRush.IDE reference as a parameter to the “ShowDialog” method call of the dialog window.

Read more…

DXCore Services – GUIDs

November 8th, 2010 Comments off

Not a really useful service at the moment. It contains only a single property called “Windows“, which is supposed to store a collection of GUIDs of Visual Studio hosted windows.

For now, there is only a single GUID called “HelpPage”, which returns a GUID for a Web Browser window hosted in Visual Studio. It is used to get a handle for a particular window in the integrated development environment (IDE), in order to gain access to its properties and methods.

—–
Products: DXCore
Versions: 10.1 and up
VS IDEs: any
Updated: Nov/08/2010
ID: D030

DXCore Services – Editor

October 27th, 2010 Comments off

The Editor service provides methods and properties for the IDE code editor. It is is similar to the Designer service.

Here are its methods:

Name

Description

Activate(Document) Activates (gives focus to) or opens the form designer for the specified document.
Activate(Document, Boolean) Activates (gives focus to) or opens the form designer for the specified document. Takes a boolean parameter that specifies whether to force opening a designer for the document if it is not found.
ShowDesigner Shows the code view corresponding to the current designer.
ToggleCodeAndDesignerViews Switches the view between code and designer views.

Read more…

DXCore Services – Solution

October 21st, 2010 Comments off

The Solution service provides methods for adding, removing, and renaming project items of the current opened solution.

Read more…

DXCore Services – Designer

October 11th, 2010 Comments off

The Designer service provides methods for Windows Forms design-time support. It is similar to the Editor service.

Here they are:

Name

Description

Activate(Document) Activates (gives focus to) or opens the form designer for the specified document.
Activate(Document, Boolean) Activates (gives focus to) or opens the form designer for the specified document. Takes a boolean parameter that specifies whether to force opening a designer for the document if it is not found.
ShowCodeView Shows the code view corresponding to the current designer.
ToggleCodeAndDesignerViews Switches the view between code and designer views.

Read more…

DXCore Services – DynamicLists

October 6th, 2010 Comments off

The DynamicLists service provides methods for working with dynamic lists. Note, that it is only used internally and hidden from Intellisense but can be used for your purposes if needed.

Read more…

DXCore Services – Dialogs

October 6th, 2010 Comments off

The Dialogs service provides methods for a DXCore internal dialogs manipulation. Currently it is used internally for selecting a text command or a string provider from the specified list, and is not very useful for plug-in developers at the moment.

There are two methods available:

Read more…

DXCore Services – Debugger

October 6th, 2010 Comments off

The Debugger service provides access to the Visual Studio debugger and its current mode properties.

Methods:

Name

Description

Break Causes the current process to pause its execution. This method waits for the debugger to enter break mode before returning.
Break(Boolean) Causes the current process to pause its execution. Takes a boolean parameter which specifies whether this method should wait for the debugger to enter break mode before returning or return immediately.
DetachAll Detaches the debugger from all attached programs.

Read more…