Microsoft/vscode

[folder] Add empty line automatically

Open

#279 302 ouverte le 25 nov. 2025

Voir sur GitHub
 (5 commentaires) (1 réaction) (1 assigné)TypeScript (74 848 stars) (10 221 forks)batch import
editor-foldingfeature-requesthelp wanted

Description

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.

Guide contributeur