Class RubberduckIndenterSettingsResult
What a client read of the indenter settings of Rubberduck, as Rubberduck has them: { "source": "RubberduckConfig", "values": { "IndentSpaces": "4" }, "tabWidth": null }.
public record RubberduckIndenterSettingsResult : IEquatable<RubberduckIndenterSettingsResult>
- Inheritance
-
RubberduckIndenterSettingsResult
- Implements
- Derived
- Inherited Members
Properties
Nothing
Nothing was found.
public static RubberduckIndenterSettingsResult Nothing { get; }
Property Value
Source
Where the settings were found; None when they were not.
public RubberduckIndenterSettingsSource Source { get; init; }
Property Value
TabWidth
The TabWidth of the VBA editor (HKCU\Software\Microsoft\VBA\6.0\Common, or 7.0), which the Smart Indenter indents by; null when it has none.
public int? TabWidth { get; init; }
Property Value
- int?
Values
The settings, by the name they have where they were found, with the value they have there: a JSON string or number each.
public IReadOnlyDictionary<string, JsonElement> Values { get; init; }
Property Value
Remarks
For RubberduckConfig, the name of each child of IndenterSettings and its text: "IndentCase": "true".
For SmartIndenterRegistry, the name of each value of the key (IndentProc, DebugCol1, AlignDimCol,
EOLComments, ...), a number for a REG_DWORD and text for a REG_SZ. The language server looks the names up regardless of case.