Phpstorm Configuring the associated PHP manual

Source: Internet
Author: User

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)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.