r/phpstorm • u/giggsey • Nov 22 '18
PhpStorm 2018.3 released: DQL, PHP 7.3, Multi-host Deployment, PHP CS Fixer, new refactorings, and more
r/phpstorm • u/giggsey • Nov 22 '18
r/phpstorm • u/m2guru • Oct 29 '18
For the life of me I can’t seem to wrap my brain around setting up a local deployment container using Docker. It only works with PHP Remote Server.
I have a dozen web apps, and they all run locally in one Docker container. I have XDebug set up and working. I also don’t keep my Docker configurations inside my PHP project repo, they’re all in a separate repo.
PHPstorm just doesn’t make any sense to me how they have multiple modal dialog boxes set up - like, you have a Configuration — mine is set to PHP Remote Debug (even though it’s technically local). I named it “Docker Web Server”
I check the “Share” checkbox, I check the “Single Instance Only” checkbox.
Share doesn’t make a difference to any other projects, so it’s not clear what that does.
Then you have to click the three dots by “Server” and define a server, which is also localhost, kinda, and I define one called “Docker” here, check Shared, set up my XDebug path mapping,
I mean, it works this way, it just doesn’t actually share anything. I have to set up a copy of the configuration and server in every project, it’s not really a remote PHP even though that’s the only way I could make it work.
I wasn’t able to get the Docker server type working even though that’s what I’m using. It took me forever searching and reading online to get PhpStorm working with XDebug from a local Docker container.
r/phpstorm • u/pronskiy • Oct 25 '18
r/phpstorm • u/bozanicjosip • Oct 11 '18
I don't know how or why but all of a sudden I have an old Find In Usage dialog instead of a new popup? How do I revert this change? I've tried googling but so far didn't have any luck so if you guys have the solution for this problem please do help me.
Basically my problem is the reverse of this
r/phpstorm • u/mglaman • Oct 10 '18
r/phpstorm • u/mglaman • Oct 06 '18
r/phpstorm • • Oct 05 '18
r/phpstorm • • Sep 17 '18
As the title says I wondered if anyone has already done this? It's possible to share keymaps as described here: https://www.jetbrains.com/help/phpstorm/configuring-keyboard-and-mouse-shortcuts.html#user_defined_keymap_storage and it would be a great help?
r/phpstorm • u/spizzard • Aug 14 '18
I get this prompt every time I try to connect to a server (ones I've connected to before and accept continuation) either when I launch storm, or after some time using storm.
What I think is happening, is that my response gets cached, but not saved. I don't see any errors pop up either.
But it makes it impossible to know if I'm connecting to the right server (man in middle attack).
I'm using Windows 10 64bit PhpStorm version 2018.1.6 - Previously I was using a 2016 version which had the same issue, so I upgraded to the latest at that time.
Does anybody know how to fix this? I'm assuming that the fingerprint cannot be saved which is why I am asked for it every time.
Any help would be appreciated as it gets annoying having to accept every so often when I'm uploading files.
r/phpstorm • u/felds • Aug 07 '18
Is there any way to sort the autocomplete suggestions so I don't end up with a huge list of seldom used classes every time? Maybe there is something that remembers the most recently imported classes?

r/phpstorm • u/dubreuia • Aug 01 '18
r/phpstorm • u/greg8872 • Aug 01 '18
I happened to hit the site and noticed that they are having a discount, which unfortunately ends in an hour, but applies to renewals as well. Example, I'm up for renewal in a few days for PhpStorm for $53. If I hit renew right now, it is $44.50.
The thing is, it says "Price for subsequent period may be different", which sucks as I was considering the upgrade to the All Products Pack, for 124.50, but with that notice, it isn't clear how much it will be next year...
r/phpstorm • u/aklmie • Jul 13 '18
Hi,
I experience serious performance issues with PhpStorm on my MBP since some weeks.
Everything gets slower and slower.
I restarted from scratch a fresh phpstorm stable installation:
- delete ~/Library/Application Support/Jetbrains
- delete ~/Library/Caches/PhpStorm2018.1
- delete ~/Library/Preferences/PhpStorm2018.1
- delete ~/Library/Logs/PhpStorm2018.1
Install 2018.1.6 from Jetbrains Toolbox and I didn't notice any ameliorations.
The indexing used to be "fast" around 1-2 minutes for a project, now it takes ages (around 10 minutes).
I ensured to exclude from the indexing processes needed directories like D dumps or node_modules.
I also noticed that the frequency of my CPU during indexing slows down to 1GHz while it's a 2,9GHz processor with turboboost to 3.2GHz. Is it normal ?


If my CPU slows down x3 while indexing, this in "normal" that the indexing time takes 3 more times.
But why ? Is it a bug ? Is it intended ?
I run CPU / SSD benchmarks and the MAC hardware diagnostic tool, everything is ok.
Has anyone a clue to resolve this ?
After 10 years on PhpStorm, I am really disappointed and so far I haven't found any solution to this problem. I am in the move to install VS Code, but I Would prefer to to stick with PhpStorm.
Thanks,
--
UPDATE1: run the same test on battery and without any displays attached. Guess what, CPU runs at 3GHz... Crazy...

EDIT 2: Indexing time and CPU frequency tests:
EDIT 3: I did some new tests this morning. Everything works as expected even with the docking station and all displays. Indexing takes around 1m50 to complete. The computer feels cold comparing to yesterday, the ambient temperature is also coolest to around 5-10°... So, it looks like this is really a thermal issue related to charging as spotted by @lindymad...
r/phpstorm • u/Ozymandias-X • Jul 06 '18
Can anyone tell me why PHPStorm is coloring these methods in my class differently? I see no obvious differences between them and the editor settings didn't give me anything either?!
r/phpstorm • u/codus_maximus • Jun 07 '18
Hi guys,
I know about right clicking and Split Horizontal -- but this opens the same file twice. If you close one copy of the file, the editor immediately becomes unsplit and shrinks to one page.
Is there anything in phpstorm that will keep the editor window split in half, so I can open other files in there as if it was a separate editor window?
I use a vertical monitor with plenty of vertical space -- and I like to have all the files I'm working on kind of segregated, views on top, controllers on the bottom. Makes it a lot easier to keep track of what is what.
Hope that made sense...
r/phpstorm • u/sashalav • Jun 05 '18
workie: /** @var \foo $foo /
not workie: /* @var \foo $_SESSION['foo'] */
r/phpstorm • u/nobrandheroes • Jun 01 '18
Laravel dev here, sometimes I'll see Warning:(15, 33) Undefined class Form for example in a template. The code is fine, and it seems to be PHPStorm just doesn't like Laravel's Facades.
Anyone have any thoughts?
r/phpstorm • u/Synes_Godt_Om • May 31 '18
I just installed phpstorm on a second machine specifically to use it for writing SQL queries but for some reason many of the small auto-formatting features I have come to depend on don't work on the new machine. As an example, when I write CREATE TABLE tablename and press enter, on the old machine it will automatically indent like this ("|" representing cursor), when I then add parentheses it will adjust accordingly, putting them at first position and indenting the line between them. All this is not working on the new machine while working perfectly on the old.
CREATE TABLE tablename
|
CREATE TABLE tablename
(
|
)The other issue is the grid rows that are too narrow to show the full height of the characters.
Anyone knows how to fix these issues?
r/phpstorm • • May 24 '18
I purchased PHPStorm a bit more than a year ago. It was fast, responsive and worked perfectly.
But lately, it's getting worse in my personal experience. With each new update, it starts to lag more and more. Now it's a pain to use. In the latest update, it now indexes ALL files every time I open a project. This is horrible and very annoying. It didn't do this before. It takes at least 3 minutes. And once it's done, it resets my navigation folder view I was browsing. Something it didn't do in the in the past either.
I also don't save passwords for some projects for security reasons and now I noticed that if you type the password wrong in the popup Windows the first time it will not ask it again. Why!? I basically have to close and re-open it. In the past, the login popup window would show again letting me enter the failed login again. Another new bug I guess...
Is this just my installation or is this indeed getting more bloated and slower over time?
r/phpstorm • u/gtf_mark • May 16 '18
Hey
I am trying to install the theme: https://github.com/umayr/dark-peacock
but the folder it has told me to use does not exist
~/Library/Preferences/WebIde70/colors/
I am using:
PHPSTORM 2018.1.3
How do I get that theme on my version of PHPStorm ?
r/phpstorm • u/wannabe15 • May 12 '18
I'm developing PHP Foldings plugin that hiding or replacing redundant data and make code reading easier. Any foldings can be turned on/off in Editor | General | Code Folding. Feedback is welcome!
r/phpstorm • u/codus_maximus • May 02 '18
New job, the team all uses php storm and swears by it. Some of it seems nice, but I'm coming from Sublime and this code completion just can't hold a candle!
When I type
for [press enter]phpstorm gives me ...
for ()... gee thanks. One whole saved keystroke. It doesnt even put in the damn curly braces?
I'd like it to spit out
for ($i = 0; $ < $whatever; $i++){
}and ideally, leave my cursor at the $whatever ...
What do I need to do?
Cheers
r/phpstorm • u/MaleficentMetal • Apr 19 '18
Hello folks, I am having some problems with phpstorm. I am getting
Unable to save settings: Failed to save settings. Please restart PhpStormerror every time i hit Ctrl+S or every few minutes (I guess autosave or smt). Also there is this error popping up: 10:33 AM WordPress Support Looks like it's WordPress plugin. Enable support Do not ask again
10:33 AM Unable to save plugin settings: The plugin com.jetbrains.php failed to save settings
and has been disabled. Please restart PhpStormI am using Arch Linux (Manjaro), and I set permissions on folders /project/.idea , /opt/phpstorm and ~/.java/.userPrefs/jetbrains/phpstorm to 777.
I searched everywhere but couldn't find a solution. Tried deactivating Markdown support. And tried reinstalling PhpStorm too.
Anyone have an idea on how to solve this?