Class SdkInlayHintOptions
- Namespace
- RDCore.SDK.Server.Configuration
- Assembly
- RDCore.SDK.dll
The inlay hint settings of the platform, under Configuration:InlayHints: one for each place a hint is shown (InlayHintSite), each on
unless it is turned off.
public record SdkInlayHintOptions : IEquatable<SdkInlayHintOptions>
- Inheritance
-
SdkInlayHintOptions
- Implements
- Inherited Members
Remarks
A hint is text an editor shows in a line that is not part of it: what the code means there without saying it, in square brackets, at the place it describes (SourceInlayHints). A change takes effect with the next hints a client asks for, while the platform runs.
Properties
Arguments
Whether a positional argument shows the name of the parameter it is given to, before it: Wheel.MoveTo [X:]10, [Y:]20
(Arguments).
public bool Arguments { get; set; }
Property Value
BlockEnds
Whether the statement that closes a procedure shows the procedure's name, after it: End Sub [DoSomething] (BlockEnds).
public bool BlockEnds { get; set; }
Property Value
ImplicitModifiers
Whether a procedure declared without an access modifier shows the one it has, and a parameter declared without ByVal or ByRef how it is
passed: [Public] Sub Work([ByRef]Total As Long) (ImplicitModifiers).
public bool ImplicitModifiers { get; set; }
Property Value
ImplicitTypes
Whether a variable or a parameter declared without a type shows the one it has, after its name: Dim First [As Variant], Last As String
(ImplicitTypes).
public bool ImplicitTypes { get; set; }
Property Value
NextVariables
Whether a Next that names no variable shows the loop's, after it: Next [i] (NextVariables).
public bool NextVariables { get; set; }
Property Value
Methods
Shows(InlayHintSite)
Whether hints are shown at a place.
public bool Shows(InlayHintSite site)
Parameters
siteInlayHintSiteThe place.