开发者

Is there a shortcut in Textmate to wrap selection with multiline comment?=begin and =end

开发者 https://www.devze.com 2022-12-19 13:19 出处:网络
I want a 开发者_运维知识库shortcut in Textmate to wrap the selected text with a ruby multiline comment -- \'=begin\' and \'=end\'.

I want a 开发者_运维知识库shortcut in Textmate to wrap the selected text with a ruby multiline comment -- '=begin' and '=end'. It doesn't look like there is an existing one. Anyone know how to make one?


Finally figure it out, mostly by luck. I still wish I could find where the shortcut was defined. However, it's ⌥⌘/


My bundle always uses the single-line comments, even when I select multiple lines. I'm sure your answer lies somewhere in Bundles > Bundle Editor > Ruby > Comments.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号