"Install formatter" recommendation always appear when saving a Python file
See original GitHub issueIssue Type: Bug
Every time i save my python file i get a recommendation to download a formatter (thats from the Python extension). I pressed yes but it couldnt be downloaded so i tried to mute it, i mute the python extension and the extensions in general from the settings tab and still this recommendation occurs every time i save my file… Thats really anoying
Extension version: 2021.2.582707922 VS Code version: Code 1.54.1 (f30a9b73e8ffc278e71575118b6bf568f04587c8, 2021-03-04T22:38:31.419Z) OS version: Windows_NT x64 10.0.18363
System Info
Item | Value |
---|---|
CPUs | AMD Ryzen 7 2700X Eight-Core Processor (16 x 3693) |
GPU Status | 2d_canvas: enabled gpu_compositing: enabled multiple_raster_threads: enabled_on oop_rasterization: enabled opengl: enabled_on protected_video_decode: unavailable_off rasterization: enabled skia_renderer: enabled_on video_decode: enabled vulkan: disabled_off webgl: enabled webgl2: enabled |
Load (avg) | undefined |
Memory (System) | 15.93GB (7.08GB free) |
Process Argv | –crash-reporter-id 5aa990d6-269e-4533-ba15-60ba1334ffa1 |
Screen Reader | no |
VM | 0% |
A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383:30185418
vspyt653:30253241
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492:30256859
vstry244:30256636
pythonvsdeb440:30248342
pythonvsded773:30248341
pythonvspyt875:30259475
dockersubsetcf:30265999
vspre833:30267464
Issue Analytics
- State:
- Created 3 years ago
- Comments:8
Top Results From Across the Web
Problem formatting python when using Prettier in vscode
When I save a python file, it gives me the message: "Extension 'Pretier - code formatter cannot format etc...'. So, apparently it still...
Read more >google/yapf: A formatter for Python files - GitHub
Example as a module A style_config argument: Either a style name or a path to a file that contains formatting style settings. If...
Read more >Python code formatters - DeepSource
In this post, we look at the most popular code formatters in Python and help you make a decision on which one you...
Read more >VSCode: Using Black to automatically format Python
Open your VSCode settings, by going 'Code -> Preferences -> Settings'. Black will now format your code whenever you save a *. py...
Read more >Settings Reference for Python - Visual Studio Code
By default, it only shows when there are Python related files open in the editor. You can set it to "always" if you'd...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yes, you can close it
Thank you for your reply!
the “Undo ignored recommendation” button on the extension page doesn’t affect the settings, it’s only for the extension be marked as “Recommended” in the Extensions tab.
Some options if you want this notification to not appear anymore could be:
editor.formatOnSave
setting)none
for the workspace (python.formatting.provider
setting)As for the formatter installation failure, it is because we don’t support the GitBash terminal. It should work if you use Powershell or cmd.exe.