C# Class MonoDevelop.FSharp.Completion.FSharpTextEditorCompletion

Inheritance: MonoDevelop.Ide.Gui.Content.CompletionTextEditorExtension
Show file Open project: vasili/FSharpBinding Class Usage Examples

Private Properties

Property 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

Public Methods

Method 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

Method 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 method

public CodeCompletionCommand ( CodeCompletionContext completionContext ) : ICompletionDataList
completionContext CodeCompletionContext
return ICompletionDataList

ExtendsEditor() public method

public ExtendsEditor ( MonoDevelop doc, IEditableTextBuffer editor ) : bool
doc MonoDevelop
editor IEditableTextBuffer
return bool

FSharpTextEditorCompletion() public method

public FSharpTextEditorCompletion ( ) : System
return System

FSharpTextEditorCompletion() public method

public FSharpTextEditorCompletion ( Document doc ) : System
doc Document
return System

GetParameterCompletionCommandOffset() public method

public GetParameterCompletionCommandOffset ( int &cpos ) : bool
cpos int
return bool

HandleCodeCompletion() public method

public HandleCodeCompletion ( CodeCompletionContext completionContext, char completionChar, int &triggerWordLength ) : ICompletionDataList
completionContext CodeCompletionContext
completionChar char
triggerWordLength int
return ICompletionDataList

HandleKeywordCompletion() public method

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
return ICompletionDataList

HandleParameterCompletion() public method

public HandleParameterCompletion ( CodeCompletionContext completionContext, char completionChar ) : IParameterDataProvider
completionContext CodeCompletionContext
completionChar char
return IParameterDataProvider

Initialize() public method

public Initialize ( ) : void
return void

KeyPress() public method

public KeyPress ( Gdk key, char keyChar, Gdk modifier ) : bool
key Gdk
keyChar char
modifier Gdk
return bool