Skip to content

Formatting actions should have higher execution priority than "Index: Preparing current file" and such #2133

@MahdiBM

Description

@MahdiBM

Swift version

swift-DEVELOPMENT-SNAPSHOT-2025-04-12-a

Platform

macOS 15

Editor

Cursor + the official Swift extension

Description

on-type formatting should not get stuck behind events such as Index: Preparing current file. In fact i don't think any other type of formatting should get stuck behind any other events either.

Steps to Reproduce

Open a file somehow that it triggers Index: Preparing current file using the VSCode extension. Try to trigger on-type formatting. Observe the lag.

Logging

No response

EDIT: The issue seems to be broader than just on-type-formatting. See the next 3 comments.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions