Microsoft/vscode

De-Indent code on paste into IW code cell

Open

#160.442 aperta il 8 set 2022

Vedi su GitHub
 (9 commenti) (4 reazioni) (1 assegnatario)TypeScript (10.221 fork)batch import
bughelp wantedinteractive-window

Metriche repository

Star
 (74.848 star)
Metriche merge PR
 (Merge medio 11h 43m) (1000 PR mergiate in 30 g)

Descrizione

One thing I find myself doing VERY often is copying a small chunk of code from a python file (which could be eg inside a loop, and indented x times) and pasting it into the IW code entry cell.

It would be super nice if on code paste to IW cell vscode could automatically de-indent to match the current indent scope.

Actual:

Would be nice:

Or to match correct indent level:

Guida contributor