Skip to content

onWillSaveTextDocument sometimes times out eventually causing save to fail when clang-tidy is running #8474

@sean-mcmanus

Description

@sean-mcmanus

[2021-11-30 14:31:04.891] [exthost] [error] onWillSaveTextDocument-listener from extension 'ms-vscode.cpptools' threw ERROR
[2021-11-30 14:31:04.891] [exthost] [error] Error: timeout

Not sure what is causing the timeout yet.

After 5 or so timeouts, we no longer get onWillSaveTextDocument messages, which causes the saves to start failing if clang-tidy is running on the file.

I'm not sure of a good repro yet.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Feature: Code AnalysisRelated to integration with clang-tidy, cppcheck, cl.exe /analyze, etc.Language ServicebugfixedCheck the Milestone for the release in which the fix is or will be available.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions