配置记事本++使用基于缩进的代码折叠

发布于 2024-12-02 06:51:23 字数 61 浏览 4 评论 0原文

并不是说它应付不了。它是为 Python 做的。

我怎样才能要求它对其他语言做同样的事情呢?

It's not that it can't handle it. It does it for Python.

How can I ask it to do the same with other languages?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

灰色世界里的红玫瑰 2024-12-09 06:51:23

我相信这已分别硬编码到 Scintilla 的 Python 和其他语言的词法分析器中(Scintilla 是 Notepad++ 使用的编辑组件),因此您无法通过某些配置设置来更改它。

我找到的折叠相关文档主要指向为 Scintilla 编写词法分析器。请参阅主页获取一些链接。

I believe this is hardcoded into Scintilla's lexers for Python and other languages respectively (Scintilla is the editing component that Notepad++ uses), so you can't change this with some configuration setting.

The relevant documentation I found for folding mostly points to writing lexers for Scintilla. See the home page for some links.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文