admin管理员组文章数量:1410705
Is there a way to tell VS Code to include every code block header in the sticky scrolling feature when scrolling through python code? Currently, it only does class and method definitions. I'd like it to include loops, conditionals, try, etc blocks.
For example, it would be nice to see everything between lines 124 and 236 (i.e. between def set_default_columns...
and if related_name...
) in this:
Is that possible?
My max sticky scroll is set to 5:
Is there a way to tell VS Code to include every code block header in the sticky scrolling feature when scrolling through python code? Currently, it only does class and method definitions. I'd like it to include loops, conditionals, try, etc blocks.
For example, it would be nice to see everything between lines 124 and 236 (i.e. between def set_default_columns...
and if related_name...
) in this:
Is that possible?
My max sticky scroll is set to 5:
Share Improve this question asked Mar 9 at 17:52 hepcat72hepcat72 1,1467 silver badges29 bronze badges 2- Make your own plugin or search for relevant extensions in the Marketplace. – Minxin Yu - MSFT Commented Mar 10 at 6:08
- Well, I've never done that before... If you know for sure that it's not possible using existing versions/extensions, then I'll just take this question down, because boolean questions are not appropriate for this site. – hepcat72 Commented Mar 10 at 17:27
1 Answer
Reset to default 0The default Python extension does not support this feature. I have not tried any third-party tools.
I noticed that Visual Studio 's sticky scroll supports this feature by default. You can post a feature request on the VS Code GitHub.
本文标签: How to include codeblock headers in stickyscrolling for python codeStack Overflow
版权声明:本文标题:How to include code-block headers in sticky-scrolling for python code? - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744863947a2629233.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论