How do I use a shortcut to comment out code automatically in Textmate?

左心房为你撑大大i 提交于 2019-12-06 18:58:20

问题


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 "/"



来源:https://stackoverflow.com/questions/8256834/how-do-i-use-a-shortcut-to-comment-out-code-automatically-in-textmate

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!