Phpstorm Configuring the associated PHP manual pasting
PHP Development I tried a lot of editors, but the most used is phpstorm, but always because the English is too bad, a lot of phpstorm function, are useless.
Recently found that some editors can select the function name, the corresponding shortcut key can be called the browser to open the corresponding function of the online Help document.
Search, I finally found that Phpstorm also has the corresponding function:
toolbar view options, external documentation
By selecting the function name and pressing SHIFT + F1, you can open the online Help document for the corresponding function.
If you select Strtolower in the php file, press SHIFT + F1 browser to open http://www.php.net/manual/en/function.strtolower.php
But find the default associated function help is English page, need to choose their own language ..... Start I think is not phpstorm there can be configured
Replace the http://www.php.net/manual/en/function. PHP function name with the http://www.php.net/manual/zh/function. Name of the function. php
, but did not find ... (If you can please tell!) )
Http://www.cnblogs.com/keygle/p/3281395.html
Later on-line search found that they can configure their own associated external documents, of course, I can define my own manual! (thank google!)
Some of the functional implementation references:
1, http://devnet.jetbrains.com/thread/432741;jsessionid=2B5041C15738ACB0E57DBA28C34C5004 lesson: see English jumped over, There is a complete implementation.
2, http://bbs.bathome.net/thread-23284-1-1.html
The steps are as follows:
1, menu bar File, settings or directly click on the tool bar that wrench icon directly into the Phpstorm settings
2. Open IDE Settings under External Tools Add Click + Sign Add menu
3. Fill in the corresponding parameter configuration menu as shown:
Program: Fill in the path of the browser
Parameters:-a http://www.php.net/zh/function. $SelectedText $.php (The $selectedtext$ inside indicates the selected text)
Other parameters set themselves;
How to use it?
Here is the use of: the mouse to select the appropriate function name right-click on the php_manal this option can be found in the Phpmanual_ online version of the function to open the Chinese online help document.
Of course you can also configure your own phpmanual local version, unlike the online version is:
1, download a KeyHH.exe, address is http://web.archive.org/web/20110106120642/http://keyworks.net/after installation will appear in C:/windows under a KeyHH.exe
2, Local has a CHM format PHP manual;
The Phpmanual local version is configured as follows:
Program:c:\windows\keyhh.exe (or KEYHH)
Parameter:-#klink $SelectedText $ F:\manual\php_manual_zh.chm (F:\manual\php_manual_zh.chm represents the path to the PHP manual)