Microsoft/vscode

[folding] Move line up/down should skip over folded regions or folded sections

Open

#63,972 创建于 2018年11月29日

在 GitHub 查看
 (14 评论) (75 反应) (1 负责人)TypeScript (74,848 star) (10,221 fork)batch import
editor-commandseditor-foldingfeature-requesthelp wanted

描述

  • VSCode Version:1.30.0-insider
  • OS Version: windows 10

I think when code is in a folded region or section it should never unfold unless explicitly commanded, so if you are moving a line using move command, the line should skip over both folded regions and folded sections Steps to Reproduce:

  1. create a folded region using #region #endregion
  2. fold some code section
  3. move a line using alt+up/down over the folded region/section vscodemovelinebug

Does this issue occur when all extensions are disabled?: Yes

贡献者指南