DXCore components and controls list
November 17th, 2010
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
Here they are in detail (the icon (a green tick or a red cross) on the last column in all tables specifies whether this control appears on the Visual Studio toolbox):
- Commands
Name |
Description |
||
|
Action | Registers an action with DXCore/CodeRush and the Visual Studio IDE. Actions can be bound to keystrokes. | ![]() |
![]() |
Text Command | TextCommands move the editor caret, insert, remove, or change code, and bring up a UI for powerful, intelligent and potentially interactive code creation. | ![]() |
- Events
Name |
Description |
||
|
DXCore Events | Provides access to a host of Visual Studio and DXCore/CodeRush events. StandardPlugIn descends from this class and inherits its events. |
|
- Extensions
Name |
Description |
||
|
Duplicate Line | Participates in the CodeRush Duplicate Line feature, providing intelligent custom suggestions based on the context. |
|
![]() |
Intellassist | Participates in the CodeRush Intellassist feature, providing intelligent custom suggestions based on the context. |
|
![]() |
Language | Registers support for a programming language, implementing a parser that generates a source tree of DXCore language elements. |
|
![]() |
Selection Inversion | Adds custom intelligent selection inversions that can be applied to the selected code. |
|
![]() |
Intelligent Paste | Adds custom Intelligent Paste expansion based on the context. |
|
- Providers
Name |
Description |
||
|
Code | Provides a particular code operation which can change your code in any way, depending on the context. |
|
![]() |
Code Metric | Calculates and returns a code metric used in the Metrics tool window of Refactor! Pro. |
|
![]() |
Context | Provides a context entry which users can bind to shortcuts, code templates and other CodeRush solutions. Context determines if a feature is appropriate for use. |
|
|
Contract | Provides a code contract used in the Add Contract provider, which checks conditions for method parameters. |
|
![]() |
Dynamic List | Returns a collection of Dynamic Lists used in the CodeRush Templates Engine. |
|
![]() |
Issue | Provides a particular code issue check, which verifies the source code. |
|
![]() |
Navigation | Provides a particular navigation action, which performs navigation inside of the source code. |
|
![]() |
Refactoring | Provides a particular code refactoring operation, which can improve your source code without changing its logic in the definite context. |
|
|
Search | Returns a custom searcher used in the Rename refactoring or Tab to Next Reference navigation feature. |
|
|
Smart Tag | Provides a custom smart tag item used in the IDE context menu or in the Refactor! popup menu. |
|
![]() |
String | Returns a string based on state, context, and/or parameters passed to this provider. String providers can be used in templates, text expansion, intelligent paste, and a number of other CodeRush features. |
|
![]() |
Tutorial Content | Returns a section of HTML for displaying in the DXCore User Guide. |
|
![]() |
Tutorial Page | Returns an entire HTML page, and registers it, so it appears in the topic tree of the DXCore User Guide. |
|
|
Unit Test | Provides support for custom testing engines used in the CodeRush Unit Test Runner. |
|
- User Assistance/Interaction
Name |
Description |
||
![]() |
Action Hint | 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. |
|
|
Animated Arrow | A descendant of the AnimationFrame, this control will animate an arrow that moves from one location in the source code to another. This animation is useful for illustrating relationships between bits of code. |
|
|
Animation Frame | Animates on the code editor, the form designer, or just about any part of Visual Studio. |
|
![]() |
Big Feedback | Shows a custom feedback message (also known as Billboard Message) on the entire code editor surface. |
|
![]() |
Big Hint | Shows a customizable hint with a title and specific information. |
|
|
Code View | Shows a syntax highlighted code preview window, useful for showing result code of any code changing operation. |
|
|
Reorder Selector | An interactive selector specified for the reordering of elements in the code editor. |
|
|
Locator Beacon | A descendant of the AnimationFrame, this control will animate a locator beacon anywhere you need one in Visual Studio. |
|
![]() |
Shortcuts Hint | Shows a help hint with a table of available shortcut keys in the current context for the particular interactive feature. |
|
![]() |
SourceRange Highlight | A descendant of the AnimationFrame, this control will highlight a section of code. |
|
![]() |
Target Picker | A code location picker used for specifying the target location. |
|
![]() |
Text Change Selector | An interactive dialog used for several code changing operations. Allows you to apply a single change, apply all changes, skip, or suppress and then resume code changing operations. |
|
- Visual Controls
Name |
Description |
||
![]() |
Color Swatch | A color picker used for choosing a color. |
|
|
Context Picker | Allows users to specify sophisticated context expressions. |
|
![]() |
LedLight | A small icon used for indicating a particular state using different colors. |
|
![]() |
LedLightLabel | A small icon with a text used for indicating a particular state using different colors. |
|
![]() |
Source Tree | Shows a full source tree of DXCore language elements of a specific parsed source file. |
|