Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mtbaqer/vscode-better-folding
VS Code extension to improve your folding experience
https://github.com/mtbaqer/vscode-better-folding
extension vscode vscode-extension
Last synced: about 2 months ago
JSON representation
VS Code extension to improve your folding experience
- Host: GitHub
- URL: https://github.com/mtbaqer/vscode-better-folding
- Owner: mtbaqer
- License: mit
- Created: 2023-01-12T17:48:07.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-06T11:03:27.000Z (10 months ago)
- Last Synced: 2024-08-01T09:24:20.069Z (5 months ago)
- Topics: extension, vscode, vscode-extension
- Language: TypeScript
- Homepage: https://marketplace.visualstudio.com/items?itemName=MohammadBaqer.better-folding
- Size: 7.61 MB
- Stars: 316
- Watchers: 1
- Forks: 7
- Open Issues: 53
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
- awesome - mtbaqer/vscode-better-folding - VS Code extension to improve your folding experience (TypeScript)
README
Better Folding - VSCode Extension
# Better Folding
Better Folding provides many commonly requested folding-related features all together in one extension.
## Disclaimer
This is the first release of the extension, so it is not fully battle tested yet. If you encounter any issue or would like to contribute, [please visit the GitHub page](https://github.com/mtbaqer/vscode-better-folding).## Features
### Folding Closing Brackets
### Showing Folded Lines Count
## Showing Folded Brackets
### Showing Only The Region Description
### Show only function parameters names in folded function parentheses
### Folding closing tags (currently JSX and TSX, HTML next)
### Show objects preview
### Zen Folding
## Planned Features
### Show function content for short functions
Based on [microsoft/vscode#76396](https://github.com/microsoft/vscode/issues/76396)## Supported Languages:
**Most brackets-based languages:** JavaScript, TypeScript, C, C#, C++, Java, Kotlin, PHP, Go (Golang), Dart, Rust, Swift, CSS, LESS, SCSS and more...**XML-based languages:** JSX and TSX.
**Work in progress:** HTML.
## Known Issues
- When switching between tabs, the folding ranges take a second to update. This is an issue with [VS Code itself](https://github.com/microsoft/vscode/issues/154977). Waiting for a fix.
- If a folding range is at the end of the file, sometimes it would fold the start line while scrolling. Again, this is an issue with VS Code API, will submit an issue to their repo soon.
- The cursor can hide behind the folded text. Working on a fix.## Changelog
See the project's [changelog](https://github.com/mtbaqer/vscode-better-folding/blob/main/CHANGELOG.md) here.
## Big thanks to these source codes
[Bracket-Pair-Colorizer-2](https://github.com/CoenraadS/Bracket-Pair-Colorizer-2) (by CoenraadS)[vscode-blockman](https://github.com/leodevbro/vscode-blockman) (by leodevbro)
[vscode-inline-fold](https://github.com/moalamri/vscode-inline-fold) (by moalamri)
[vscode-explicit-folding](https://github.com/zokugun/vscode-explicit-folding) (by zokugun)