C# Class Dynamo.Engine.CodeCompletion.CodeCompletionServices

Interacts with the VM core to provide code completion data to the UI
显示文件 Open project: DynamoDS/Dynamo Class Usage Examples

Public Properties

Property Type Description
KeywordList string[]

Public Methods

Method Description
CodeCompletionServices ( ProtoCore core ) : System.Diagnostics

Private Methods

Method Description
AddTypesToCompletionData ( string stringToComplete, List completions, ProtoCore.Namespace.ElementResolver resolver ) : void
GetClassType ( string className ) : ClassMirror
GetClasses ( ) : IEnumerable

Returns the list of names of classes loaded in the Core

GetCompletionsOnType ( string code, string stringToComplete, ProtoCore.Namespace.ElementResolver resolver = null ) : IEnumerable

Determines if the completion string is a valid type and enumerates the list of completion members on the type

GetFunctionSignatures ( string code, string functionName, string functionPrefix, ElementResolver resolver = null ) : IEnumerable

Returns the list of function signatures of all overloads of a given method

GetGlobals ( ) : IEnumerable

Returns the list of names of global methods and properties in Core

SearchCompletions ( string stringToComplete, Guid guid, ElementResolver resolver = null ) : IEnumerable

Matches the completion string with classes and global methods and properties loaded in the session

SearchTypes ( string stringToComplete, ElementResolver resolver = null ) : IEnumerable

Matches the completion string with classes, including primitive types.

Method Details

CodeCompletionServices() public method

public CodeCompletionServices ( ProtoCore core ) : System.Diagnostics
core ProtoCore
return System.Diagnostics

Property Details

KeywordList public_oe static_oe property

public static string[] KeywordList
return string[]