Skip to content

Infer tab width based on the current document tab configuration? #84

@guillaumealgis

Description

@guillaumealgis

I think it would be nice if the extension could configure Prettier dynamically based on the current document tab width (the thing in the bottom right corner of the editor) :

Capture d’écran 2022-01-31 à 16 55 17

It would be easier when working with projects mixing e.g. 2-spaces and 4-spaces wide tabs. Currently the only solution that I know of is changing the width manually in the extension preferences before saving each file ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions