Sublime Forum

Cannot comment block in bash

#1

Try selecting this function (or any other function - big or small) in bash

#!/bin/bash

function b {
  echo "something"
}

(last 3 lines, the entire function body)

and pressing CMD + / or whatever shortcut you have for toggle_comment command … and … nothing happens!

Was tested in sublime safe mode as well.

0 Likes

#2

A fix for that bug has been merged to Packages and is waiting for being shipped with one of the next releases.

See:

0 Likes

#3

Great, tnx, did not see…

Would like to take “an opportunity” to bring forward something else I posted a few months ago but properly investigated and documented just recently: Folder_exclude_patterns bug

cheers

0 Likes