Questions tagged as 'phpstorm'

1
answer

PHPStorm, How to change the username?

Every time we create a new file (file) it gives us a commented header with our user nickname. How do I rename the User? I searched everywhere in the tool and did not find it! <?php /** * Created by PhpStorm. * User: claud * Date: 18/10/2...
asked by 18.10.2016 / 05:18
2
answers

Color of HTML code inside string in PhpStorm

When I insert an echo or a PHP variable that receives a string with HTML code, PhpStorm does not stay in the default color that would be all yellow, as in Sublime for example, and this ends up confusing enough when parsing the code. Example:...
asked by 28.10.2014 / 13:49
1
answer

PHPStorm displays a message using "include" and "require"

For my IDE PHPStorm reason, this message appears with include and require :    Dynamic include expression 'require_once $ file' is not analyzed.   Include expression is not resolved.     
asked by 29.05.2016 / 22:09
1
answer

regex to replace the $ _POST ['field'] string with $ this-input-post ('field') of codeigniter

I am trying to find a way to replace the $_POST['INPUT'] by $this->input->post('INPUT') of codeigniter , in my editor phpstorm , using replace with the regex option enabled. > So what's in quotation marks that is the na...
asked by 01.06.2017 / 17:30
1
answer

Uncheck the PHPStorm

How do I remove the green markings of the words and spacings as the image below the PHPStorm, because for me it gets polluted and disrupts the development.     
asked by 17.04.2017 / 15:01
1
answer

What shortcut keys in PHPStorm to remove Namespaces that are not in use in a Class?

What is the shortcut in phpstorm that cleans namespaces that are not in use in a class, I saw in a video lesson the teacher talking about a key combination and automatically cleaned the namespaces use App .... etc, but did not say what th...
asked by 27.12.2016 / 22:31
1
answer

PHPStorm - How to Create a Patch File Ignoring Blank Spaces

I can generate a Patch file with the changes to be committed in git. How can I generate this Patch file, bypassing white spaces just like I do on the View Changes screen? Some old files have tabs instead of 4 spaces and some white space le...
asked by 01.04.2015 / 21:45
0
answers

Configure xdebug phpstorm

I have Xampp + xdebug installed and working on netbeans, however I started to use the phpstorm ide and it does not work at all my php.ini looks like this: [XDebug] zend_extension = "php_xdebug.dll" zend_extension_ts = "./php/ext/php_xdebug.dll...
asked by 21.12.2016 / 22:15
1
answer

How to make the IDE communicate with xDebug inside a container (docker)?

I have a container network created with docker-compose . The xDebug settings are passed in part by the .yml file and partly by a .ini file consumed by PHP. I know xdebug is installed correctly in the container because it a...
asked by 13.03.2017 / 04:28
2
answers

PhpStorm has stopped recognizing some .php files

After I rename a php file, PhpStorm no longer recognizes this file as a .php file. The file goes without the colors, does not give suggestions, in other words, it remains as a generic file. The image below shows status.php in this case. How do I...
asked by 04.07.2016 / 16:42