希望有人可以提供帮助。
我是 textmate 的新用户,想在 textmate 上的 if|endif 和 foreach|endforeach 中添加代码折叠。
这些是当前支持的折叠
foldingStartMarker = '(/\*|\{\s*$|<<<HTML)';
foldingStopMarker = '(\*/|^\s*\}|^HTML)';
我努力了
foldingStartMarker = '(/\*|\{\s*$|<<<HTML|if)';
foldingStopMarker = '(\*/|^\s*\}|^HTML|endif)';
哪个开始折叠 if 但停止标记没有被拾起。
有没有其他人这样做过?
希望你能给点建议