microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
162.13k stars 28.52k forks source link

Problem with indentation. #167010

Open bbylls opened 1 year ago

bbylls commented 1 year ago

Type: Bug

I have added some code to a working python script and now it gives me an error. "IndentationError: unindent does not match any outer indentation level" It appears to me that all the indentation is correct. I have even "Formatted" the section of code and the entire script. Same error message. Screenshot (26) Screenshot (27)

VS Code version: Code 1.73.1 (6261075646f055b99068d3688932416f2346dd3b, 2022-11-09T04:27:29.066Z) OS version: Windows_NT x64 10.0.22000 Modes: Sandboxed: No

System Info |Item|Value| |---|---| |CPUs|11th Gen Intel(R) Core(TM) i5-1155G7 @ 2.50GHz (8 x 2496)| |GPU Status|2d_canvas: enabled
canvas_oop_rasterization: disabled_off
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
skia_renderer: enabled_on
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off| |Load (avg)|undefined| |Memory (System)|11.68GB (4.05GB free)| |Process Argv|--crash-reporter-id 9e7ef500-cd2d-47fb-ba8a-f15515fd5782| |Screen Reader|no| |VM|0%|
Extensions (17) Extension|Author (truncated)|Version ---|---|--- php-intellisense|fel|2.3.14 sky-csv|Han|0.0.5 vscode-phpfmt|kok|1.0.31 vscode-docker|ms-|1.22.2 data-workspace-vscode|ms-|0.3.0 mssql|ms-|1.16.0 isort|ms-|2022.8.0 python|ms-|2022.18.2 vscode-pylance|ms-|2022.11.30 jupyter|ms-|2022.9.1303220346 jupyter-keymap|ms-|1.0.0 jupyter-renderers|ms-|1.0.12 vscode-jupyter-cell-tags|ms-|0.1.6 vscode-jupyter-slideshow|ms-|0.1.5 azure-account|ms-|0.11.2 powershell|ms-|2022.11.0 team|ms-|1.161.1
A/B Experiments ``` vsliv368cf:30146710 vsreu685:30147344 python383:30185418 vspor879:30202332 vspor708:30202333 vspor363:30204092 vstes627:30244334 vslsvsres303:30308271 pythonvspyl392:30443607 vserr242:30382549 pythontb:30283811 vsjup518:30340749 pythonptprofiler:30281270 vshan820:30294714 vstes263cf:30335440 pythondataviewer:30285071 vscod805:30301674 binariesv615:30325510 bridge0708:30335490 bridge0723:30353136 cmake_vspar411:30581797 vsaa593cf:30376535 pythonvs932:30410667 cppdebug:30492333 vsclangdf:30486550 c4g48928:30535728 dsvsc012:30540252 azure-dev_surveyone:30548225 pyindex848cf:30577861 nodejswelcome1cf:30587006 282f8724:30602487 gswce1:30612156 3d0df643:30613357 dbltrim-noruby:30604474 89544117:30613380 ```
rebornix commented 9 months ago

Sorry for reaching out late. May I ask if this can be still be reproduced in latest VS Code?

bbylls commented 9 months ago

It must be fixed because I have not experienced the problem lately.

On Wed, Dec 6, 2023 at 12:12 PM Peng Lyu @.***> wrote:

Sorry for reaching out late. May I ask if this can be still be reproduced in latest VS Code?

— Reply to this email directly, view it on GitHub https://github.com/microsoft/vscode/issues/167010#issuecomment-1843421388, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJFZH4W53WE7SYK64BMIYETYICYRZAVCNFSM6AAAAAASIIDZ72VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNBTGQZDCMZYHA . You are receiving this because you authored the thread.Message ID: @.***>