Archive

Archive for the ‘DXCore’ Category

DXCore Services – Clipboard

May 21st, 2011 Comments off

The Clipboard DXCore service provides access to the Windows clipboard. Contains methods for checking, retrieving, copying, cutting and pasting clipboard contents into the code editor.

Read more…

DXCore plug-in events overall list

May 6th, 2011 Comments off

Standard DXCore plug-ins include a full set of events supported by DXCore. These events are available right on the plug-ins design surface in the Property Browser. Just choose an event from the list, double click it or press the Enter key and then write an event handler code. The majority of events have sophisticated System.EventArgs descendants that let you handle an event very easily.

Read more…

DXCore Services – Menus

May 3rd, 2011 Comments off

The Menus DXCore service provides access to Visual Studio and DXCore menus.

Read more…

How to add new menu entries to specific Visual Studio dropdown or context menus

May 3rd, 2011 Comments off

Adding a new menu entry can be easily achieved using the Action DXCore control. Just set the ParentMenu property to the name of the menu, where you would like the new item to appear. As an alternative, you can set the CommonMenu to one of the suggested values. The CommonMenu property has the DevExpress.CodeRush.Menus.VSCommonBar enumeration type, which enumerates most of common Visual Studio menu names, such as File, Edit, View, Tools, DevExpress, Help, etc.

Read more…

DXCore Services – Serialization

April 22nd, 2011 Comments off

The Serialization DXCore service provides methods for objects serialization (saving and loading). It can be used to load CodeRush Code tempalates.

Read more…

DXCore Services – Templates

April 22nd, 2011 Comments off

The Templates DXCore service provides CodeRush Code Templates APIs and some additional text expansion services. Using this service, you can programmatically create your own templates and/or modify the existing ones.

Read more…

How to load/change CodeRush templates from inside your DXCore plug-in

April 22nd, 2011 Comments off

CodeRush code templates are stored inside serialized objects (binary and XML files) as opposed to usual DXCore plug-ins settings storage mechanism. If you’d like to load templates (e.g. to dump and print some templates categories) you can use the DXCore Templates and Serialization services.

Read more…

How to read/write different DXCore setting files from your own plug-in

April 22nd, 2011 Comments off

Sometimes, when developing a DXCore plug-in, you might need to know what settings other CodeRush or Refactor! features have. For example, it might be necessary to know if the particular feature is enabled or disabled to not intersect with it; or change a feature’s default settings from inside your own plug-in. This way, you can tweak any settings programmatically without opening the Options Dialog.

Read more…