Skip to content

Diagnostics for formatting issues #2166

Open
@award999

Description

@award999

Description

Had a request for the vscode-swift extension for showing formatting diagnostics while typing: swiftlang/vscode-swift#1220

Since sourcekit-lsp is handling the formatting itself, would it be possible to include swift-format linting diagnostics in the publishDiagnostics notification? Seemingly swift-format would be able to produce that info

/path/to/main.swift:244:23: warning: [TrailingWhitespace] remove trailing whitespace

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions