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.

phpstorm
0 votes
0 answers
17 views

PhpStorm Terminal path

I try to copy paste the files and folder from mini-capstone-vue to mini-capstone. In mini-capstone I open the terminal and the path is PS C:\xampp\htdocs\mini-capstone-vue> My ask is why is the ...
John Louie Navales's user avatar
0 votes
1 answer
21 views

How to hide the default magnifier in PhpStorm / IntelliJ IDEA?

I am tying to hide this magnifier section in PhpStorm. But I can't. Can anyone please help me with this? I tried to fix this in the settings screen, but I can't find anyone. I face the same issue in ...
Tech Tamizhan's user avatar
1 vote
0 answers
45 views

Ctrl + Click go to JavaScript definition not working PhpStorm 2024

After updating PhpStorm to 2024.1 it's no longer possible to go to the declaration of a JavaScript function by Ctrl + Click Broader context in the file.
user1451759's user avatar
-1 votes
1 answer
38 views

Switcher action does not work any more in PhpStorm

I add the Switcher action in PhpStorm but it doesn't work any more. I have this setting Ctrl+Tab: I have also verified my Tab key mapping as shown in Tab and Enter key do not work any more in the ...
COil's user avatar
  • 7,567
0 votes
0 answers
31 views

Formatting issues with PhpStorm for React/RN

I'm having issues with my PhpStorm settings where it's wrapping on save. I'm not seeing any setting that would allow me to prevent this. I've confirmed it's not Prettier or ESLint causing the issue. ...
Pwntastic's user avatar
  • 451
0 votes
0 answers
106 views

Angular 17 template code completion not working in PhpStorm 2024.1.1

I migrated project to Angular 17.3.6. Also updated PhpStorm to 2024.1.1 and there is recent Angular plugin. I cannot get IDE to provide code completion in Angular templates. Also it doesn't recognize ...
Nebojsha's user avatar
  • 381
0 votes
0 answers
96 views

How in PhpStorm to show info about current git branch?

If there is a way in PhpStorm 2024 to show info about current git branch and number of files modified in the branch, maybe in status bar? Working with git in PhpStorm I prefer make all commands under ...
mstdmstd's user avatar
  • 2,941
0 votes
1 answer
97 views

Continuous Indexing Issue in PhpStorm

I am reaching out regarding a persistent issue I've been encountering with continuous indexing in PhpStorm. For the past 24 hours, PhpStorm has been stuck in an indexing loop, causing significant ...
Sayali P's user avatar
0 votes
1 answer
36 views

How in PhpStorm to hide/show Git remarks?

How can I get PhpStorm to hide/show(maybe on some hot key) Git remarks in code editor, like : PhpStorm 2024.1
Petro Gromovo's user avatar
1 vote
1 answer
60 views

How to add return types for EntityRepository in PhpStorm?

I have a bunch of repositories, and I often use methods like findOneBySomeField, findByAnotherField. These methods are not present in repository class but Doctrine can properly work with this. And ...
Андрей Яндуганов's user avatar
1 vote
0 answers
93 views

How in PhpStorm 2024.1 to make Sticky lines marker better visible?

Sticky lines in PhpStorm 2024.1 seems interesting feature, but trying work with it I would like : To make Sticky lines more visible and distinct, as I can hardly see it : also if there is a way to ...
mstdmstd's user avatar
  • 2,941
0 votes
0 answers
19 views

Repetition in Structural Replace in PhpStorm

I'm working on quite old project and I would like to do some small refactoring. I have an if statement with condition like if ($a == 1 || $a == 2 || b == 3) and I want to replace it (or better write ...
LiTe's user avatar
  • 176
0 votes
0 answers
22 views

IntelliJ: move caret to begin/end of variable shortcut

Is there shortcut to move caret to begin/end of variable in IntelliJ? I mean entire variable, not word like Ctrl + Arrow do. $foo['foo']['foo']['foo']['foo']
Sruj's user avatar
  • 1,197
0 votes
1 answer
99 views

PhpStorm 2024.1: CSS support not working with Laravel/DDEV project on my Mac [duplicate]

I am using PhpStorm 2024.1 (new UI) on a Mac with Apple Silicon. I am working on a Laravel 11 project with DDEV/Docker. From my .blade.php files I cannot jump anymore to any CSS classes in the files ...
iquellis's user avatar
  • 1,033
1 vote
0 answers
72 views

Using git to deploy and pushing updates to Laravel production site

I guess a similar question has been asked before more than once, but I still hope it's OK to post it here. I have found a lot of information by googling, but not exactly what I am looking for. Some ...
irrbloss's user avatar
  • 457
-3 votes
1 answer
117 views

Can I run the PHPStan setup script manually?

I am using the devspaces tool as part of a project with a few dozen developers. It's great, but in order to make certain things work locally in my IDE, I still run Composer on my local machine ...
Viscountess of the Junkyard's user avatar
0 votes
1 answer
24 views

IntelliJ change the scrollbar to be like Mac scrollbar but on Windows

Is there any reference for IntelliJ IDE to create a plugin to change the ugly scrollbar of Windows to be like Mac styled scrollbar, set border radius, width and height, color, etc? Got a round around ...
user2697883's user avatar
0 votes
1 answer
29 views

How in PhpStorm selecting some var in focus to add/remove “$” symbol in the begging of the var?

Is there a way in PhpStorm for selecting some var in focus to add/remove “$” symbol in the begging of the var? This functionality seems very good in declaring vars like : protected ContactUs $...
Petro Gromovo's user avatar
3 votes
2 answers
225 views

PhpStorm CSS completion stopped working (Ctrl + Space gives me no suggestions) in Blade files

I am working on a Laravel project with vanilla Blade templates, jQuery & Bootstrap. After the recent update, I am no longer getting CSS class auto-completions for Bootstrap in my Blade view: I ...
Latheesan's user avatar
  • 24k
0 votes
0 answers
34 views

Error running phpstorm on windows 7 32 bit OS

I have installed phpstorm on my windows7 32 bit laptop, clicked on finish. However when I want to open the phpstorm, it won't open. Php version is 21.14 Deleting and reinstalling the phpstorm version ...
wumi's user avatar
  • 13
0 votes
0 answers
23 views

JetBrains IDE Soft-wrap these file syntax question

I am fairly new to the PhpStorm IDE and I want to be able to auto soft wrap all editors so I am trying to configure the Soft-wrap these files: option. The instructions below the text box state "...
Will Armstrong Sr.'s user avatar
0 votes
0 answers
30 views

PhpStorm doesn't detect undefined variables at all

PhpStorm will not detect undefined variables in my PHP code. No idea, why! As I remember, not defined variables have been detected in past, but not any more. Any ideas why? Here is my configuration ...
tklustig's user avatar
  • 503
0 votes
1 answer
339 views

How do I set up Xdebug in PhpStorm with Laravel Sail Docker on WSL2 without Docker Desktop

I am trying to debug Laravel Sail which is run via Docker on WSL2. I want to do this without Docker Desktop as this now requires a licence to use in a corporate setting. I have been following this ...
funkimunky's user avatar
0 votes
2 answers
204 views

AppComponent is not declared in any Angular module PhpStorm inspection error not going away

I generated a brand new angular application but I get "X is not declared in any Angular module" on every component I create. Even the AppComponent that is generated by Angular. I have the ...
DeveloperLewis's user avatar
0 votes
0 answers
43 views

PhpStorm - Vue: similar "ref" name as component name gives "Unused import"

PhpStorm behaves unstable in terms of recognising used/unused imports: when having a ref that is written the same as the component's name but only differs in upper/lowercase differences, this ...
Julesezaar's user avatar
  • 3,218
0 votes
0 answers
81 views

PhpStorm Xdebug hangs with API platform routes

When using any route defined from an API Platform entity, Xdebug hangs. I'm on a Linux host. My backend docker image is dunglas/frankenphp. zend_extension=xdebug.so xdebug.mode=develop,debug xdebug....
yhu420's user avatar
  • 587
0 votes
0 answers
79 views

PhpStorm: database host not accessible when in docker

Create simple Laravel application and up Laravel Sail. Here is how database service looks in Docker Desktop: Then try (unfortunately) to access this database host from PhpStorm Database Tools: At ...
vbulash's user avatar
  • 109
0 votes
1 answer
109 views

Can I debug PHPUnit tests in IntelliJ/PhpStorm from devspace or kubectl?

I have many microservices running locally in a kubernetes/devspace environment. Based on this and this, IntelliJ and PhpStorm don't support running PHPUnit tests from within devspace or kubectl. So in ...
mikebridge's user avatar
  • 4,457
0 votes
0 answers
33 views

PhpStorm comment settings per filetype

In an actual PHP file when I use Ctrl + / it actually puts two slashes in front of the code as expected: //. However in an .env file when I use Ctrl + / it will put a ; in front of the code instead of ...
yourivdloo's user avatar
0 votes
0 answers
42 views

PhpStorm: notebook often hangs up upon displaying context menu in working area

I'm troubling for about a year with frequent hangs of my notebook at the moment of displaying context menus in PhpStorm while coding in main window area. Mainly it happens when I press Alt+Enter and ...
Oleg Bolden's user avatar

15 30 50 per page