Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [phpstorm]

PHPStorm is a commercial IDE for PHP, HTML and Javascript

0
votes
0answers
11 views

Connecting to a local apache server with PhpStorm

So normaly I have file in /var/www/html I open it in browser using http://localhost/file.php. I am not sure how to set up connections and mapping in PhpStorm however. I tried something like that ...
0
votes
1answer
16 views

PHP Storm Interpreter is not specified or invalid

I got this error as mentioned below. I don't understand how to set one as there's no interpreter to choose. I will appreciate any help, Eve
0
votes
1answer
50 views

PHPStorm + docker + xdebug + db ssh tunnel

Locally I have following docker-compose configuration: nginx: build: context: ./nginx ports: - "80:80" volumes: - ./../logs:/home/web/logs/ - ./../:/home/web/my-website.com/ ...
0
votes
0answers
30 views

PhpStorm with xdebug: I get error 500 if I do not step thrugh code

If I have "listen to xdebug requests" active I get error 500 unless I enable the "break at first line" setting. I put a breakpoint to some code, but do not want to step every time -_- How do I ...
1
vote
0answers
41 views

Super+O and Super+Shift+O don't work in Ubuntu 18.04 and PhpStorm

I am using PhpStorm on Ubuntu 18.04. I would like to use Super+O and Super+Shift+O shortcuts but I can't make PhpStorm register them, it behaves as though these keystrokes don't exist. Does Ubuntu ...
0
votes
0answers
23 views

How to access my cPanel files via FTP using PhpStorm

I am trying to access my cPanel files via FTP using PhpStorm. The connection with the domain works, but I don't see the files. This same procedure works with FileZilla and it shows me the files that ...
0
votes
0answers
90 views

Git rebase hangs out and creates many sh.exe processes

I am using latest PHPStorm and latest git 64 bit on latest Windows 10 x64. When im trying to do rebase option from PHPStorm then it pretty much hangs out and creates a lot of C:\Program Files\Git\usr\...
0
votes
0answers
53 views

Run pre-commit in PHPStorm environment

Is there any way that I can run my pre-commit hook in the environment set up in PHPStorm? I can't install plugins, as this is a pre-commit script that needs to run accross any clone of this repository....
0
votes
0answers
21 views

PhpStorm 2017 autopopup completion not working outside <> symbols

If I type < symbol and then continue typing, autopopup completion works just as intended: But outside of <> tags(either html or php - <a></a> or <?php ?>, for example) ...
1
vote
0answers
47 views

Unable to make PHPStorm work with Node.js and Docker

Here is my setup: Here is some of the errors I am getting: So it seems I have two issues. Something wrong with the networking. For some reason it doesn't load my project into the container. I am ...
0
votes
1answer
44 views

JetBrains suddenly stopped working on second screen

I've had two screens for a while now (working on windows). As of this morning, PHPStorm suddenly won't work on the monitor it's been working on for months! By not working, I mean that when I drag it ...
1
vote
0answers
60 views

Strange files shows up in my /home when Ubuntu starts

Recently, I've noticed some strange files showing up in my /home directory every time when I turn on/restart my computer. They just appears and the names means nothing, I can delet them as normal ...
1
vote
0answers
33 views

Live template for doc style comments in PhpStorm

How to set a live template in PhpStorm so that when I hit enter for a new line, it automatically adds an asterisk? Or maybe there is another way to do it, e.g. wrap with comments action? /** * More ...
0
votes
1answer
494 views

PHPStorm 2017.1 fails running remoted phpcs: “ERROR: The file ~/.phpstorm_helpers/… does not exist”

QUESTION UPDATE: I had mistakenly used the revision number for PHPStorm. The correct version is 2017.1, not 2017.3 as initially stated. I recently updated to the latest PHPStorm (2017.1 March) and ...
1
vote
1answer
211 views

How make fonts render in PhpStorm2017.1 good

In PhpStorm 2016.3 on Ubuntu fonts in IDE rendering perfectly, but in new version 2017.1 it's now again look bad. How do I make the fonts look good again? Solution for me: I copied jre folder from ...
1
vote
0answers
39 views

How to get ssh information automatically in phpstorm remote server list?

I have to work with lots of remote server for different projects. It's too much annoying to update the same ssh informations every time for ssh terminal, phpstorm, filezilla, sequel pro and others. ...
0
votes
0answers
632 views

Adding and using 'PHP' External Libraries into JetBrains PhpStorm?

I'm having this problematic issue: Anyone have an idea of whats going on, I have added the path to the folder in the 'Include Path' configuration in 'Settings' and still it's giving me that.
0
votes
1answer
180 views

FTP upload - Failed to open “C:\Apache24\…\uploads\image2.png” for reading because it is not a file

I would like to upload some files including .php and images to server. I tried it via Filezilla and PhpStorm. All php files has been transferred well, but some images throws me an error with text: ...
0
votes
2answers
873 views

Wacom Intuos with touch scrolling not working in PhpStorm

I work with my mac in a doc so the touchpad isn't used most of the time so I use a mouse or my Intuos Pen & Touch pad. Scrolling works normally in almost all applications except PhpStorm which is ...
0
votes
1answer
165 views

PhpStorm 2016.2 Change the Debug Panel Font Size

The editor and the console font size can be changed with ctrl+mouse wheel (ref), but how do you change the debug panel font size? I've been all through Colors & Fonts and haven't been able to find ...
0
votes
1answer
479 views

How do I configure a Less file watcher's output directory?

How do I configure a less file watcher to put the output css file into the same directory as the less file, rather than in a 'css' folder in the parent directory. I've read the help here: https://www....
0
votes
1answer
37 views

Redundant repetitive documentation links in PhpStorm quick-documentation when adding them manually

I'm using Php Storm 2016.2.1. To access the quick documentation for the jQuery API inside the IDE, I've got the jquery.d.ts from GitHub. When I introduce the file to the IDE through the form at File / ...
0
votes
1answer
136 views

How to change the blue foreground color of text in PHPStorm?

How to change the blue foreground color of text in PHPStorm IDE? I would like to be a Cyan color (#00B0F6).
0
votes
1answer
49 views

phpStorm: global project favorites

i found out there's a favorites toolbar in phpstorm but it seems like it's only storing the current project's favorites. is there a way having a global favorites projects/folders list which is ...
0
votes
1answer
69 views

How can I stop PHPStorm tooltips from blocking the typing view?

This is getting to be rather annoying and has only really started happening recently (or I've only started noticing it recently) but the the documentation tooltip in PHPStorm has been coming in the ...
2
votes
0answers
417 views

How to access the port of a reverse SSH tunnel on the hosts loopback device from within a Docker container?

I have the Xdebug PHP extension installed in a Docker container that runs the PHP-FPM of my development and testing environment. A debugging client (the one build-in PhpStorm) listens on port 9000 on ...
0
votes
1answer
223 views

How do I limit phpStorm to open files just from my defined scope?

I would like to know if it is possible to use this dialog window filtered to just one scope. I find this very useful, but unfortunately frameworks have tons of files I never want to edit, and ...
2
votes
6answers
1k views

Phpstorm not starting after memory dump error

I got an error message that not enough memory while pushing code and then I pressed the "Shutdown" button on that error and since that popup phpstorm does not start. Double clicking on the icon does ...
0
votes
1answer
43 views

Prevent Vim from selecting less than 2 characters?

I use Vim more and more, and I installed the plugin ideaVim in my IDE from JetBrains (pyCharm, phpStorm). I still use the mouse a lot to navigate and select text, and sometimes when I click in the ...
0
votes
0answers
41 views

Creating a “fake” disk on windows that actually goes to a remote disk

I have a seagate harddrive connected to my router. I can get to my files but i cannot use the file location in phpstorm. I can edit the files but the file tree is not showing. I read that you could "...
5
votes
2answers
989 views

Change behavior of initialize fields to create protected properties, rather than private

Is it possible to configure phpstorm's initialize fields command to create protected properties, rather than private ones?
0
votes
1answer
72 views

How do I have an FTP “folder” recognized in windows 7 visible by intelij (php storm 8)?

It took me a few days to get an FTP "folder" able to work in something other than filezilla, and it finally came together now I need to get it to work so I don't need to drag folders over. What steps ...
0
votes
1answer
26 views

Current project specific settings effect universal settings

I am using PHPStorm 10.0.3 and i have configure my project to work with localhost. In the settings it says its a project specific settings and will affect current project only. But when i close this ...
0
votes
0answers
504 views

PHPStorm SFTP connection using two factor authenticaton (TOTP)

I'm trying to connect with the server in PHPStorm but I'm having trouble because the server uses a two factor authentication (TOTP). I was googling for it, but didn't found anything. Here is my ...
0
votes
0answers
216 views

PHPStorm 10.0.1 Ineffective code formatting

I've a strange problem which I cannot find solution for. I'm using PHPStorm (10.0.1 on windows 10) for developing web applications in PHP. Recently I downloaded a script. The code is formatted ...
0
votes
1answer
2k views

Phpstorm smooth fonts

I'm using Brackets 1.5 and Phpstorm 10.0 on Windows 10. In Phpstorm the fonts are not good and codes are hard to read. On the other hand, in brackets fonts are great. Apparently Brackets uses "...
0
votes
1answer
179 views

How can I show the “Reformat code” dialog again in IntelliJ/PhpStorm?

I want to customize what the "Reformat code" action does in PhpStorm. The thing is that I can't do it because, in the past, I checked the "do not ask again" option. How can I show that dialog again? ...
0
votes
1answer
383 views

Prevent my IDE to become floating in Awesome WM

I encounter a little problem with my IDE (Jetbrains products, PhpStorm or PyCharm) and the awesome window manager. From time to time when a floating window inside the IDE appears (commit dialog / ...
1
vote
1answer
541 views

Stop PHP Storm indenting when I hit return?

When I press return in PHP Storm the new line is indented, even if the next line is not nested. How can I stop the editor from doing this? var something = 'visible'; //After hitting return I'm ...
1
vote
1answer
214 views

Can't pin phpStorm64.exe to desired position in windows 10 Taskbar

I'm using phpStorm on Windows 10 and would like to pin the application to a specific spot in the taskbar. While that works with the PhpStorm.exe it doesn't with the PhpStorm64.exe. The pinned icon ...
0
votes
1answer
803 views

Is there any ignoring mechanism in PhpStorm similar to .gitignore

Is there any ignoring mechanism in PhpStorm similar to .gitignore to exclude indexing and inception on some files/folders? So I can share that file among the team and commit its changes? (btw, I ...
1
vote
3answers
5k views

Remove comments from file

I'm using PHPStorm and have a very basic problem. I want to remove single/multi/phpdoc comments from my files. I want this process to be one-click and easily undo-able. I've tried looking over the ...
0
votes
2answers
832 views

How to see memory address of an object in Xdebug / PHPStorm

Is there any way to see the allocated memory address of a variable, object when debugging with Xdebug and PHPStorm ? Don't know if this is a setting within Xdebug or PHPstorm, but I'm sure is ...
0
votes
1answer
2k views

How can I enable an external library in PhpStorm?

I am hoping to get autocompletion within PhpStorm. The source of of the library is installed globally in my home dir /home/user/npm/lib/node_modules and not available locally in My project directory....
0
votes
1answer
141 views

Set up version control integration with PHP Storm?

In PHP Storm if I go "View" / "Tool Windows" then "Version Control" is greyed out and unclickable. Im trying to set this up. I think this is the documentation https://www.jetbrains.com/idea/help/...
4
votes
1answer
3k views

Diff between commits with PHP Storm?

Can you see a diff between 2 commits in the same branch with PHP Storm? With Netbeans you can go Git / Diff / Diff to... and then select the commits. Does PHP Storm have the same functionality?
3
votes
1answer
789 views

Diff to HEAD with PHP Storm?

How can you see a Git diff to HEAD with PHP Storm? I'm trying to switch over to PHP Storm from NetBeans as I've heard that it's more powerful. But I can't see how to use the Git diff tool, which was ...
0
votes
1answer
203 views

Create a keyboard shortcut for a live template in Intellij / PyCharm

How can I add keyboard shortcut in keymap for a custom live template?
2
votes
1answer
658 views

How to re-enable “Automatically add files to VCS” in PHPStorm

The first time I created a file in PHPStorm I accidentally clicked "Don't automatically add this file to my VCS" (that's a paraphrase of course) and it's driving me nuts that I have to keep doing this ...
0
votes
2answers
2k views

PHPStorm does not start anymore

I have phpstorm installed on ym Linux machine, and it worked fine before. However, now it doesn't even start: ~/.../config/plugins $ phpstorm.sh OpenJDK 64-Bit Server VM warning: ignoring option ...