Here is a workaround: "I use netbeans 7.0.1 on debian and fixed the issue by klicking on the info icon left to the <?php and then selecting "Change project default to HTML 4.01 Transitional"
It seems that the default is HTML 5 - and this generates a parser Exception. After switching the project default to the above mentioned setting I could use ENTER as normal - even on newly opened files." source: http://askubuntu.com/questions/137209/netbeans-7-0-1-doesnt- start-new-line-when-pressed-enter -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/943696 Title: Enter key does not work either on JDK 6 or 7 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/netbeans/+bug/943696/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs