Microsoft/vscode

[folder] Add empty line automatically

Open

Aperta il 25 nov 2025

Vedi su GitHub
 (5 commenti) (1 reazione) (1 assegnatario)TypeScript (74.848 star) (10.221 fork)batch import
editor-foldingfeature-requesthelp wanted

Descrizione

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.

Guida contributor