[英]Auto closing tags in gedit -- can a man dream?
Top of the morning to y'all.祝大家早安。
I recently switched to Debian and I'm finding gedit 3 to be a worthy replacement for notepad++.我最近切换到 Debian 并且我发现 gedit 3 是记事本 ++ 的值得替代品。
I have one complaint though: I can't find a plugin which will close tags for me.不过我有一个抱怨:我找不到可以为我关闭标签的插件。
Example:例子:
When I type the following当我输入以下内容时
<p>
As soon as I type the ending >
, I want </p>
to be inserted.一旦我输入结尾
>
,我想插入</p>
。
<p>_</p>
The cursor should remain between the two tags, where I placed the _
character. cursor 应该保留在两个标签之间,我放置了
_
字符。
Anything that'll do this for me?有什么可以为我做这件事的吗?
PS: Please resist the urge of telling me to man up and just use vim/emacs:( PS:请克制住告诉我做人的冲动,只使用 vim/emacs :(
maybe try Geany?也许试试 Geany?
Please look at the Geany snippets video .请查看Geany 片段视频。
The gedit plugin "intelligent text completion" inserts the appropriate closing tag at the insertion of "</" just like Macromedia Dreamweaver. gedit 插件“智能文本完成”在“</”的插入处插入适当的结束标记,就像 Macromedia Dreamweaver 一样。 This functionality comes close to what you describe.
此功能接近您所描述的。
It might be beyond your dreams, but there is Zen coding out there giving you an intelligent autocomleting syntax .这可能超出您的梦想,但Zen 编码可以为您提供智能的自动完成语法。 There are two ports for gedit from fmarcia and mikecrittenden .
来自fmarcia和mikecrittenden的 gedit 有两个端口。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.