LanguageService Members
Include Protected Members
Include Inherited Members
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.
The LanguageService type exposes the following members.
Constructors
Name
Description
Initializes a new instance of the LanguageService class.
Top
Methods
Name
Description
Adds a code window manager to the language service.
Invokes a method on another thread.
Starts a parse operation on a background thread.
Instantiates a CodeWindowManager class.
Instantiates a DocumentProperties class.
Instantiates a TypeAndMemberDropdownBars class.
Instantiates an ExpansionFunction class.
Instantiates an ExpansionProvider class.
Creates a request to satisfy the given reason for parsing that is then passed on to the parser.
Instantiates a Source class.
Instantiates a ViewFilter class.
Returns the index into the file extension list that matches the extension of the specified file name.
Overloaded.
Called when the language service object is being destroyed.
Retrieves the result of an asynchronous call started by LanguageService.BeginInvoke.
Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Instantiates a CodeWindowManager class.
Returns the CodeWindowManager object associated with the specified Source object.
Returns the CodeWindowManager associated with the specified IVsTextView object.
Returns the requested IVsColorableItem object.
Overloaded. Returns a colorizer object.
Returns a string containing the file extensions associated with this language.
Returns a list of file extension filters suitable for a Save As dialog box.
Serves as a hash function for a particular type. (Inherited from Object.)
Returns an image list containing glyphs associated with the language service.
Returns the number of custom colorable items supported by the language service.
Returns an IVsDebugger object representing the currently available debugger in order to listen for debugger events.
GetIVsTextMacroHelperIfRecordingOn
Returns an IVsTextMacroHelper object if macro recording is turned on.
Returns the language GUID of the language service.
Returns the name of the language this language service handles.
Returns a LanguagePreferences object for this language service.
Returns the GUID of the language service.
Obsolete method that always returns E_NOTIMPL.
Returns the name of the enclosing element that contains the given position.
Gets the result of the parse operation.
Returns a list of expressions to be evaluated and shown in the Autos window, for a given span of lines.
Returns a single instantiation of a parser.
Returns a service object that can be cast to a specific interface.
Returns an unmarshaled pointer to a requested interface.
Overloaded. Return a Source object.
Returns a collection of Source objects maintained by the language service.
Gets the type of the current instance. (Inherited from Object.)
Called to initialize the language service.
Called to invoke a task specified by the given delegate.
Called to determine if macro recording is turned on.
Called to determine if the specified location in the given source file references code in another file.
Determines whether or not the source file is open.
Creates a shallow copy of the current Object. (Inherited from Object.)
Called when the current view has changed to a different view.
Called when the caret has moved.
Called when changes generated by an auto-complete or code snippet expansion operation is committed to the buffer.
Called to close the specified Source object.
Called when no other events need to be handled.
Called whenever the debug mode has changed while debugging.
Called when a background parse has been completed.
Opens the specified file.
Parses the source based on the specified ParseRequest object.
Determines if the specified source format is valid or not.
Returns the request interface from the specified service.
Called when the view associated with the specified CodeWindowManager is closed.
Returns a list of method names that match the given name modified by the specified flags.
Overloaded. Update the view to show the end of the source file.
Called to set or site the service provider for this language service.
Marks the user context as dirty in the specified source buffer.
Called to update a drop-down bar based on the current caret position.
Returns a string that represents the current object. (Inherited from Object.)
Updates the current user help context in a selected region of the given source.
Called to determine if the given location can have a breakpoint applied to it.
Top
Properties
Name
Description
Determines if a method must be invoked across a thread boundary.
Determines whether the language service is connected to the current view and therefore is active.
Determines if the debugger is active.
Determines if a background parse is in progress.
Returns the last active text view associated with this language service.
Returns the id of the thread this language service is running on.
Returns the name of the language (for example, "C++" or "HTML").
Provides access to the language service preferences.
Returns the service provider given to this language service.
Top
Explicit Interface Implementations
Name
Description
IVsFormatFilterProvider.CurFileExtensionFormat
Returns the index into the file extension list that matches the extension of the specified file name.
IVsFormatFilterProvider.GetFormatFilterList
Returns a list of file extension filters suitable for a Save As dialog box.
IVsFormatFilterProvider.QueryInvalidEncoding
Determines if the specified source format is valid or not.
IVsLanguageContextProvider.UpdateLanguageContext
Updates the current user help context given a selected region of the given source.
Top