Haehnchen / idea-php-toolbox

Collections of tools and improvements to make PhpStorm a little bit better
http://phpstorm.espend.de/php-toolbox
MIT License
158 stars 20 forks source link

Function call turned into variable when autocomplated #44

Closed mgdigital closed 8 years ago

mgdigital commented 8 years ago

I found an issue when trying to type the following code:

<?php

$basename = basename($path);

When I try to autocomplete the function call, it prepends a $ turning the code into:

<?php

$basename = $basename($path);

This happens whenever there's a variable with the same name within the scope of a function you're trying to call, which i think would be quite often.

Haehnchen commented 8 years ago

not related to this plugin. phpstorm issue?