How to switch of JavaScript indexing?

Hi,

I'm building code that relies on a lot of JavaScript code, where parts of the JavaScript code comes from a war-overlay maven dependency. The consequence is that whenever the dependent JavaScript code changes, I need to force-reimport these maven projects. As a consequence of this, IntelliJ recreates the overlay folders and starts reindexing all JavaScript code, which takes ages and I waste a lot of time because of this, every day!

How can I switch of this JavaScript indexing process? I don't really need it anyway for JavaScript code. Obviously, I want to keep all Java indexing.

Best regards,
   Peter Rigole

3 comments
Comment actions Permalink

Hello Peter,

There is no way to selectively turn off different kinds of indexing. The
only possibility is to exclude the folder from the project via the Project
Structure dialog - then it won't be shown in the project view and won't be
indeed.

I'm building code that relies on a lot of JavaScript code, where parts
of the JavaScript code comes from a war-overlay maven dependency. The
consequence is that whenever the dependent JavaScript code changes, I
need to force-reimport these maven projects. As a consequence of this,
IntelliJ recreates the overlay folders and starts reindexing all
JavaScript code, which takes ages and I waste a lot of time because of
this, every day!

How can I switch of this JavaScript indexing process? I don't really
need it anyway for JavaScript code. Obviously, I want to keep all Java
indexing.

--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0
Comment actions Permalink

Disable JS support plugin? 

0
Comment actions Permalink

Excluding the javascript folder from the project disables the auto-reloading of that code in my Tomcat container, which I use constantly.

Disabling the JS plugin would work, but I do appreciate the syntax highlighting and the auto-layout functionality for javascript. The only thing that is quite useless is indexing since javascript is untyped and autocompletion on a large codebase is extremely slow anyhow (and gives at least 10000+ suggestions that are all not what you're looking for).

Thanks for the suggestion anyhow!

Best regards,
   Peter

0

Please sign in to leave a comment.