Questions tagged [phpstorm]
JetBrains PhpStorm is a commercial IDE for PHP built on JetBrains' IntelliJ IDEA. PhpStorm provides an intelligent editor for PHP, HTML, CSS and JavaScript with refactoring and on-the-fly code analysis.
phpstorm
7,569
questions
0
votes
0
answers
13
views
Problem in running Xdebug version 2 with PhpStorm
I have a problem with the working of Xdebug 2.1.29 with PhpStorm, PHP version 7.1.
My configuration xdebug.ini:
zend_extension=xdebug.so
xdebug.remote_enable=on
xdebug.remote_autostart=off
xdebug....
-1
votes
0
answers
28
views
In case of Laravel Blade file How to tag assets of a html file using PhpStorm easily at once?
I was just trying to find a shortcut for doing some manual jobs at once. I have a HTML file with below code. I want to convert it in Blade file. So I am tagging the assets files also I have changed ...
0
votes
1
answer
34
views
JetBrains IDE language injection rule for script type=text/x-twig
I'm writing html files that include several templates in Twig template language. These are later used with twig-js document.getElementById('my-template').innerHTML.
I want them to be highlighted as ...
-1
votes
1
answer
31
views
The composer does not work in PhpStorm. error ('""' is not recognized as an internal or external command, operable program or batch file)
I have composer installed and it works fine in cmd, PowerShell, PyCharm:
but not working in PhpStorm:
error: '""' is not recognized as an internal or external command, operable program or ...
0
votes
1
answer
27
views
How to extract all HTML elements style to one file in PhpStorm project or Bitbucket?
I'm building a Symfony project with lots of design.
I was wondering if there is way to extract all CSS styling of every element that has some with
style="..."
to a unique CSS file while ...
0
votes
0
answers
20
views
How to disable "Tools ->“actions on save” ->"Reformat code" option?
With PphStorm 2024.1 ( Build #PS-241.14494.237, built on March 27, 2024 ) on any saving of a current page I
see dialog “Reformat code” => “Processing”, which takes some time to process, especially ...
0
votes
0
answers
29
views
The title bar appeared abnormal after the JBR was replaced by a series of software owned by JetBrains
CLion IDEA, the software owned by JetBrains... When JetBrains Runtime (JBR) is replaced with oracle jdk or openjdk of a similar version, the title bar is displayed abnormally.
Replace previous title ...
0
votes
0
answers
49
views
Configuring Xdebug (PhpStorm docker) for scripts running in the background
Project stack: PHP 7.1 in Ubuntu image, Xdebug 2 and docker.
Architectural solution: a PHP script (server.php) is run on the server with this script:
#!/usr/bin/env bash
#!/usr/bin/env bash
#!/usr/bin/...
1
vote
0
answers
37
views
PhpStorm inspections on __call magic methods without knowing the name of the dynamic functions
The short version of this is, I want PhpStorm to know the datatype returned by a dynamic function call that is handled by __call. There is no way to know the name of the dynamic functions reasonably ...
0
votes
1
answer
18
views
PhpStorm EAP not showing in GitHub Desktop External Editor list
When I install JetBrains PhpStorm Early Access Program (e.g. PhpStorm 2024.2 EAP) in my WIN11 it is not showing up in GitHub Desktop's External Editor's List.
0
votes
0
answers
33
views
Why can't I use Xdebug in PhpStorm? I'm using PHP 8.1 and Xdebug 3.3
When I run Xdebug for my index page it gives me an error:
/bin/php -dxdebug.mode=debug -dxdebug.client_port=9003 -dxdebug.client_host=127.0.0.1 /var/www/html/thang/app/code/Smartosc/Thang/Controller/...
-1
votes
0
answers
39
views
Why soft wrapped does not work in PhpStorm 2024?
Why long code line is not "soft wrapped" in PhpStorm 2024 :
I found in IDE settings :
Which option have I to change ?
0
votes
0
answers
31
views
Infinity Indexing Loop in PhpStorm
I am having trouble searching through my file as the indexing keeps looping.
Stop it but it seems like it is not possible according to PhpStorm docs.
The status bar shows the progress of the indexing ...
0
votes
1
answer
56
views
How to see code differences regarding PHP versions in PhpStorm?
I expect to mark PhpStorm code differences with reference to lower PHP versions, but PhpStorm is not marking anything. I developed a code in PHP 8.2 and expect to see, what I have to change in code ...
-1
votes
1
answer
63
views
PhpStorm freezes with Copilot
In recent months, PhpStorm has shown freezes whenever Copilot is active and suggests some code, especially if I type something different from what is suggested.
Anyone has seen something like this? ...