Archive for the ‘DXCore’ Category

DXCore Components – ActionHint

November 22nd, 2010 Comments off

The Action Hint component points to a location on screen with a large colored arrow, displaying a short text message. Action hints inform new users about IDE tools features, as they occur. Here is what it looks like:

DXCore action hint samples

Read more…

DXCore components and controls list

November 17th, 2010 Comments off

DXCore has several components added into your Visual Studio toolbox, which you can use inside your DXCore based plug-ins. These components are divided into the following categories:

  • Commands
  • Events
  • Extensions
  • Providers
  • User Assistance/Interaction
  • Visual Controls

Read more…

CodeRush object for accessing to DXCore services

November 15th, 2010 Comments off

The CodeRush object provides access to DXCore/CodeRush services. Historically it was called CodeRush, because DXCore framework was not decoupled from the CodeRush product at the beginning; in other words, DXCore did not exist at that time. Today, it should technically be called DXCore.

The full list of services accessible through CodeRush object can be seen in the corresponding topic.

Read more…

How to show and dock a tool window automatically on Visual Studio start-up

November 15th, 2010 5 comments

If you’d like to show your tool window from a DXCore-based ToolWindow plug-in, you have to create another standard plug-in that will do this. You can add an additional DXCore standard plug-in project item into your solution, where the tool window is located. In the new plug-in, you need to handle the DXCoreLoaded event and manually add a code that opens and shows a tool window.

Read more…

DXCore Services – History

November 12th, 2010 Comments off

The History service is dedicated for storing a few core feature history items for the current Visual Studio session. At the moment, it stores the history for selected text commands, string providers and regex aliases, which you can choose from the Select Dialog inside the Options Dialog:

Read more…

DXCore Services – XPO

November 11th, 2010 Comments off

The XPO service is dedicated for the eXpress Persistent Object object-relational mapping tool from DevExpress. At the moment, it contains only a single method IsPersistent(TypeDeclaration type), which returns true if the passed type has a Persistent attribute and/or descends from XPObject, XPBaseObject or XPCustomObject, and the class does not include a NonPersistent attribute.

In the future this service is going to be extended with additional useful methods and properties.

Products: DXCore
Versions: 10.1 and up
VS IDEs: any
Updated: Nov/11/2010
ID: D032

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