Skip to content

Investigate why quarkus-properties appears twice when registering textDocument/rangeFormatting #296

@xorye

Description

@xorye

In the 1.6.0 release (before the vscode-microprofile / vscode-quarkus split), when opening a Quarkus application.properites file,
looking at the server trace, quarkus-properties appears twice in the client/registerCapability request for range formatting;

[Trace - 11:16:26 a.m.] Received request 'client/registerCapability - (8)'.
Params: {
    "registrations": [
        {
            "id": "61e7b5ba-a567-4415-8817-70e18fed36a9",
            "method": "textDocument/rangeFormatting",
            "registerOptions": {
                "documentSelector": [
                    {
                        "language": "microprofile-properties"
                    },
                    {
                        "language": "quarkus-properties"
                    },
                    {
                        "language": "quarkus-properties"
                    }
                ]
            }
        }
    ]
}

It's strange that quarkus-properties appears twice, although I couldn't find any bugs because of this. Range formatting still works as expected.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions