Find usages/function mapping breaking every few days
Every few days I find that I'm trying to "find usages" of a method and am told it's not used, despite the next method in the class calling it. General advice in these instances is "Invalidate caches and restart" but that's a 10 minute+ process and I'm having to do it every few days. This has been happening for maybe a month, so I am unsure what has caused it to break.
Also sometimes when opening PhpStorm the "indexing" process runs repeatedly, i.e. as soon as it completes it starts again. This also forces me to "Invalidate and restart"
I could completely uninstall the system (how can I ensure it's totally clean?) but how would I ensure I was able to get all my settings, shortcuts, plugins back afterwards - without also re-importing whatever has broken my installation?
Running PhpStorm 10.0.4 on Ubuntu 16.04.
请先登录再写评论。
Hi there,
1) PhpStorm 10.0.4 is too old -- no way for testing it here for ordinary users (like me) -- unless JetBrains support will help.
2) It could be caused by some plugin. E.g. in the past the .ignore plugin was causing it and it was few times (different plugin versions). If you are using it -- disable and try again (after invalidating caches one more time).
3) Other than that: disable all other custom (not bundled by default) plugins -- see if it will make any difference. Check idea.log file for possible hints like exceptions etc (Help | Show Log in ...)
>but how would I ensure I was able to get all my settings, shortcuts, plugins back afterwards - without also re-importing whatever has broken my installation?
Since we do not know what's causing it -- no way.
IDE stores it's settings in ~/.PhpStormXXX folder. "config" sub folder-- it's the actual settings; "system" -- indexes and caches etc -- can safely be removed as they can be regenerated/re-downloaded.
If you wish to do such "reinstall" then you must save that "config" folder. There, you may safely re-use most of the config files .. at very least things like Keymap, Live Templates, File templates, External tools, Code Style and some more -- the very customizable things.
Directories used by the IDE to store settings, caches, plugins and logs
P.S.
You may backup that folder and delete it; then launch IDE and start from scratch -- if it behaves better -- you may recover most of the files back (e.g. few at a time etc) until it starts behaving bad again (no idea how long it takes you to notice such behaviour though)