I think it's the case, I've killed the process due to stability during a debugging/profiling session. But what's the reason to rescan everything? Everything should be ok, since it worked fine until I kill IDEA. May be it could be a question before starting the scan. Something like "Idea has been stopped unexpectedly, do you want rescan files for safety?"
I think it's the case, I've killed the process due too stability due a debugging/profiling phase. But what's the reason to rescan everything? Everything should be ok, since it worked fine until I kill IDEA. May be it could be a question before starting the scan. Something like "Idea has been stopped unexpectedly, do you want rescan files for safety?"
In another thread IntelliJ guys have explained, that IDEA relies on the cache pretty much. So if the process is not terminated nicely, the cache might be in inconsistent state, in which case I personally would prefer that the application always re-creates the cache in such case, rather than allowing the user to choose to f*** the whole project and start getting strange behavior and bugs, which will be hardly (if ever) reproducible by IDEA guys.
A deep clean-up without asking the user is better choice here, I think.
Still, it will be nice if there is a command "Clean Up the cache" available to the user from the UI ;)
Hello Regis,
Did you shutdown IDEA normally during the previous run? The rescan is expected
if IDEA was killed rather than closed properly.
--
Dmitry Jemerov
Software Developer
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"
Hello Dmitry,
Depends on what "closed properly" means. E.g shutting down the PC without closing IDEA first should
IMHO not cause this. http://www.jetbrains.net/jira/browse/IDEA-13987
Sascha
Hello Sascha,
>> Did you shutdown IDEA normally during the previous run? The rescan is
>> expected if IDEA was killed rather than closed properly.
>>
We haven't yet investigated if we can get an adequate notification in this
case.
--
Dmitry Jemerov
Software Developer
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"
I think it's the case, I've killed the process due to stability during a debugging/profiling session.
But what's the reason to rescan everything?
Everything should be ok, since it worked fine until I kill IDEA. May be it could be a question before starting the scan. Something like "Idea has been stopped unexpectedly, do you want rescan files for safety?"
Regis Le Brettevillois wrote:
In another thread IntelliJ guys have explained, that IDEA relies on the
cache pretty much. So if the process is not terminated nicely, the cache
might be in inconsistent state, in which case I personally would prefer
that the application always re-creates the cache in such case, rather
than allowing the user to choose to f*** the whole project and start
getting strange behavior and bugs, which will be hardly (if ever)
reproducible by IDEA guys.
A deep clean-up without asking the user is better choice here, I think.
Still, it will be nice if there is a command "Clean Up the cache"
available to the user from the UI ;)
Greetings
+10