Skip to content

[folding] last item inside #region hides all blank lines up to #endregion #79359

@Maxpxt

Description

@Maxpxt
  • VSCode Version: 1.37.1
  • OS Version: Windows_NT x64 10.0.17763

Steps to Reproduce:

  1. Type the following into an empty python file.

# region A Region

class AClass:
    pass

class AnotherClass:
    pass

# endregion

class AnotherClassOutside:
    pass

  1. Fold AnotherClass.

I would expect the folding of AnotherClass to behave like the folding of AClass and AnotherClassOutside, i.e., to stop on the pass line after AnotherClass not continue up to #endregion.

Anotação 2019-08-17 170231

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

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions