Does webstorm store information on the the files on the local system when indexing?
I just connected to a .adea project via sshfs on windows and re-indexing is happening.
does webstorm store information on the the files on the local system? I don't want this as they are confidential?
Please sign in to leave a comment.
Hi there,
Please clarify your question.
Please explain what you mean by "does webstorm store information on the the files on the local system?"
But generally speaking: indexes (used for code completion, navigation etc) are stored locally, together with IDE-wide settings -- they have to be stored locally on FAST drive otherwise IDE may lag a lot and may randomly freeze for some time for no apparent reason (platform requires fast access to indexes/caches .. and if there is an delay in accessing those files IDE may behave weird).
Yes, always.
For cleanup: close project, execude File|invalidate caches and restart, and - important - actually restart IDE.
ok thanks, what is important for me is that if someone were to gain access to these indexes could they reverse engineer them to get our code?
yes, they contain full content and were never designed to keep content "secret".
note: there is also "local hisory", vcs log cache, etc.
basicaly you should treat "system" and potentially "config" folders same as your sources.
thanks are there docs that explain where all that data is kept so I can secure delete it, thanks
we can't have exposed src when our dev machines are in used so we would want to specify exactly where the index
info is kept (inside a truecrypt value, encrypted when not in use), is this possible?
Yes. Please refer to idea.proprties file (on Windows it would be PHP_INSTALL_FOLDER\bin\idea.properties) -- look for idea.system.path proprty.
https://intellij-support.jetbrains.com/entries/23348963-Changing-IDE-default-directories-used-for-config-plugins-and-caches-storage
related: https://intellij-support.jetbrains.com/entries/23358108-Directories-used-by-the-IDE-to-store-settings-caches-plugins-and-logs
Please note: enrypted drive means slower access to those files where IDE expects FAST access (but still should be faster than over network, I guess -- depends on ecryption used and disk behind it).
so we need caches/index stored on different locations for different projects, this is
not possible I assume?
Just like that -- no.
But you can easily copy whole IDE folder to another location, alter paths in idea.properties there and use THAT copy to work with that project ONLY.
nice, will that cause any clashes with the registry?
Which "registry"?
If question is about Windows Registry then answer is "No" -- the only info stored there is installer related.
I also usually work with the src code stored on the vm that I am running my dev environment in (I do this to not have to worry about file permissions when storing files the other way, mind you I could always just deploy them via ftp but am a bit lazy for that).
One thing I see it that with sharing via NFS I get the working about files being slow.
Anyway I will store webstorm in the encrypted truecrypt volume where the vm is also stored.
hopefully things won't die
all this because I work remotely, if it was locked in a secure office I wouldn't need to be so padantic
Looking at the webstorm folder I can't work out where this indexing information is kept
can someone let me know?