“转到匹配的括号"在 TextMate 1.5 中 [英] "Go to matching brace" in TextMate 1.5
问题描述
有没有办法在 TextMate 1.5 中找到匹配的大括号?
Is there a way to go to a matching brace in TextMate 1.5?
我不能只是折叠块,因为它是一个格式错误的文件,但是无论如何可能会成功识别匹配的大括号.我只需要去它(因为它远不止 1 个屏幕).
I can't just collapse the block because it's a badly formatted file, but the matching brace might be successfully recognized anyway. I just need to go to it (since it's distant more than 1-screen).
推荐答案
在 TextMate 1.x 中,您可以使用 ⇧⌘B 选择周围大括号的内容.在此之后,您可以使用箭头键转到选择的开始/结束.您可以录制一个宏,使其成为单个操作.
In TextMate 1.x you can select the contents of the surrounding braces using ⇧⌘B. After this you can use the arrow keys to go the start/end of the selection. You could record a macro to make this a single action.
在 TextMate 2 中,可以使用 ⌃↑ 和 ⌃↓ 来匹配括号.这些键也可以与 shift (⇧) 一起使用以选择匹配的括号.
In TextMate 2 going to matching brace can be done with ⌃↑ and ⌃↓. These keys can also be used with shift (⇧) to select to matching brace.
这篇关于“转到匹配的括号"在 TextMate 1.5 中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!