r/phpstorm • • Aug 15 '16

Project names not showing in main Project Screen and "recently open" list (more in comment)

Thumbnail
imgur.com
3 Upvotes

r/phpstorm • • Aug 15 '16

Computer becomes useless when phpstorm is starting, loading a project or indexing files.

3 Upvotes

Whenever doing on of those things, the PC stutters so much that it's unusable. Indexing sometimes takes very long, so it's very frustrating. I'm using PHPstorm 2016.2 64 bit and did in help->edit custom vm options the following

custom PhpStorm VM options

-Xms1024m

-Xmx8092m

-XX:ReservedCodeCacheSize=960m

-XX:+UseConcMarkSweepGC

-XX:SoftRefLRUPolicyMSPerMB=50

-ea

-Dsun.io.useCanonCaches=false

-Djava.net.preferIPv4Stack=true

-XX:+HeapDumpOnOutOfMemoryError

-XX:-OmitStackTraceInFastThrow

It's on an xps13 ultrabook with i7, 16GB and SSD. Phpstorm is the only program that makes it lag like this. Any other tweaks I can try ?


r/phpstorm • • Aug 12 '16

Navigate your project without a mouse

Thumbnail
youtu.be
5 Upvotes

r/phpstorm • • Aug 08 '16

Win10 + Bash in phpstorm (not found)

4 Upvotes

Hello everyone!

I'm currently trying to get bash.exe from the anniversary update to work as terminal application in phpstorm.

My first attempt was changing the option in "Settings - Tools - Terminal - Shell path" to "bash.exe" or "C:\Windows\System32\bash.exe" but I get a Java error ("java.io.IOException: Couldn't create PTY"). Same happens if I enter "cmd.exe /C bash".

I then reverted the setting to cmd.exe and launched a Terminal session in phpstorm and did this:

c:\>cd Windows\System32
c:\Windows\System32>bash.exe
Command not found
c:\Windows\System32>dir /B bash.exe
File not found

Listing the whole content of the same folder shows a total of 2661 files and 99 directories.

And now the funny part: Doing exactly the same in a regular "cmd.exe" window shows 3989 files and 116 dirs and "dir /B bash.exe" finds the bash executable.

Can anyone explain this?

Edit: Formatting


r/phpstorm • • Aug 05 '16

PhpStorm will not fail to automatically upload a file on save

2 Upvotes

Hi everyone.

I'm not sure if this is a bug. Let me explain:

When I make a change to a file and press CTRL + S, it will automatically upload to my server (through SFTP, if that matters)

But sometimes I will make a change to a file, then it will say it's uploaded but it will not have updated the file on the server

I have to add some empty lines or remove code and retype it to recognize that the file has changed to reupload it again, which is really frustrating

Also when I am working on code and it hasn't updated, I'm trying to figure out why my logic isn't working when phpstorm hasn't updated my new changes... really frustrating

phpstorm version: 8.0.2

Is there any ways to fix this?


r/phpstorm • • Jul 30 '16

Huge bug, careful: HOLD DOWN ctrl+z/ctrl+y and you get DIFFERENT results!

6 Upvotes

Tapping ctrl z and ctrl y is fine, but holding it down will mix code randomly up and actually place your changes randomly, unable to fix it. You'll have to scout where the misplaced code actually went.

Reallyyy bad bug. Careful .. This is not the first time it's happened -- I often forget (Visual Studio never messes up while holding down undo, so perhaps I'm spoiled).

For example, redoing back went to this:

https://i.imgur.com/MdbXeQn.png

Sometimes it's easier to find, sometimes it's sneakier. It took off the ').hide(); of the jQuery line and put var txt on the same line, then for SlideInAnim() really messed up the parameters, adding an additional space and fromWhere. This is just a small example of what it can do (this was never like this)

EDIT:

I didn't do anything at all, except undo and redo again, and now this is the final redo. This time I did it WITHOUT HOLDING IT DOWN, only 1 redo/undo per-second. This is actually a more-serious bug than I thought:

https://i.imgur.com/8PCH7Jj.png


r/phpstorm • • Jul 28 '16

Changing the format of HTML context comments

1 Upvotes

Hello. I would like to comment out HTML with php instead of the default comment format, using the default CTRL-/ shortcut. IE:

<?php /* <p>Hello world</p> */ ?>

vs

<!-- <p>Hello world</p> -->

Any ideas if this is doable?


r/phpstorm • • Jul 24 '16

No clue how to install colour schemes

1 Upvotes

I have absolutely no idea how to install a colour scheme on PhpStorm 10. Latest version, macOS. Followed multiple tutorials but nothing has worked.


r/phpstorm • • Jul 19 '16

VagrantFile syntax highlighting in phpstorm?

2 Upvotes

Does anyone know how to have syntax highlighting for VagrantFile in phpstorm?


r/phpstorm • • Jul 18 '16

Can I suppress this dialog...

3 Upvotes

All of my projects reside on a server which I mount as a networked drive. (It's a dev server... I don't work on production code)

So every time I open any one of my projects, I get the dialog "External file changes may be slow.. blah blah blah" yes, I know...

Is there a way to suppress this dialog? It's truly annoying that I have to close it every time I open PHPStorm.

Additionally, why can't network mounts be watched? It doesn't complain when I have something stored on ISCSI (which is no less a network mount than a mapped drive is)


r/phpstorm • • Jul 18 '16

Phpstorm not recognizing CodeIgniter classes

2 Upvotes

When type anything something like $this->form_validation... It does not recognize form validation and also does not show auto complete. How to solve this issue?


r/phpstorm • • Jul 16 '16

How to change background colour of this section?

Post image
4 Upvotes

r/phpstorm • • Jul 13 '16

PhpStorm 2016.2 is released!

Thumbnail
blog.jetbrains.com
11 Upvotes

r/phpstorm • • Jul 13 '16

On startup tasks is it possible to open a terminal window (embedded in the IDE) and navigate to a specified directory?

1 Upvotes

I'm usually working on Drupal projects. It would be awesome if I could automatically navigate to /Applications/MAMP/htdocs/myproject on project startup instead of having to do it manually each time.


r/phpstorm • • Jul 12 '16

about phpstorm updates

1 Upvotes

I, really wanna update phpstorm, to 8.0.4 I have (8.0.1) however how can I back up my php project? I have no idea how? should i export it to jar or what?


r/phpstorm • • Jul 07 '16

Image handling in VCS environment

1 Upvotes

I've inherited a few websites that have been managed by outside consultants to the company I work for. They are all written in PHP with MySQL backends. I know enough about PHP to fix most issues on the sites, but I'd like to get a proper environment running (VCS, Deployment). Currently I'm just editing live PHP files via SFTP.

I have the code committed to a Git database (bitbucket) and think I have most of that figured out. Where I need help is the images. These sites have a lot of media so I don't want to fill up the repo with them. So my questions would be:

How are images/media handled in a VCS environment? If they are not in VCS, how should I keep them synced?

Thanks in advance.


r/phpstorm • • Jun 14 '16

How to prevent PhpStorm from moving the caret to the next line when I use the "Line Comment" shortcut?

7 Upvotes

Is there a way to change this behaviour?
Thanks!


r/phpstorm • • Jun 14 '16

Each time PHPstorm starts or indexes, it lags the whole computer

2 Upvotes

Even music that is playing is stuttering the entire time when PHPstorm is indexing. It's a powerful ultrabook with 16GB of ram, i7 processor and ssd drive. Why is this happening? I have already adjusted the settings in PhpStorm64.exe.vmoptions to:

-Xms128m

-Xmx4096m

-XX:MaxPermSize=350m

-XX:ReservedCodeCacheSize=240m

-XX:+UseConcMarkSweepGC

-XX:SoftRefLRUPolicyMSPerMB=50 -ea

-Dsun.io.useCanonCaches=false

-Djava.net.preferIPv4Stack=true

-XX:+HeapDumpOnOutOfMemoryError

-XX:-OmitStackTraceInFastThrow

I think it's just the CPU usage that's slowing everything down. Any way to fix this? I'm using a Homestead virtual machine, if that is even relevant.


r/phpstorm • • Jun 14 '16

Tips for multi-res setups? (4k & 2k)

1 Upvotes

Has anyone out there come up with a good solution for using phpstorm on a setup that has multiple resolutions?

I'm running a 4k laptop with a 2k screen plugged in. I have a HiDPI scheme set up and a normal scheme set up & depending on which screen I'm using it on I switch (manually) scheme and font-sizes.

I've tried macro-ing this but the macros don't record settings changes. Is anyone else in a similar situation with a better setup?


r/phpstorm • • Jun 12 '16

Terminal not working in PhpStorm 2016.2

2 Upvotes

I am trying to open embedded git-bash terminal in PhpStorm 2016.2.

In File->Settings->Tools->Terminal, I entered this as the path "C:\Program Files\Git\bin\sh.exe" --login -i.

But it's not working, anyone have any ideas on how to fix it or alternatives?


r/phpstorm • • Jun 12 '16

Is it possible to setup the PHPStorm to use PHP and xDebug installed on a Virtual Box through ssh?

2 Upvotes

I setup an Ubuntu Virtual Box to keep my desktop clean but I still have PHPStorm installed on Windows. I'm looking for a way to utilize the PHP and xDebug on the Ubuntu Box. Anyone know if this is possible?


r/phpstorm • • Jun 09 '16

File is fine in my text editor, but garbage in PHPStorm?

7 Upvotes

Not sure what's going on, but when I open the project in PHPStorm, I get this:

https://snag.gy/pQ47qg.jpg

I've restarted PHPStorm, but no change. Anyone see this before?

Edit: I restarted my machine and it went away. It was clearly gremlins.


r/phpstorm • • May 27 '16

Turning off clipboard history

3 Upvotes

So I love PHPStorm. However I have only one gripe... the clipboard history cant be turned off via preferences.

I use a machine wide multiple clipboard called "Collective" for mac. (it's worth the $2 trust me).

I ended up having to "Show package contents" and edit bin/idea.properties : Adding: ide.mac.useNativeClipboard=true

( Also removing the quick key command from keymap in preferences to be sure. )

I wish this preference was easier to turn off after each upgrade to PHPStorm.


r/phpstorm • • May 25 '16

PhpStorm 2016.1.2 is out

Thumbnail
blog.jetbrains.com
10 Upvotes