Netbeans Bugs

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;
}

This entry was posted in Note-to-self. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Powered by WP Hashcash