sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -
i have script tag in code, keyboard shortcut comment/uncomment script tag in sublime.
after selecting script open , close tag.
<script src="http://code.jquery.com/jquery-latest.min.js" type="text/javascript"> </script> i pressing ctrl + shift + / , getting this
/*<script src="http://code.jquery.com/jquery-latest.min.js" type="text/javascript"> </script>*/ also pressed ctrl + / , got this
// <script src="http://code.jquery.com/jquery-latest.min.js" type="text/javascript"> // </script> instead of
<!-- <script src="http://code.jquery.com/jquery-latest.min.js" type="text/javascript"> </script> --> script open , close tag in 2 lines not in 1 line , not have spaces too.
for mac,high light lines want comment. hold 'command , / ' commented.
for windows: high line or select lines ,then hold ctrl + /
if not work:
go 'edit' , see 'comment' option check setting.

Comments
Post a Comment