Archive

Posts Tagged ‘Services’

DXCore Services – TextCommands

March 17th, 2011 Comments off

The TextCommands DXCore service provides access to registered text commands inside DXCore and allows you to format a text command to prepare it for expansion. Formatting of a text command means adding special characters defined in the Constants DXCore service to be able to expand it using the TextExpansions service. For example, to format the Caret text command, pass its name to the Format method:

CodeRush.TextCommands.Format("Caret")

and as a result, it will return: «Caret».

Read more…

DXCore Services – Outline

March 16th, 2011 Comments off

The Outline DXCore service provides access to the editor outlining, allowing you to collapse, expand, and toggle outlining.

Here are its methods:
Read more…

DXCore Services – ProjectItems

March 16th, 2011 Comments off

At the moment, the ProjectItems DXCore service contains only the single Active property which returns the EnvDTE.ProjectItem instance for the active text document. Most likely, it will be populated with additional APIs related to ProjectItems, in the future.

—–
Products: DXCore
Versions: 10.2 and up
VS IDEs: any
Updated: Mar/17/2011
ID: D068

DXCore Services – Resources

February 19th, 2011 2 comments

Resources service of DXCore contains shared resource images and drawing methods for use in plug-ins.

Methods of this service:

Read more…

DXCore Services – File

February 19th, 2011 Comments off

File service provides methods for file reading, writing, and editing.

Methods of this service:

Read more…

DXCore Services – Options

February 5th, 2011 Comments off

This DXCore service provides methods and properties for manipulation of options pages and decoupled storages for persisting plug-in settings.

Read more…

DXCore Services – TextExpansions

January 14th, 2011 Comments off

Text Expansions DXCore service provides methods and properties for expanding dynamic text containing encoded text commands and/or string providers. CodeRush Templates is an example of such a feature. Note that the service is hidden from Intellisense.

One of the most important methods is “Insert” (with various overloads), which allows you to expand the text you prepared. All Insert methods return the SourceRange of the expanded text. For example, when you expand the “ai” template in CSharp (to create a new auto-implemented property), the following text is being expanded:

Read more…

DXCore Services – LinkedIdentifiers

December 27th, 2010 Comments off

Linked Identifiers are a built-in feature of DXCore, which allows you to simultaneously change similar pieces of the text (code) located in different places. The service provides access to the Linked Identifiers engine.

Read more…