People who code: we want your input. Take the Survey

Questions tagged [phpstorm]

PHPStorm is a commercial IDE for PHP, HTML and Javascript

Filter by
Sorted by
Tagged with
0
votes
0answers
18 views

PhpStorm refuses to properly indent HTML and Twig

Using PhpStorm 2020.2.4 on Ubuntu. I observe the same behavior with HTML and Twig files. The following code snippet will not get properly formatted. <div class="side-icons"> <ul&...
0
votes
0answers
36 views

phpstorm, import VCS file(local history) from phpstorm2017.2 to phpstorm2019.2

I want import or restore localhistory(VCS) files from phpstorm 2017.2 to phpstorm 2019.2 I have "changes.storageData" file from old phpstorm, last time I changed all directory of this ...
0
votes
0answers
264 views

Command 'phpcs' not found

I am trying to install PHPCS (PHPCompatibity) in my PHPStrom. For that I have installed PHPCS using composer with the following command: $ composer global require "squizlabs/php_codesniffer=*&...
0
votes
1answer
19 views

Got a few problems with phpstorm

I'm trying out the program the first time and I get errors and warnings that should not be there. because the page loads up just fine. I have screenshots. categories.php Undefined variable '$...
0
votes
1answer
11 views

PhpStorm - Change deployment server for a project

How can I change the deployment server for a certain project? I have two remote servers. I tried it by setting the default remote server to the other server but the old server is still getting used. I ...
0
votes
0answers
6 views

PhpStorm - Duplicate selected lines above / below

I changed from NetBeans to PhpStorm. In Netbeans I could press Ctrl + Shift + ↑ to duplicate the selected lines above, and Ctrl + Shift + ↓ to duplicate the selected lines below. In PhpStorm I only ...
0
votes
0answers
278 views

Open PHP Storm on bash command-line without output

Since hours I'm trying to run my phpstorm from commandline, without having any output at all. Reason: Every day when I come to work, I have multiple tools to start... 2 different vagrant machines, ...
0
votes
2answers
101 views

How to delete text not matching regex in phpStorm

Having a JSON logfile, I want to extract the product IDs to have a clean list: {"comment": "comment.", "product":"100"} {"comment": "comment.", "product":"555"} {"comment": "comment.", "product":"100"...
2
votes
0answers
80 views

Can't use XDebug in PHPStorm via a local PuTTY SSH proxy + tunnel even though XDebug log says a connection was successful

Here's a confusing one. I need to use XDebug for a remotely-hosted PHP project. The remote server is firewalled and only accepts connections from a second remote server, so in order to connect to ...
1
vote
1answer
50 views

IntelliJ | Make Git Branches Widget stick to corners

I am using PhpStorm and various other JetBrains IDEs. Currently my Git Branches widget floats when I click to bring it up or use the shortcut CTRL + SHIFT + ~. My current monitor setup makes this more ...
1
vote
1answer
3k views

PhpStorm database connection error

I get such error when making connection to the database in PhpStorm. I couldn't find a solution. Server returns invalid timezone. Go to 'Advanced' tab and set 'serverTimezone' property manually.
0
votes
1answer
24 views

PHPStorm sintax highlight for .html.twig

I noticed that phpstorm doesn't consider myfile.html.twig file as a twig file type. If i use myfile.js.twig, it's considered a twig file. Do you know why ? Is there a solution ?
2
votes
1answer
2k views

Where is located .ideavimrc file?

I try to find the .ideavimrc file to configure it. All the documentation I can find on Internet refers to ~/.ideavimrc I can't find it whether I assume it refers to home/ inside Windows Linux ...
0
votes
1answer
400 views

Webstorm LiveEdit not updating js files

When I am attempting to change my node server code and view it to live edit, I use the following address: http://localhost:63342/untitled4/app.js but instead of the code running, I just get a text ...
0
votes
1answer
61 views

PHPStorm 2018.5.3 - deployment does not auto upload a file changed by a file watcher until the window is refocused

OK, so an odd problem here. So I have a filewatcher setup to copy a file from it's source directory to another directory in the repo. I have deployment and automatic upload configured. So I change ...
0
votes
0answers
20 views

Text indentation with HTML Tag in Phpstrom

I want the same indentation for text as the tag has. Anyone can tell the exact settings for Phpstrom editor
0
votes
1answer
109 views

Remove auto generated comments in phpstorm

The comment in particular I'm having beef with is added when I tab complete the name of a method I'm overriding. Phpstorm helpfully adds // TODO: Change the autogenerated stub. I know. That's what I'm ...
1
vote
0answers
55 views

Docker container xdebug with phpstorm issues

I need to debug (with phpstorm + xdebug) some php code inside a docker machine running on a vmware virtual machine. The IDE is running on another vmware virtual machine. I have some problems with ...
0
votes
1answer
104 views

Added an external folder to a project in PHPStorm on MacOS Mojave

I'm working in PHP Storm, on a project that's using a package I'm developing in tandem. I've had a couple of workflows for this, but I'd really like to add an external directory (the package source) ...
3
votes
0answers
356 views

How to fix this PhpStorm, Docker and PhpUnit issue?

I have three docker containers: prefix-php-fpm prefix-mysql prefix-mysql-test I have configured Docker, remote PHP interpreter and PhpUnit in PhpStorm. But when i run tests which requires DB ...
0
votes
1answer
96 views

PHPStorm not receiving debug connection when accessing the web server from a remote host

For some reason PHPStorm does not receive the debug connection when accessing the web server from a remote host. PHPStorm behaves like it is not listening at all. If I access the web server from the ...
0
votes
2answers
1k views

Less Compiler is not working in PHPStrom 2018.3

I am using PHPstrom 2018.3 (latest Version). I am getting this error while I am using less to compile through file watcher. Failed to run File Watcher ', Less'. The watcher has been disabled. Error: ...
0
votes
1answer
172 views

What should my file watcher settings be for phpstorm?

I am trying to set up file watcher in Phpstorm for watching a main.scss file and outputting to a style.css file. I am really confused. In order for me to get a macro preview in the macros screen I ...
0
votes
1answer
2k views

Virtual File System on Windows 10?

I am a PHP programmer and I am looking for a way to create a virtual folder/file Structure, which means: i can copy only required files from anywhere (which would actually be linked to the original ...
0
votes
0answers
199 views

Phpstorm constantly freezes up and is left hanging/unresponsive

I’m running Ubuntu 18.04, when I open phpstorm it often takes a very long time to index my files, while it does this it effectively maxes out my CPU (i7). If I try and open another project it’ll quite ...
0
votes
1answer
954 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
715 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/ ...
1
vote
0answers
124 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
30 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
122 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
51 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
82 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
39 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
1k 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
216 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
53 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
1k 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
474 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
2k 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
255 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
832 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
42 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
167 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
73 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
92 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
603 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
319 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
2k 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
48 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
88 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 "...