Is there a shortcut to highlight and comment code in textmate, rather than putting in the comments manually?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
If you have the Source
bundle installed:
⌘/
If you don't, go to TextMate
> Preferences
> Bundles
and check Source
.
回答2:
⌘/
comment/uncomment selection
回答3:
shift + ⌘ + 7 or instead 7 the key with the slash "/"