-
Notifications
You must be signed in to change notification settings - Fork 28.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
API for hiding characters in a file #45393
Comments
cc @aeschli as this touches on folding |
We'd need the editor to be able hiding arbitrarily ranges of the document. Currently, only full lines can be hidden. |
@aeschli what is the API for hiding full lines? |
It's an internal API, to be used only by folding, see https://github.com/Microsoft/vscode/blob/9b25468ef0dcc9c422bf919166de0dec95719611/src/vs/editor/contrib/folding/folding.ts#L242 |
This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation. Happy Coding! |
This feature request has not yet received the 20 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our documentation. Happy Coding |
🙁 In the last 60 days, this feature request has received less than 20 community upvotes and we closed it. Still a big Thank You to you for taking the time to create this issue! To learn more about how we handle feature requests, please see our documentation. Happy Coding! |
Following a discussion with @bpasero, I'm proposing an extensibility API here. I'm willing to work on a PR toward creating this API if someone points me at a starting direction.
Use case
I want my extension to parse
js
files and hide (not delete) the visual clutter of opening and closing braces ({
and}
) with a button located in the status bar (next toTabSize
, etc.). I'd later want the extension to add any missing braces to the file based on the indent.API
I need to be able to tell VSCode to hide specified (line/column start + offset) characters or lines (line number) in a file open in the editor.
The text was updated successfully, but these errors were encountered: