Class CompletionProvider
Assembly: RCaron.AutoCompletion.dll
View Source
Declarationcsharp
public class CompletionProvider
Declarationcsharp
public class CompletionProvider
Properties
GlobalVariables
View Source
Declarationcsharp
public List<CompletionThing> GlobalVariables { get; }
Declarationcsharp
public List<CompletionThing> GlobalVariables { get; }
Fields
BuiltInFunctions
View Source
Declarationcsharp
public static readonly CompletionThing[] BuiltInFunctions
Declarationcsharp
public static readonly CompletionThing[] BuiltInFunctions
Keywords
View Source
Declarationcsharp
public static readonly CompletionThing[] Keywords
Declarationcsharp
public static readonly CompletionThing[] Keywords
Constants
View Source
Declarationcsharp
public static readonly CompletionThing[] Constants
Declarationcsharp
public static readonly CompletionThing[] Constants
Methods
GetCompletions(string, int, int, LocalScope?, IList<IRCaronModule>?)
View Source
Declarationcsharp
public List<Completion> GetCompletions(string code, int caretPosition, int maxCompletions = 40, LocalScope? localScope = null, IList<IRCaronModule>? modules = null)
Declarationcsharp
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
Type | Name |
---|---|
System.String | code |
System.Int32 | caretPosition |
System.Int32 | maxCompletions |
RCaron.LocalScope | localScope |
System.Collections.Generic.IList<RCaron.IRCaronModule> | modules |
ClearCache()
View Source
Declarationcsharp
public void ClearCache()
Declarationcsharp
public void ClearCache()
Extension Methods
- System.Object.RCaron.ListEx.Expect``1
- RCaron.ListEx.NotNull(object?)