Fixing netbeans in ubuntu
by specialj on May.20, 2011, under Development, Ruby On Rails
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:
December 11th, 2011 on 4:24 am
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).