Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I turn off javascript support on a project in eclipse?

So, here's the problem.

I use eclipse for a PHP project, in which we use smarty templates to format html. One day I was making a small javascript and tried the usual ctrl-space for code completion. I got the popup asking me if I wanted to add javascript support to the project and I thought "well I can at least try it and see how it works". This turned out to be a really bad idea, since editing html/smarty templates is now extremely slow.

When I check the project settings I have a Javascript section where I've tried most things but I it seems I can't disable it all together.

So, any ideas of how I can disable javascript support after I've mistakenly activated it?

like image 595
Dytut Avatar asked Mar 23 '11 11:03

Dytut


1 Answers

My project is setup as Java under Eclipse Galileo. I managed to remove support from it by going to the .project file and deleting the JavaScript Nature (org.eclipse.wst.jsdt.core.jsNature).

like image 166
man910 Avatar answered Oct 13 '22 00:10

man910