Skip to content

"Only format modified text" does not format the first line of modified text #3583

@dcharkes

Description

@dcharkes

@DanTup would it be possible to get support for VSCode feature to only format changed chunks?

https://code.visualstudio.com/updates/v1_49#_only-format-modified-text

settings.json:

    "dart.enableSdkFormatter": true,
    "editor.formatOnSave": true,
    "editor.formatOnSaveMode": "modificationsIfAvailable",

This causes nothing to be formatted for me.

Metadata

Metadata

Assignees

No one assigned

    Labels

    in editorRelates to code editing or language featuresin lsp/analysis serverSomething to be fixed in the Dart analysis serveris bug

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions