Archive

Archive for the ‘Plug-in Development’ Category

How to use BigHint DXCore component

December 6th, 2010 Comments off

To make the big hint component work, execute the following steps:

  1. Drop the BigHint control on the PlugIn design surface
  2. Fill the Title property with a short message
  3. Fill the Text property with a message or some information
  4. Call one of the ShowAt() overloads inside your code.

Read more…

How to use IssueProvider DXCore component

December 2nd, 2010 6 comments

Let’s assume that we need to highlight all local variables with incorrect names using CodeRush Code Issues technology. For example, the name is incorrect if it starts from an upper case letter instead of a lower case letter. Follow these steps to get the IssueProvider component working:

  • Create a new DXCore plug-in if you haven’t done it yet
  • Drop the IssueProvider control on the plug-in designer surface
  • Fill the ProviderName property of the IssueProvider
  • Fill the Description property of the IssueProvider if needed

Read more…

DXCore adornments creation and wizards

October 6th, 2010 Comments off

There are several project item wizards made for simplifying the DXCore visual adornments creation process:

  • DXCoreAdornment – widespread adornments project item which consists of two main adornment objects bound to text coordinates: TextDocumentAdornment and VisualObjectAdornments.
  • ViewPortAdornment – contains of EditorAdornment and ViewPortAdornment which can be added to a TextDocument or TextView and bound to screen or text view coordinates.
  • TileVisual – contains of two DXCore tile adornment objects: TextDocumentTile and TileVisual to create tiles in the code editor. Tile adornments can react on mouse events.

Read more…

How to add a button to the DXCore Visualize toolbar

September 17th, 2010 Comments off

To place a new button on the DXCore Visualize toolbar, all you need to do is to add a new DXCore Action component on your plug-in design surface, and adjust its ToolbarItem properties group:

Read more…

How to add support for dropping markers into CodeRush Xpress

September 3rd, 2010 Comments off

CodeRush Pro has great Markers support, but, unfortunately, CodeRush Xpress lacks it – you can’t drop them manually using the Alt+Home shortcut. Here’s an example of how you can work around this limitation.

1. Create a new DXCore plug-in via the File -> New -> Project… -> Visual C# -> DXCore -> Standard Plug-in item. Enter a name of the plug-in if necessary and click OK:

Read more…

How to create a new CodeRush (DXCore) plug-in

August 16th, 2010 3 comments

Note, this article has been moved to the official DevExpress Support Center site. Please refer to the moved article as it might have further updates or additional comments. Thank you.

There are two ways to create a new CodeRush (DXCore) plug-in in Visual Studio:

1. Inside the IDE, from the DevExpress menu, access the “New Plug-in…” menu item:

Read more…