Partilhar via


Microsoft.VisualStudio.Package Namespace

This namespace now includes documentation only for the types in the Microsoft.VisualStudio.Package.LanguageService.* assemblies.

The Managed Package Framework source code that formerly was shipped as part of the Visual Studio SDK can now be found at MPF for Projects - Visual Studio 2010.

Classes

  Class Description
Public class AuthoringScope Encapsulates information about the source as obtained from a parsing operation.
Public class AuthoringSink This class is used by the parser to gather information about the source being parsed.
Public class CodeWindowManager Wraps an IVsCodeWindow object for use in a language service.
Public class ColorableItem Provides a default implementation of the VSIP interface IVsColorableItem.
Public class Colorizer This class implements the IVsColorizer interface and is used to support syntax highlighting in an editor.
Public class CompletionSet Represents an IntelliSense completion list that is displayed in the current text view.
Public class Completor Wraps and applies multiple changes to a text view as a single operation.
Public class CompoundAction Manages a group of edit operations that are treated as a single operation.
Public class CompoundActionBase Used to create CompoundAction objects.
Public class CompoundActionFactory Creates CompoundAction objects based on specific source files and views.
Public class CompoundViewAction Manages multiple edit actions that are treated as a single operation, optimized for a text view.
Public class Declarations Manages a list of declarations to be shown in an IntelliSense drop-down list.
Public class DefaultFieldValue Associates a default value with a field name as defined in a code snippet template for a language service.
Public class DocumentProperties Provides support for document-specific properties associated with a language service.
Public class DocumentTask Represents an item for a language service in the Error List Options window.
Public class DropDownMember Represents a single entry in a combo box on a drop-down bar.
Public class EditArray Merges multiple edit operations to create a single operation.
Public class EditorControl Handles the editor window.
Public class EditorFactory This class provides a default editor factory implementation that hosts the Visual Studio core editor.
Public class EditorFactory.EditorInfo Contains data about a specific editor.
Public class EditSpan Describes an edit operation.
Public class ExpansionFunction Provides support for expansion functions in code snippets for a language service.
Public class ExpansionProvider Provides support for inserting code snippets into source code.
Public class FilePathUtilities Static utilities for getting and setting file paths.
Public class LanguagePreferences Provides support for language service-specific preferences.
Public class LanguageService This is the base class for a language service that supplies language features including syntax highlighting, brace matching, auto-completion, IntelliSense support, and code snippet expansion.
Public class MethodData Provides support for the IntelliSense method tip operation.
Public class Methods Represents a collection of method signatures obtained from a parsing operation in a language service.
Public class ParseRequest Provides information to execute a parsing operation in a language service.
Public class SimpleEditorView The abstract class that represents a generalized simple editor view.
Public class Source Represents a source file in the language service and controls parsing operations on that source.
Public class TextSpanHelper A utility class that provides methods for manipulating and comparing instances of the TextSpan class, and also for validating positions.
Public class TextTipData Provides a default implementation of IVsTextTipData for use in the IVsTextTipWindow for displaying tool tips.
Public class TokenInfo Provides information about a particular token encountered by a language service's language parser.
Public class TypeAndMemberDropdownBars Provides support for the combo boxes showing type and member information as offered by a language service.
Public class ViewFilter This class handles various editing and IntelliSense commands for a language service.

Structures

  Structure Description
Public structure CommentInfo Provides the characters that define comments for a language service.
Public structure Variant Represents an object that can be interpreted as more than one type.

Interfaces

  Interface Description
Public interface IScanner Used as the interface for a language parser in a language service.

Delegates

  Delegate Description
Public delegate ParseResultHandler Used to define a delegate for a parsing operation completion handler in a language service.

Enumerations

  Enumeration Description
Public enumeration IndentingStyle Represents the different indenting styles supported by language services.
Public enumeration ParseReason Provides reasons for a parsing operation in a language service.
Public enumeration Severity Specifies the severity of a parser error in a language service.
Public enumeration TokenColor Provides initial values for color indices as reported by an IScanner scanner.
Public enumeration TokenTriggers Specifies a set of triggers that can be fired from an IScanner language parser.
Public enumeration TokenType Specifies the different types of tokens that can be identified and returned from a language service scanner.
Public enumeration Variant.VariantType Specifies the type of a variant object as used by a managed package framework (MPF) language service class.