Struct lsp::types::FormattingOptions[][src]

pub struct FormattingOptions {
    pub tab_size: i32,
    pub insert_spaces: bool,
    pub properties: Option<HashMap<String, Union3<bool, f64, String>>>,
}

Value-object describing what options formatting should use.

Fields

Size of a tab in spaces.

Prefer spaces over tabs.

Signature for further properties.

Methods

impl FormattingOptions
[src]

The FormattingOptions namespace provides helper functions to work with FormattingOptions literals.

Creates a new FormattingOptions literal.

Trait Implementations

impl Debug for FormattingOptions
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations