如何修改java语言定义包foldingStartMarker和foldingStopMarker条目以允许折叠这些类型的注释块?TextMate source.java注释块折叠
这是注释风格:
/** * This is a comment... * Yet another comment... */
我已经试过这样:
foldingStartMarker = '(\{\s*(//.*)?$|^\s*// \{\{\{|^\s*\/\*\*)'; foldingStopMarker = '^\s*(\}|// \}\}\}$|\*\/)';
我得到的第一个匹配 '/ **' 字符,但我不能让它找到StopMarker'* /'。
谢谢!