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.
2.1m questions
2.1m answers
60 comments
57.0k users