Posts

Showing posts with the label Phpstorm

Cannot Find Declaration To Go To In PHP Storm On Ubuntu

Image
Answer : My problem was that my whole vendor folder had somehow gotten ignored. To check and fix, navigate to "File > Settings > Project Settings > Directories" and make sure that "vendor" is not excluded . Sources: http://fuelphp.com/forums/discussion/3943/how-to-setup-code-completion-in-phpstorm Please try to enable Laravel plugin: Settings (Preferences) | Other Settings | Laravel Plugin | Enable Plugin for this Project Or here: Languages & Frameworks | Php | Laravel| Enable Plugin for this Project As said on https://confluence.jetbrains.com/display/PhpStorm/Laravel+Development+using+PhpStorm

Cannot Ignore .idea/workspace.xml - Keeps Popping Up

Answer : I was facing the same issue, and it drove me up the wall. The issue ended up to be that the .idea folder was ALREADY commited into the repo previously, and so they were being tracked by git regardless of whether you ignored them or not. I would recommend the following, after closing RubyMine/IntelliJ or whatever IDE you are using: mv .idea ../.idea_backup rm .idea # in case you forgot to close your IDE git rm -r .idea git commit -m "Remove .idea from repo" mv ../.idea_backup .idea After than make sure to ignore .idea in your .gitignore Although it is sufficient to ignore it in the repository's .gitignore, I would suggest that you ignore your IDE's dotfiles globally. Otherwise you will have to add it to every .gitgnore for every project you work on. Also, if you collaborate with other people, then its best practice not to pollute the project's .gitignore with private configuation that are not specific to the source-code of the project. I had t...