API for hiding characters in a file
keyvan-m-sadeghi opened this issue · comments
Hi,
I'm new to VSCode extension development, just had a quick read of the API reference and could not find an API I need for my extension.
Use case
I want my extension to parse js
files and hide the visual clutter of opening and closing braces ({
and }
) with a button located in the status bar (next to TabSize
, etc.). I'd later want the extension to add the missing braces 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.
@keyvan-m-sadeghi please report this to our repo: https://github.com/Microsoft/vscode
@bpasero hmm I'm not reporting an issue with VSCode you see, I'm proposing a feature to be added to the extensibility APIs (this repo). If you could give me a starting point, I could cook a pull request.
@keyvan-m-sadeghi yes trust me, its the right place
Ok, thanks