Feb 3 2010
Netbeans bugs
Toggle comment menu command on a line of html gives two slashes instead of html comments [ // foo vs ] even though netbeans is obviously smart enough to realize when I’m working in a block of html vs a block of php.
Editing CSS – does not auto-complete pseudo elements like :hover
I just pasted this code:
// a comment here
if (isset($_SESSION['level'])) {
header(‘Location: index.php’);
exit;
}
If I place the cursor in front of “if” and press return I get this code:
// a comment here
if (isset($_SESSION['level'])) {
} // <– NOTICE THE ADDITION OF THIS BRACKET! BREAKS EVERYTHING!
header(‘Location: index.php’);
exit;
}