Microsoft/vscode

[folder] Add empty line automatically

Open

#279.302 geöffnet am 25. Nov. 2025

Auf GitHub ansehen
 (5 Kommentare) (1 Reaktion) (1 zugewiesene Person)TypeScript (10.221 Forks)batch import
editor-foldingfeature-requesthelp wanted

Repository-Metriken

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

Beschreibung

When the last class/function is collapsed, it's impossible to add a line by selecting the last character and pressing enter. You have to expand it, scroll to be bottom, put the cursor at the end and press enter. It would be much easier if the editor added an empty line auotmatically upon collapse, if the last class in the editor has no empty line at the end.

Contributor Guide