-
Notifications
You must be signed in to change notification settings - Fork 10
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Is your feature request related to a problem? Please describe.
Some IDEs (such as VS Code) provide their own LSP-free solutions for code folding using the following methods:
- Indentation - regions with the same indentation level will be folded
- Regular Expression - can specify patterns for the start/end of folding regions.
There are problems with each of these:
- Indentation-based folding may fail or fold incorrect regions when indentation is incorrect in the file, or when classic function indenting is used.
- RegEx-based folding may incorrectly identify 'end' in comments and strings
Describe the solution you'd like
Provide a handler for Folding Range Requests
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request