Skip to main content
Version: 0.1.0

Class CompletionProvider

Assembly: RCaron.AutoCompletion.dll
View Source
Declaration
csharp
public class CompletionProvider
Declaration
csharp
public class CompletionProvider

Properties

GlobalVariables

View Source
Declaration
csharp
public List<CompletionThing> GlobalVariables { get; }
Declaration
csharp
public List<CompletionThing> GlobalVariables { get; }

Fields

BuiltInFunctions

View Source
Declaration
csharp
public static readonly CompletionThing[] BuiltInFunctions
Declaration
csharp
public static readonly CompletionThing[] BuiltInFunctions

Keywords

View Source
Declaration
csharp
public static readonly CompletionThing[] Keywords
Declaration
csharp
public static readonly CompletionThing[] Keywords

Constants

View Source
Declaration
csharp
public static readonly CompletionThing[] Constants
Declaration
csharp
public static readonly CompletionThing[] Constants

Methods

GetCompletions(string, int, int, LocalScope?, IList<IRCaronModule>?)

View Source
Declaration
csharp
public List<Completion> GetCompletions(string code, int caretPosition, int maxCompletions = 40, LocalScope? localScope = null, IList<IRCaronModule>? modules = null)
Declaration
csharp
public List<Completion> GetCompletions(string code, int caretPosition, int maxCompletions = 40, LocalScope? localScope = null, IList<IRCaronModule>? modules = null)
Returns

System.Collections.Generic.List<RCaron.AutoCompletion.Completion>

Parameters
TypeName
System.Stringcode
System.Int32caretPosition
System.Int32maxCompletions
RCaron.LocalScopelocalScope
System.Collections.Generic.IList<RCaron.IRCaronModule>modules

ClearCache()

View Source
Declaration
csharp
public void ClearCache()
Declaration
csharp
public void ClearCache()

Extension Methods