Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python formatting option is not showing #22363

Closed
dasanupam1001 opened this issue Oct 27, 2023 · 1 comment
Closed

python formatting option is not showing #22363

dasanupam1001 opened this issue Oct 27, 2023 · 1 comment
Labels
info-needed Issue requires more information from poster triage-needed Needs assignment to the proper sub-team

Comments

@dasanupam1001
Copy link

Type: Bug

python formatting provider option is not showing (all the extensions are installed - python, pylance, black)

VS Code version: Code 1.83.1 (f1b07bd25dfad64b0167beb15359ae573aecd2cc, 2023-10-10T23:48:05.904Z)
OS version: Windows_NT x64 10.0.22621
Modes:

System Info
Item Value
CPUs Intel(R) Core(TM) i7-10510U CPU @ 1.80GHz (8 x 2304)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
Load (avg) undefined
Memory (System) 7.79GB (2.32GB free)
Process Argv --crash-reporter-id 44bd82bc-4f1b-428a-9f03-c89725fabb43
Screen Reader no
VM 0%
Extensions (16)
Extension Author (truncated) Version
code-runner for 0.12.1
black-formatter ms- 2023.4.1
python ms- 2023.18.0
vscode-pylance ms- 2023.10.50
cpptools ms- 1.18.0
cpptools-extension-pack ms- 1.3.0
material-icon-theme PKi 4.31.0
java red 1.24.0
LiveServer rit 5.7.9
indenticator Sir 0.7.0
vscodeintellicode Vis 1.2.30
vscode-java-debug vsc 0.54.0
vscode-java-dependency vsc 0.23.1
vscode-java-pack vsc 0.25.15
vscode-java-test vsc 0.40.0
vscode-maven vsc 0.42.0

(2 theme extensions excluded)

A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
vserr242:30382549
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263cf:30335440
vscoreces:30445986
vscod805:30301674
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593:30376534
pythonvs932:30410667
py29gd2263cf:30856253
vsclangdf:30486550
c4g48928:30535728
dsvsc012:30540252
pynewext54:30695312
azure-dev_surveyone:30548225
3biah626:30602489
89544117:30613380
2i9eh265:30646982
showlangstatbar:30737416
962ge761:30841074
a2ce3375:30757347
pythonfmttext:30731395
fixshowwlkth:30771522
showindicator:30805244
pythongtdpath:30769146
i26e3531:30792625
pythonnosmt12:30797651
pythonidxpt:30866567
pythonnoceb:30805159
copilotsettingc:30859502
synctok:30869157
dsvsc013:30795093
dsvsc014:30804076
dsvsc015:30845448
pythontestfixtcf:30871695
pythonregdiag2:30871582
pyreplss1:30865275
h48ei257:30870396
pythontbext0cf:30864173

@vscodenpa vscodenpa added the triage-needed Needs assignment to the proper sub-team label Oct 27, 2023
@aeschli aeschli removed their assignment Oct 27, 2023
@aeschli aeschli transferred this issue from microsoft/vscode Oct 27, 2023
@karthiknadig
Copy link
Member

@dasanupam1001 python.formatting.provider is deprecated. That setting is not needed any more. All you need to do is set the editor.defaultFormatter to which ever formatting extension you are using.

"[python]": {
    "editor.defaultFormatter": "ms-python.black-formatter"
  },

@karthiknadig karthiknadig closed this as not planned Won't fix, can't repro, duplicate, stale Oct 27, 2023
@github-actions github-actions bot added the info-needed Issue requires more information from poster label Oct 27, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 27, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
info-needed Issue requires more information from poster triage-needed Needs assignment to the proper sub-team
Projects
None yet
Development

No branches or pull requests

4 participants