Skip to content

Format on save causes big lag spike when saving #189

@SaintPepsi

Description

@SaintPepsi

Steps to reproduce:

  1. Enable setting in vscode: "editor.formatOnSave": true,
  2. Add eslint/prettier formatting
  3. Save

This shows the extension host pending and the file not saving, it's blaming eslint, but using Extension Bisect I was able to deduce that the inlang plugin is causing the file not to be saved.

Sometimes it can take 20 seconds for anything to happen.

Video showing vscode blaming eslint:
https://github.com/user-attachments/assets/c0018f00-2880-4efe-a663-03e4c4e5a412

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions