Skip to main content

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.

0 votes
0 answers
15 views

PhpStorm overwrite " (quote) when it already exists instead of adding another

I have searched for this and it appears to be a common complaint that has yet to be solved - When typing in PhpStorm, the auto complete generates the ="" for you, which can be quite helpful: ...
Luke Pittman's user avatar
0 votes
0 answers
27 views

Laravel Idea type-hints ids as int even if using UUIDs

Could not find any information on this issue. I'm using PhpStorm's Laravel Idea plugin for my Laravel projects. All of our models use Illuminate\Database\Eloquent\Concerns\HasUuids;, and our ...
Phil Tune's user avatar
  • 3,225
0 votes
0 answers
13 views

Running dialog “Reformat code” some features do not work

With PphStorm 2024.1 when I run dialog “Reformat code” some features do not work as I expect : I expected file declarations at top would be sorted - I have no this : In Editor->Code Style->...
mstdmstd's user avatar
  • 2,941
-3 votes
1 answer
32 views

PhpStorm showing red line on code where cognitive complexity is high. How to remove it?

In the PhpStorm IDE I am getting a red line on all functions where Cognitive Complexity is high. It is good to be known that there is high cognitive complexity, but in my case it is annoying to see ...
Chauhan Mukesh's user avatar
0 votes
1 answer
24 views

PhpStorm reloading by itself

PhpStorm reloads itself periodically by closing all my tabs and folders. I'd like to describe my problem more, but I don't have any leads. I'm on the latest version of PhpStorm (Build #PS-241.18034.69,...
Julien's user avatar
  • 1
0 votes
0 answers
24 views

JSDoc auto-generation in PhpStorm - no empty lines before parameters

Whenever auto-generating a JSDoc in PhpStorm, it adds an extra empty line before the parameters, presumably for description, however description is not needed all the time. I would like to set it so ...
bulanmaster's user avatar
0 votes
0 answers
32 views

Xdebug 3.3.x no longer triggering on breakpoint in symlink'ed file of PhpStorm project

I have a local WAMP stack with Xdebug 3.2 that I have been using with a PhpStorm project (PHP, Joomla) where some of the folders of the Joomla directory are symlink'ed to my own development ...
Irata's user avatar
  • 101
0 votes
0 answers
16 views

How to change background color of error declaration?

In PhpStorm 2024.1 when having error declaration in PHP code is colored in red yellow color, as below : Where in settings can I change background color of this block, as it very similar of white ...
mstdmstd's user avatar
  • 2,941
0 votes
0 answers
22 views

Permission error with Arch Linux and Laravel

I'm creating a Laravel project, and I'm struggling with permissions. When I first create the project through a terminal command, I have to change the root folder permission to 777 because I can't ...
Telexx's user avatar
  • 551
0 votes
0 answers
53 views

PhpStorm - Parameter Type hints not appearing

Currently I've all Inlay Hints enabled in my PhpStorm settings: But there are no type hints appearing beside the parameters on functions. I'm only seeing the Usages and Author as a hint above the ...
chdonncha's user avatar
  • 535
-6 votes
0 answers
33 views

How can I create a laravel project using PHP storm and how can I use the laravel libraries like auth and PHP spreadsheet in PHP storm

Im working on a laravel project but I want to know how to work with PHP storm like making sure the laravel/UI package and PHP spreadsheet libraries are incorporated I tried importing a project I did ...
Francis Kaz's user avatar
0 votes
0 answers
26 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....
Dariusz Rup's user avatar
-1 votes
0 answers
32 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 ...
T.A. Farabi's user avatar
0 votes
1 answer
41 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 ...
iRaS's user avatar
  • 2,058
-1 votes
1 answer
47 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 ...
Shodiyev Jasurbek's user avatar

15 30 50 per page
1
2 3 4 5
506