octref / polacode

📸 Polaroid for your code
https://marketplace.visualstudio.com/items?itemName=pnp.polacode
6.81k stars 184 forks source link

Indentation not working for Python files #168

Open kavi6024 opened 2 years ago

kavi6024 commented 2 years ago

Issue Type: Bug Hi Team Snapcode, Really, it was love in first sight, seeing that extension. But, when it comes to copy-paste part, it sucks. In particular, the indentation part. Say, I've got a snippet inside a for-for loop and when I copy-paste that inside part, there is no indentation for the first statement. What I am recommending here is kind of a feature here. What you can do is, 1) Select the particular snippet of code in editor 2) Right-Click the code to get the drop-down. There, you can have the "Snap Code (cam icon)" option. 3) Then display the selected code with the indentation/spaces in a new editor tab and also with options to annonate and add texts. 4) Voilà.

Thank you for your time,

VSCodeLover

Also, I need a tutorial on how to type issues here. Github pls (:

Screenshot_2021-12-03_09-04-40

VS Code version: Code 1.61.2 (6cba118ac49a1b88332f312a8f67186f7f3c1643, 2021-10-19T14:58:13.605Z) OS version: Linux x64 5.7.0-kali1-amd64 Restricted Mode: No

System Info |Item|Value| |---|---| CPUs | Intel(R) Core(TM) i3-4340 CPU @ 3.60GHz (4 x 3389) -- | -- GPU Status | 2d_canvas: enabled gpu_compositing: enabled multiple_raster_threads: enabled_on oop_rasterization: disabled_off opengl: enabled_on rasterization: disabled_software skia_renderer: enabled_on video_decode: disabled_software vulkan: disabled_off webgl: enabled webgl2: enabled Load (avg) | 0, 0, 0 Memory (System) | 3.75GB (0.71GB free) Process Argv | --unity-launch /home/master/Desktop/Progs/Python/main.py --crash-reporter-id 1df4a115-7c0f-47b7-8cc8-67ab9f87735d Screen Reader | no VM | 0%
A/B Experiments ``` vsliv368cf:30146710 vsreu685:30147344 python383:30185418 vspor879:30202332 vspor708:30202333 vspor363:30204092 vswsl492cf:30256860 pythontb:30283811 pythonvspyt551:30345470 pythonptprofiler:30281270 vsdfh931:30280409 vshan820:30294714 vstes263cf:30335440 vscorecescf:30384386 pythondataviewer:30285071 vscod805:30301674 pythonvspyt200:30340761 binariesv615:30325510 bridge0708:30335490 bridge0723:30353136 pythonrunftest32:30373476 pythonf5test824:30373475 javagetstartedt:30391933 pythonvspyt187:30373474 vsaa593cf:30376535 vscexrecpromptc:30404946 vscop804:30404766 vscop453:30404998 vsrem710:30405998 ```