Skip to content

Formatter not installed dialog misleading #18743

@github-account1111

Description

@github-account1111

Perhaps misleading is an exaggeration, but upon Formatting a document, a dialog appears saying "Formatter autopep8 is not installed. Install?" with options "Yes," "Use black," "Use yapf" and "Do not show again."

What I assumed from that dialog is that the extension already comes with black and yapf preinstalled and offers an option to also install pep8, so I thought, "Why not use what I apparently already have?" and chose "Use black."

To my surprise it proceeded to install black on my system using pip along with a bunch of other packages.
I then had to go and uninstall it all one-by-one (because I prefer not to install any pip packages directly in system).

Maybe instead of saying "Use black" etc, say "Install black"?
Anything to make it more obvious that choosing option 2 and 3 actually installs stuff.

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature-requestRequest for new features or functionality

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions