CSharpDocumentationCommentAutoCompleter Class
Provides a class that can auto-complete C#
language documentation comments when appropriate.
public class CSharpDocumentationCommentAutoCompleter : DocumentationCommentAutoCompleterBase, IDocumentationCommentAutoCompleter, IEditorDocumentTextChangeEventSink
- Inheritance:
- object DocumentationCommentAutoCompleterBase object
Remarks
Instances of this object can be registered with an ISyntaxLanguage using the RegisterService(object, object) method. Once an instance is registered with the language for the IDocumentationCommentAutoCompleter interface type, its features can be used by the language.
Constructors
CSharpDocumentationCommentAutoCompleter()
Initializes an instance of the class.
public CSharpDocumentationCommentAutoCompleter()
Methods
OnDocumentTextChanged(SyntaxEditor, EditorSnapshotChangedEventArgs)
Occurs after a text change occurs to an IEditorDocument that uses this language.
protected virtual void OnDocumentTextChanged(SyntaxEditor editor, EditorSnapshotChangedEventArgs e)
Parameter | Type | Description |
---|---|---|
editor | SyntaxEditor | The SyntaxEditor whose IEditorDocument is changed. |
e | EditorSnapshotChangedEventArgs | The |
OnDocumentTextChanging(SyntaxEditor, EditorSnapshotChangingEventArgs)
Occurs before a text change occurs to an IEditorDocument that uses this language.
protected virtual void OnDocumentTextChanging(SyntaxEditor editor, EditorSnapshotChangingEventArgs e)
Parameter | Type | Description |
---|---|---|
editor | SyntaxEditor | The SyntaxEditor whose IEditorDocument that is changing. |
e | EditorSnapshotChangingEventArgs | The |
Inherited Members
- DocumentationCommentAutoCompleterBase.InsertStubDocumentationComment(IEditorView, TextSnapshotOffset, string)
- DocumentationCommentAutoCompleterBase.TranslateToParseDataSnapshot(IDotNetParseData, TextSnapshotOffset)
- DocumentationCommentAutoCompleterBase.IsEndTagCompletionEnabled
- DocumentationCommentAutoCompleterBase.IsNewLineGenerationEnabled
- DocumentationCommentAutoCompleterBase.IsStubGenerationEnabled
- object.GetType()
- object.MemberwiseClone()
- object.ToString()
- object.Equals(object)
- object.Equals(object, object)
- object.ReferenceEquals(object, object)
- object.GetHashCode()