Home > Development Tools > phpstorm > Share 8 amazing skills from PhpStorm experts

Share 8 amazing skills from PhpStorm experts

藏色散人
Release: 2021-03-16 17:10:54
forward
3256 people have browsed it

The following is the tutorial column of phpstorm to introduce to you 8 amazing skills of PhpStorm masters. I hope it will be helpful to friends in need!

Share 8 amazing skills from PhpStorm experts

8 miraculous skills of PhpStorm masters

PhpStorm is a commercial PHP integrated development tool developed by JetBrains. In improving user efficiency, it can deeply understand the user's coding, provide intelligent code completion, fast navigation and instant error checking. PhpStorm is the best choice for PHP development tools. Proficient in the development skills of PhpStorm can greatly improve development efficiency, and at the same time, you can save more time to accompany your girlfriend (if you have any, of course).

The following are 8 operating tips for efficient development of PhpStorm. Collect them quickly and let the speed of typing code fly~

1. Case conversion --Avoid repeated writing

Share 8 amazing skills from PhpStorm experts

## After selecting the text with the mouse, hold down Ctrl Shift U to convert all letters in the text to uppercase. Press again to convert all to lowercase.

    
Avoid re-typing, super convenient to use.

2. Multi-click selection--the code words will fly

Share 8 amazing skills from PhpStorm experts

After selecting the text with the mouse, press Hold Alt J to select the same text for editing at the same time, and hold Alt Shift J to deselect it.

The name of this shortcut key is: Add Selection for Next Occurrence. You can search in file>Settings and change it to other shortcut keys.
    
Since I understood this method, don’t type the code too fast.

3. Add a custom dictionary--get rid of typos

Share 8 amazing skills from PhpStorm experts## When the word that appears in the code is not When writing an English word, a wavy line will appear below the word, making it difficult to tell whether the word is misspelled or not the word itself. For programmers with obsessive-compulsive disorder, this is simply intolerable.

After selecting the word with the mouse, hold down the Alt Enter key and select Save to project-level dictionary to remove the annoying tilde.

    
From now on, you no longer have to worry about misspelling words when typing code.
4. Display the code line number - workload proof

Share 8 amazing skills from PhpStorm experts## Right-click the left mouse button on the code area For a blank column, just select Show Lines Nimbers. Uncheck it to hide the line numbers.       

You don’t know how capable you are until you open it.


5. Code format optimization - neat

## When writing code, we often only pay attention to logical operation Is it correct? The code format is ignored, which greatly reduces the readability and leads to obsessive-compulsive disorder when reading CodeReview. Share 8 amazing skills from PhpStorm experts Select the code whose format you want to optimize and hold down Ctrl Alt L to automatically optimize all code formats.                                                                

Look neat and comfortable.



6. Code template settings--code automatic completion

Input Fore, click the TAB key to automatically complete the Foreach code, and the variables after AS can also change with the previous variables. This setting can be customized and configured in Settings>Editor>Live Templates, and other codes that need to be completed can also be configured.
      Duplicate codes should be automatically completed .

7. SSH Tools--Link Server

Share 8 amazing skills from PhpStorm experts

Click Tools>Start SSH session..., and select the server to be linked in the subsequent pop-up window. You can link directly. If you have not configured a server, you can select Edit credentials in the pop-up window to add server configuration.
     Say goodbye to Xshell, PhpStorm is enough.

8. FTP Tool--Change Files Remotely

Share 8 amazing skills from PhpStorm experts

# Click Tools>Deployment>Browse Remote Host Can directly connect to remote server ftp. It is very convenient to view logs and modify configuration files. Please note that after modifying the file, you must click ↑ in the upper right corner to save the modifications to the server.

    
Say goodbye to Xftp, PhpStorm is enough.

The above is the detailed content of Share 8 amazing skills from PhpStorm experts. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:segmentfault.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template