In phpstorm, there is a keyboard shortcut ctrl + Q - showing quick function documentation. If you put the cursor on the function and press the key combination, a modal window will pop up with a description of the function and a link to php.net

Documentation in the window in English, the link also leads to English. version of the site php.net.

Is it possible to somehow change the Russian version of the quick documentation, or at least change the links so that they lead to the Russian version?

    1 answer 1

    Links and text of the documentation is not drawn up from the network. They are stored in phpStorm itself as regular phpDoc, so you can’t just configure it.

    Example /PhpStorm-145.970.40/plugins/php/lib/php.jar!/stubs/standard/standard_1.php GitHub: https://github.com/JetBrains/phpstorm-stubs

    You can fork / clone the repository, make the desired changes and tell phpStorm the path to the new files in Languages & Frameworks / PHP / Advanced settings

    It's easier to put some extension in the browser to redirect to ru version of php.net

    • phpstorm 2016 - no stubs folder. And in the settings there is no Advanced settings)) - Jean-Claude
    • v145.970.40 - this is exactly 2016.1.1 - xEdelweiss
    • Advanced settings easy to miss - it is minimized at the bottom. And to open the file - go to the declaration of the built-in function. It is packed in php.jar . - xEdelweiss