Phpstorm Configuring the associated PHP manual

Source: Internet
Author: User

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.

A search, I finally found that Phpstorm also has the corresponding function.

One, the self-brought function

Select the function name in the editor, and then in the toolbar view options, external documentation

Alternatively, you can open the online Help document for the function by pressing SHIFT + F1 after selecting the function name.

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, to see the Chinese manual need to change the browser address bar in the en to zh, only line.

Second, the Custom function

So is there any other way?

Later on the Internet search found Phpstorm can also configure the associated external commands, of course, you can define my manual!

The steps are as follows:

1. Menu bar File--Settings

2. Open IDE Settings under External Tools Add Click + Sign Add menu

3. Fill in the corresponding parameter configuration menu as shown

Program:c:\program Files (x86) \google\chrome\application\chrome.exe (path of the browser)

Parameters:-a http://www.php.net/zh/function. $SelectedText $.php (The $selectedtext$ inside indicates the selected text)

The other parameters are self-determined; it is recommended that you cancel the open console so that the Phpstrom does not open the Execute Command window and try to know.

Iii. Methods of Use

How to use it?

Here is how to use: The mouse to select the appropriate function name right-click to see External > PHP manal xxxx This option to open the function in the PHP manual online Help document.

Of course, you can also set shortcut keys for it,

Iv. Custom Offline version

Of course, you can also configure your own PHP manual offline version, unlike the online version is:

1, download a KeyHH.exe, click here to download.

2, the local to have a CHM format PHP manual;

The PHP manual offline version is configured as follows:

Program:d:\_ information \ Toolbars \ Manual \keyhh.exe (or KEYHH, if you have added to the environment variable)

Parameter:-#klink $SelectedText $ d:\_ info \ Toolbars \ Manual \php_enhanced_zh.chm (d:\_ info \ toolbars \ Manuals \php_enhanced_zh.chm The path of the PHP manual)

Well, enjoy your results, isn't it convenient.

Phpstorm Configuring the associated 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.