Using Xcode 6.x, the comment command COMMAND+ /allows you to comment and uncomment lines of code. But if the line contains a line with "//", like the URL, COMMAND+ /just adds more comments.
var test = "http://test"
COMMAND+ /will comment on the line. (Correctly)
// var test = "http://test"
If you COMMAND+ again /, you will get more comments.
//// var test = "http://test"
What's happening? Is there a fix for this?
source
share