Alex Rivera | Logout

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

Asked 2011-03-23T11:47:05.507
9

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?

Edit
Report

1 Answer

-1

In my case I also had to remove these files from project dir (in addition to removing org.eclipse.wst.jsdt.core.jsNature from .project file) to disable JavaScript support: .settings/.jsdtscope .settings/org.eclipse.wst.jsdt.ui.superType.container .settings/org.eclipse.wst.jsdt.ui.superType.name

answered 2013-05-21T12:26:31.940

Your Answer