Indexing Issues

First off I'd like to say that I like the Indexing in the background.
However, there seems to be a few issues with the current build

  1. Why is IDETalk disabled when indexing is active? Surely they should be independent of each other.
  2. I have a project with 4 modules in it, 3 of them had the Project SDK listed (1.5), the 4th had 1.5 explicitly set instead of the Project SDK (even though they are identical). After setting the 4th to Project SDK, IDEA found it necessary to re-index the JDK!
  3. If I add a jar to my project, IDEA indexes the JDK!
12 comments
Comment actions Permalink

Hello opticyclic,

First off I'd like to say that I like the Indexing in the background.

However, there seems to be a few issues with the current build

1. Why is IDETalk disabled when indexing is active? Surely they should
be independent of each other.


This is a bug, please file a YouTrack issue.

2. I have a project with 4 modules in it, 3 of them had the Project
SDK listed (1.5), the 4th had 1.5 explicitly set instead of the
Project SDK (even though they are identical). After setting the 4th to
Project SDK, IDEA found it necessary to re-index the JDK!

3. If I add a jar to my project, IDEA indexes the JDK!


How do you know it does that?

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


0
Comment actions Permalink

For the IDEtalk:
http://youtrack.jetbrains.net/issue/IDEA-25426

RE: The JDK
I know that it does it because after I drop a new jar in my lib directory IDEA says
"Loading files"
Then
"Scanning files to index"
Then Indexing appears at the bottom as a background task.
When I click on the background task the JDK is listed as being indexed.

0
Comment actions Permalink

I have noticed as well that the JDK is being re-indexed when I map a new file extension to the Text File Type

0
Comment actions Permalink

You also can't copy/clear the console when the Indexing is active
http://youtrack.jetbrains.net/issue/IDEA-25516

0
Comment actions Permalink

Open in File Manger is also disabled when indexing is active
http://youtrack.jetbrains.net/issue/IDEA-25555

0
Comment actions Permalink

I see the same effect. IntelliJ has indexed my Java 6 JDK over 30 times now. It does it when adding a new jar, but also during startup IntelliJ indexed my JDK 3 or 4 times..

0
Comment actions Permalink

Which is strange since we know that the JDK's files don't change.  I can see
some reindexing of our own code for codesense etc... but the JDK should be
read once and indexed once.  Done.  Unless there's an update, which seldom
happens on OS X (unfortunately), leave it be.


On 11/2/09 7:59 AM, in article
11386657.150841257156026718.JavaMail.clearspace@app8.labs.intellij.net,
"Erik Pragt" <no_reply@jetbrains.com> wrote:

I see the same effect. IntelliJ has indexed my Java 6 JDK over 30 times now.
It does it when adding a new jar, but also during startup IntelliJ indexed my
JDK 3 or 4 times..

---
Original message URL: http://www.jetbrains.net/devnet/message/5248631#5248631


0
Comment actions Permalink

Would be nice to have access to the Run/Debug configurations during indexing too
http://youtrack.jetbrains.net/issue/IDEA-25621

0
Comment actions Permalink

An interesting one is when I have a project with multiple modules.
If I drag a library from 1 module to another the indexing starts again.
(As a side note, the very first thing it starts to scan is the JDK! )

The key point in this instance is that there already should be an index for this jar, as it is available in the other module.
IDEA is already aware of the jar and knows that I am just copying it, so shouldn't really need to start indexing again.

0
Comment actions Permalink

Actually this makes sense as there might be files of that type in the JDK source.

0
Comment actions Permalink

I saw another thread mentioning Native Neighbourhood so I disabled it.
After 10 mins of testing these issues, most have gone away.
Now, thats not extensive testing, but is certainly good news.

The downside is that I now no longer have one of my most used Toolbar buttons
For whatever reason, I quite often use the Open in File Manager functionality of Native Neighbourhood.
Any chance of it getting in to the main code?

0
Comment actions Permalink

Ask and ye shall be answered

http://www.jetbrains.com/idea/webhelp/navigating-to-file-path.html

Going off topic now:
Only just noticed that you can customize the toolbars now!
Only trouble is, I can't seem to find this Ctrl-Click on the Editor Tab functionality to add it.
Is it somewhere else?

0

Please sign in to leave a comment.