Skip to content

Test code folding #2994

Description

Assignment

Details

  • test that you can see the folding gutter between line numbers and line start
    • test that turning off folding (setting editor.folding) remove the gutter
    • test that you can see folding arrows when the cursor is over the glyph section
    • test that collapsed region arrows are always visible
    • test that arrows look good in different themes and different editor settings (font size, line height, no line numbers...)
    • test that arrows play well with git decorations and any other possible line decorators
  • test that collapse regions are rendered with ...
    • test that you can click on the ellipses and that this expands the section
  • test the folding commands and keyboard shortcuts
    • Fold (Ctrl+ Shift + [) folds the innermost uncollapsed region at the cursor
    • Unfold (Ctrl+ Shift + ]) unfolds the collapsed region at the cursor
    • Fold All (Ctrl+ Shift + Alt + [) folds all region in the editor
    • Unfold All (Ctrl+ Shift + Alt + ]) unfolds all regions in the editor
  • test editing with collapsed reguosn
    • cut/copy paste
    • typing
    • formatting
    • find/replace
    • multicursor

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions