Skip to content

Using 'source.fixAll' in codeActionsOnSave makes servers very slow (but running the "Fix All" command directly is fast) #3952

@nickmeinhold

Description

@nickmeinhold

I'm generating a large Dart file (~3.5k lines) and the analyzer seems fine but when I make a change and save I see:

pic

and the save never completes.

If I turn off 'fixAll' and 'organizeImports' under 'codeActionsOnSave' the save completes without issue.

Logs:
Dart-Code-Log-2022-04-04 12-00-19.txt

Thanks!

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 performance

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions