Skip to content
This repository was archived by the owner on Dec 29, 2022. It is now read-only.
This repository was archived by the owner on Dec 29, 2022. It is now read-only.

Formatting broken in nightly-2019-04-11 #1421

Closed
@norru

Description

@norru

Updated to RLS, attempting to formatting any file results in duff ranges being returned to Eclipse's RLS manager ("character":18446744073709551615)

Reverting to toolchain nightly-2019-03-23 fixes the problem (but has #1397)

[t=1554978597331] LSP4E to org.eclipse.corrosion.rls:
{"jsonrpc":"2.0","id":"56","method":"textDocument/formatting","params":{"textDocument":{"uri":"file:[...]"},"options":{"tabSize":4,"insertSpaces":false}}}
[t=1554978597359] org.eclipse.corrosion.rls to LSP4E:
{"jsonrpc":"2.0","id":"56","result":[{"range":{"start":{"line":5,"character":0},"end":{"line":5,"character":18446744073709551615}},"newText":"use gtk::traits::*;"}]}

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