Microsoft/vscode

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

Open

#63 972 ouverte le 29 nov. 2018

Voir sur GitHub
 (14 commentaires) (75 réactions) (1 assigné)TypeScript (10 221 forks)batch import
editor-commandseditor-foldingfeature-requesthelp wanted

Métriques du dépôt

Stars
 (74 848 stars)
Métriques de merge PR
 (Merge moyen 11h 43m) (1 000 PRs mergées en 30 j)

Description

  • 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

Guide contributeur