C# Class MonoDevelop.FSharp.Completion.FSharpTextEditorCompletion

Inheritance: MonoDevelop.Ide.Gui.Content.CompletionTextEditorExtension
Afficher le fichier Open project: vasili/FSharpBinding Class Usage Examples

Private Properties

Свойство Type Description
AddAsCompletionData void
AddNRefactoryKeywords void
AddPrimitiveTypes void
AddVirtuals void
AppendMethodComment void
AppendPropertyComment void
AppendSummary void
ContainsDeclaration bool
CreateCaseCompletionData ICompletionDataList
CreateCompletionData ICompletionDataList
CreateCtrlSpaceCompletionData CompletionDataList
CreateTypeCompletionData CompletionDataList
FindExpression MonoDevelop.Projects.Dom.ExpressionResult
FindExpression MonoDevelop.Projects.Dom.ExpressionResult
GenerateBody string
GetDeclaration IMethod
GetDefineCompletionData CompletionDataList
GetDirectiveCompletionData CompletionDataList
GetLineWhiteSpace string
GetMemberAtPosition IMember
GetMemberAtPosition IMember
GetMemberStartPosition int
GetOverrideCompletionData CompletionDataList
GetPartialCompletionData CompletionDataList
GetPreviousToken string
GetUsedNamespaces List
GetXmlDocumentationCompletionData CompletionDataList
InitTracker void
IsInsideClassBody bool
MatchDelegate bool
StripGenerics string

Méthodes publiques

Méthode Description
CodeCompletionCommand ( CodeCompletionContext completionContext ) : ICompletionDataList
ExtendsEditor ( MonoDevelop doc, IEditableTextBuffer editor ) : bool
FSharpTextEditorCompletion ( ) : System
FSharpTextEditorCompletion ( Document doc ) : System
GetParameterCompletionCommandOffset ( int &cpos ) : bool
HandleCodeCompletion ( CodeCompletionContext completionContext, char completionChar, int &triggerWordLength ) : ICompletionDataList
HandleKeywordCompletion ( CodeCompletionContext completionContext, MonoDevelop.Projects.Dom.ExpressionResult result, int wordStart, string word ) : ICompletionDataList
HandleParameterCompletion ( CodeCompletionContext completionContext, char completionChar ) : IParameterDataProvider
Initialize ( ) : void
KeyPress ( Gdk key, char keyChar, Gdk modifier ) : bool

Private Methods

Méthode Description
AddAsCompletionData ( CompletionDataCollector col, IType type ) : void

Adds a type to completion list. If it's a simple type like System.String it adds the simple C# type name "string" as well.

AddNRefactoryKeywords ( CompletionDataCollector col, System keywords ) : void
AddPrimitiveTypes ( CompletionDataCollector col ) : void
AddVirtuals ( CodeCompletionContext ctx, bool>.Dictionary alreadyInserted, CompletionDataList completionList, IType type, string modifiers, IReturnType curType ) : void
AppendMethodComment ( StringBuilder builder, string indent, IMethod method ) : void
AppendPropertyComment ( StringBuilder builder, string indent, IProperty property ) : void
AppendSummary ( StringBuilder sb, string indent, int &newCursorOffset ) : void
ContainsDeclaration ( IType type, IMethod method ) : bool
CreateCaseCompletionData ( DomLocation location, MonoDevelop.Projects.Dom.ExpressionResult expressionResult ) : ICompletionDataList
CreateCompletionData ( DomLocation location, MonoDevelop.Projects.Dom.ResolveResult resolveResult, MonoDevelop.Projects.Dom.ExpressionResult expressionResult, NRefactoryResolver resolver ) : ICompletionDataList
CreateCtrlSpaceCompletionData ( CodeCompletionContext ctx, MonoDevelop.Projects.Dom.ExpressionResult expressionResult ) : CompletionDataList
CreateTypeCompletionData ( DomLocation location, IType callingType, MonoDevelop.Projects.Dom.ExpressionContext context, IReturnType returnType, IReturnType returnTypeUnresolved ) : CompletionDataList
FindExpression ( MonoDevelop.Projects.Dom.Parser.ProjectDom dom, CodeCompletionContext ctx ) : MonoDevelop.Projects.Dom.ExpressionResult
FindExpression ( MonoDevelop.Projects.Dom.Parser.ProjectDom dom, CodeCompletionContext ctx, int offset ) : MonoDevelop.Projects.Dom.ExpressionResult
GenerateBody ( IType c, int line, string indent, int &newCursorOffset ) : string
GetDeclaration ( IType type, IMethod method ) : IMethod
GetDefineCompletionData ( ) : CompletionDataList
GetDirectiveCompletionData ( ) : CompletionDataList
GetLineWhiteSpace ( string line ) : string
GetMemberAtPosition ( IType t, int lin, int col ) : IMember
GetMemberAtPosition ( int pos ) : IMember
GetMemberStartPosition ( IMember mem ) : int
GetOverrideCompletionData ( CodeCompletionContext ctx, IType type, string modifiers ) : CompletionDataList
GetPartialCompletionData ( CodeCompletionContext ctx, IType type, string modifiers ) : CompletionDataList
GetPreviousToken ( int &i, bool allowLineChange ) : string
GetUsedNamespaces ( ) : List
GetXmlDocumentationCompletionData ( ) : CompletionDataList
InitTracker ( ) : void
IsInsideClassBody ( IType insideClass, int line, int column ) : bool
MatchDelegate ( IType delegateType, IMethod method ) : bool
StripGenerics ( string str ) : string

Method Details

CodeCompletionCommand() public méthode

public CodeCompletionCommand ( CodeCompletionContext completionContext ) : ICompletionDataList
completionContext CodeCompletionContext
Résultat ICompletionDataList

ExtendsEditor() public méthode

public ExtendsEditor ( MonoDevelop doc, IEditableTextBuffer editor ) : bool
doc MonoDevelop
editor IEditableTextBuffer
Résultat bool

FSharpTextEditorCompletion() public méthode

public FSharpTextEditorCompletion ( ) : System
Résultat System

FSharpTextEditorCompletion() public méthode

public FSharpTextEditorCompletion ( Document doc ) : System
doc Document
Résultat System

GetParameterCompletionCommandOffset() public méthode

public GetParameterCompletionCommandOffset ( int &cpos ) : bool
cpos int
Résultat bool

HandleCodeCompletion() public méthode

public HandleCodeCompletion ( CodeCompletionContext completionContext, char completionChar, int &triggerWordLength ) : ICompletionDataList
completionContext CodeCompletionContext
completionChar char
triggerWordLength int
Résultat ICompletionDataList

HandleKeywordCompletion() public méthode

public HandleKeywordCompletion ( CodeCompletionContext completionContext, MonoDevelop.Projects.Dom.ExpressionResult result, int wordStart, string word ) : ICompletionDataList
completionContext CodeCompletionContext
result MonoDevelop.Projects.Dom.ExpressionResult
wordStart int
word string
Résultat ICompletionDataList

HandleParameterCompletion() public méthode

public HandleParameterCompletion ( CodeCompletionContext completionContext, char completionChar ) : IParameterDataProvider
completionContext CodeCompletionContext
completionChar char
Résultat IParameterDataProvider

Initialize() public méthode

public Initialize ( ) : void
Résultat void

KeyPress() public méthode

public KeyPress ( Gdk key, char keyChar, Gdk modifier ) : bool
key Gdk
keyChar char
modifier Gdk
Résultat bool