Microsoft/vscode

[folder] Add empty line automatically

Open

#279,302 创建于 2025年11月25日

在 GitHub 查看
 (5 评论) (1 反应) (1 负责人)TypeScript (10,221 fork)batch import
editor-foldingfeature-requesthelp wanted

仓库指标

Star
 (74,848 star)
PR 合并指标
 (平均合并 11小时 43分钟) (30 天内合并 1,000 个 PR)

描述

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.

贡献者指南