PhpStorm configuration Association php Manual

Source: Internet
Author: User
PhpStorm configuration is associated with the php manual. I have tried many editors in php development, but phpStorm is the most used. However, it has never been used because of poor English and many phpStorm functions ..

Recently, it was found that some editors can select the function name and use the corresponding shortcut keys to call the browser to open the online help document for the corresponding function.

After some searching, I finally found that phpStorm also has the following functions:

Toolbar view option-> external documentation

That is, after selecting the function name, press shift + f1 to open the online help document for the corresponding function.

For example, in the PHP file, select strtolower and press shift + f1 to open the http://www.php.net/manual/en/function.strtolower.php.

However, I found that the help of the default associated function is an English webpage. You need to select your own language... and I want to see if phpStorm can be configured.

Replace http://www.php.net/manual/en/function.. .php with http://www.php.net/manual/zh/function.. .php

, But no... (if you can tell me !)

 

Later, I searched the internet and found that I could configure relevant external documents by myself. Of course, I could define my manual by myself! (Thanks to google !)

For some functions, see:

1, http://devnet.jetbrains.com/thread/432741;jsessionid=2B5041C15738ACB0E57DBA28C34C5004 lessons: to see the English is skipped, there is a complete implementation.

2. http://bbs.bathome.net/thread-23284-1-1.html

The procedure is as follows:

1. Choose File> settings on the menu bar or click the wrench icon on the toolbar to directly go to phpStorm settings.

2. Open External Tools under IDE settings and click + Add menu

 

3. Fill in the corresponding parameter configuration menu as shown in:

Program: Enter the path of the browser

Parameters:-a http://www.php.net/zh/function.?selectedtext=.php ($ SelectedText $ in it indicates the selected text)

Set other parameters;

 

 

How to use it?

Right-click the corresponding function name and you will be able to see the php_manal option. Click phpmanual _ online to open the online help documentation for the function.

Of course, you can also configure the phpmanual local edition by yourself. What is different from the online version is:

1. Download a KeyHH.exe address that will show a KeyHH.exe in C:/Windows after the http://web.archive.org/web/20110106120642/http://keyworks.net/ is installed

2. There is a local php manual in chm format;

Phpmanual local version configuration is as follows:

Program: C: \ Windows \ KeyHH.exe (or KeyHH)

Parameter:-# klink $ SelectedText $ F: \ manual \ php_manual_zh.chm (F: \ manual \ php_manual_zh.chm indicates the path of 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.