gedit 的缩进指南插件 (python)

发布于 2024-09-01 08:05:42 字数 354 浏览 5 评论 0原文

屏幕截图 http://www.activestate.com/padfiles/komodo_edit/komodo_edit_linux.png

请参阅缩进指南?它们在编写 Python 代码时非常有帮助。我有可能为 gedit 得到类似的东西吗?我不介意编写自己的插件,只要它是用 Python 编写的...... 那么:

  1. 有没有一个可以与 gedit 一起使用的插件?
  2. 如果没有,是否可以用 Python 编写一个。

screenshot http://www.activestate.com/padfiles/komodo_edit/komodo_edit_linux.png

See the indent guides? They're damn helpful when writing Python code. Any chance I could get something similar for gedit? I wouldn't mind having to write my own plugin, as long as it's in Python... So:

  1. Is there a plugin for this which works with gedit?
  2. If not, would it be possible to write one in Python.

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

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

发布评论

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

评论(1

拧巴小姐 2024-09-08 08:05:42

这里有一个巨大的 GEdit 插件列表:

https://wiki.gnome.org/Apps/Gedit /Plugins

我有一段时间没有查看它们了,但我不记得任何实现缩进指南。许多插件都是用 Python 编写的,因此如果您想实现自己的插件,这里有一些很好的示例。

There's a huge list of GEdit plugins here:

https://wiki.gnome.org/Apps/Gedit/Plugins

I haven't looked through them in a while, but I don't remember any implementing indentation guides. Many plugins are written in Python, so there are some good examples if you want to implement your own.

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