I'm writing an extension for VS Code. As you know, the VS Code editor creates folding ranges for certain code blocks. I want to get all starting/ending positions of all the folding ranges. I dived into the API, found some interfaces and methods, but could not make it work to get folding ranges.
1.4m articles
1.4m replys
5 comments
57.0k users