Keyboard shortcut to comment lines in Sublime Text 3

后端 未结 26 2657
深忆病人
深忆病人 2020-12-02 04:42

In Sublime Text 2 it was possible to comment out a line or a block of lines with Ctrl+/ and Ctrl+Shift+/. According t

26条回答
  •  佛祖请我去吃肉
    2020-12-02 05:06

    U can fix this bug by:

    [
       { "keys": ["ctrl+keypad_divide"], "command": "toggle_comment", "args": { "block": false } },
       { "keys": ["ctrl+shift+keypad_divide"], "command": "toggle_comment", "args": { "block": true } },
    ]
    

    it allow to comment with CTRL+/ and CTRL+SHIFT+/ and u can use / on keypad =)

提交回复
热议问题