Skip to content

textDocument/formatting does not pass model options #356

Description

@rubenfiszel

I might be doing something wrong but the languageClient does correctly send a textDocument/formatting payload to the lsp server whenever the action: editor.getAction('editor.action.formatDocument').run(), but the options it pass are an empty object: {} when I would have expected it to be the model options which have been set to model.updateOptions({ tabSize: 4, insertSpaces: true }). This result in deno lsp returning an error because it expects tabSize to be there.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions