Microsoft/vscode

De-Indent code on paste into IW code cell

Open

#160.442 geöffnet am 8. Sept. 2022

Auf GitHub ansehen
 (9 Kommentare) (4 Reaktionen) (1 zugewiesene Person)TypeScript (10.221 Forks)batch import
bughelp wantedinteractive-window

Repository-Metriken

Stars
 (74.848 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 11h 43m) (1.000 gemergte PRs in 30 T)

Beschreibung

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:

Contributor Guide