Skip to content

textDocument/onTypeFormatting and textDocument/rangeFormatting not logged?! #2132

Open
@MahdiBM

Description

@MahdiBM

Swift version

swift-DEVELOPMENT-SNAPSHOT-2025-04-12-a

Platform

macOS 15

Editor

Cursor + the official Swift extension

Description

I expected to see some textDocument/onTypeFormatting and textDocument/rangeFormatting logs when i trigger on-type and selection formatting but there are none. I can still see the usual textDocument/formatting logs when triggering that event.
The formattings themselves do still work.

Steps to Reproduce

Simply trigger those events and observe there are no logs:

log stream --predicate 'subsystem CONTAINS "sourcekit-lsp" AND composedMessage CONTAINS "format"'  --level debug --signpost

Logging

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions