Netbeans has some issues in Ubuntu 10.10 and 11.04. One of the most serious is that javascript syntax highlighting does not work. Another is that Rails 3 applications do not run or debug correctly. I found the solution to be going to “Tools – Plugins -Settings” and enabling the “Netbeans” update center. Then by going to “Updates” and clicking “Reload Catalog” I got an update for the update system. After that was installed an netbeans was restarted I got a lot more updates for plugins (15 or so). Once updated everything seemed to work as it should.
More information:
If this still doesn’t work, you might try to associate .js files manuall with javascript. To do this, go to Tools – Options – Files and change the filetype associated with .js to ‘text/javascript’. Fixed my problem (the solution above didn’t).
If this still doesn’t work, you might try to associate .js files manuall with javascript. To do this, go to Tools – Options – Files and change the filetype associated with .js to ‘text/javascript’. Fixed my problem (the solution above didn’t).