Replies: 2 comments 1 reply
-
@iilyak there are a number of things you'd need to do to accomplish this.
The second part I have already accomplished in support of printing selections. Getting the code-folding state out of the editor is not a documented operation and Microsoft was totally unhelpful when I asked for this information back in issue #53 where I proposed exactly this feature but eventually gave up on ever finding out how to get folding state. This information is certainly present in the source code which is publicly available. So whether it's possible depends on how determined you are. If you take this on as a research project and come back with details of how to get folding state, then I can and will use it. Or it would make a hell of a first issue. If you want to implement it yourself and raise a PR I'd be delighted to guide you through the methodology of printing ranges and composing a print job from fragments. |
Beta Was this translation helpful? Give feedback.
-
I did a quick search in documentation and found following links
|
Beta Was this translation helpful? Give feedback.
-
When working on the codebase sometimes I need a 10000 feet view on the codebase. I can achieve that by collapsing all the functions defined in the class or module. Then I can expand one or two which I am interested in. I would like to be able to print out the result.
Is it possible to implement this functionality?
Beta Was this translation helpful? Give feedback.
All reactions