Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add folding tests #363

Closed
xpyctumo opened this issue Feb 24, 2025 · 0 comments
Closed

Add folding tests #363

xpyctumo opened this issue Feb 24, 2025 · 0 comments
Assignees
Labels
lsp: folding `textDocument/` Folding Request tests All related to testing of the project

Comments

@xpyctumo
Copy link
Contributor

LS supports folding, but we don't have any tests on that

The basic keyboard shortcuts for interacting with this in VS Code are:

Fold folds the innermost uncollapsed region at the cursor:
Ctrl + Shift + [ on Windows and Linux
⌥ + ⌘ + [ on macOS
Unfold unfolds the collapsed region at the cursor:

Ctrl + Shift + ] on Windows and Linux
⌥ + ⌘ + ] on macOS
Fold All folds all regions in the editor:

Ctrl + K, Ctrl + 0 (zero) on Windows and Linux
⌘ + K, ⌘ +0 (zero) on macOS
Unfold All unfolds all regions in the editor:

Ctrl + K, Ctrl + J on Windows and Linux
⌘ + K, ⌘ + J on macOS

This will be needed to understand what type of request needs to be sent in the tests to work

@xpyctumo xpyctumo added lsp: folding `textDocument/` Folding Request tests All related to testing of the project labels Feb 24, 2025
@i582 i582 closed this as completed in 862777e Mar 7, 2025
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
lsp: folding `textDocument/` Folding Request tests All related to testing of the project
Projects
None yet
Development

No branches or pull requests

1 participant