我有7行文字: a
b
c
d
e
f
g
現在我想字符添加到每一行的末尾,直到結束: a,
b,
c,
d,
e,
f,
g,
我發現我可以使用「sed的」命令,並通過運行我選擇在TextMate中 sed 's/$/,/'
沒有使用「通過命令過濾器」的sed w,還有一個問題:我怎麼把它變成一個Textmate命令,以某種方式接受輸入(所以它知道要附加的文本
如何修改java語言定義包foldingStartMarker和foldingStopMarker條目以允許摺疊這些類型的註釋塊? 這是註釋風格:
/**
* This is a comment...
* Yet another comment...
*/
我已經試過這樣:
foldingStartMarker = '(\{\s*(//.*)?$|^\s*// \{\{\{|^\