IDEA post M2 rescanning the whole project at startup

Everything is in the title.
Anyone has detected the same problem?

0
6 comments
Avatar
Permanently deleted user

Hello Regis,

Everything is in the title.
Anyone has detected the same problem?


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!"


0
Avatar
Permanently deleted user

Hello Dmitry,

Did you shutdown IDEA normally during the previous run? The rescan is
expected if IDEA was killed rather than closed properly.


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

0
Avatar
Permanently deleted user

Hello Sascha,

>> Did you shutdown IDEA normally during the previous run? The rescan is
>> expected if IDEA was killed rather than closed properly.
>>

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


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!"


0
Avatar
Permanently deleted user

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?"

0
Avatar
Permanently deleted user


Regis Le Brettevillois wrote:

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 ;)

Greetings

0
Avatar
Permanently deleted user


Still, it will be nice if there is a command "Clean
Up the cache"
available to the user from the UI ;)


+10

0

Please sign in to leave a comment.