I have been using PhpStorm for a long time, almost 8 years. Since 2012, to be more precise. That was the third edition. A lot has happened during that time, and a lot has changed. Of course. You learn a lot every day. This post is a summary of my 8 years of experience with PhpStorm, and my best Settings make you a faster developer and keep you focused on the more important things. My official group click here. If you don’t care about the exact Settings and their purpose, you can download my snapshot (including my personal GitHub and Material themes) and Import it into PhpStorm via File > Import Settings. Just scroll to the end of this article to find what you need. 700 fans welfare arrangements for a wave, work preparation, you can take

10 years of architects share advanced PHP architecture information to help everyone achieve 30K

zhuanlan.zhihu.com] (zhuanlan.zhihu.com/p/340304217)

My Best Settings I will only show you the Settings you need to change, they are different from the default Settings. [] deselect or [x] select. View > Appearance [] Toolbar [] Tool Window Bars [] Status Bar [] Navigation Bar Sets Appearance & Behaviour > Appearance [] Animate Windows [] Show Tool Window bars remove more useless status bars [] Show Tool Window numbers Appearance & Behaviour > System Settings [] Reopen last project on startup So I want to choose which project should be opened at the beginning [] Confirm Application Exit If I want to exit the application, PhpStorm allows you to Open the project in the same window as the current project. This is 99% not what you want. Appearance & Behaviour > File Colors [] Enable File Colors [] Use in Editor Tabs [] Use in Project View I don’t know. These options remove the file color and background color from the label and directory count for special folders such as node_modules or tests. Shortcuts Basically I use the default shortcuts, but I modified the following shortcuts to improve my productivity. Cmd on a macbook is the equivalent of Alt on Windows.

Ctrl + V Split Vertically Ctrl + H Split Horizontally. Cmd + T Run… If you are in a test file, just press this shortcut in the method to test the method. Shift + Cmd + T Run This shortcut key can be used anywhere in the program. It just runs the last test again. Ctrl + W Hide Active Tool Window When you run a test, the test Window opens. This can also be useful if you use terminals in PhpStorm. With this shortcut, you can turn it off at any time. Cmd + 2 Select in Project View you probably know this by now. Use Cmd + 1 to switch the sidebar. I still often need to jump into the sidebar item tree. I often use Shift + Shift to search everything, or Cmd + O to search classes. So I never use a sidebar. However, this shortcut is useful if you want to access the menu using the currently open file. Editor > General

[] Enable Drag’n’Drop functionaliy in Editor If you can’t help it, it can move code around with the mouse, which happens a lot, even if you don’t want it. [ ] Show notification after reformat code action [ ] Show notification after optimize imports action [x] Soft-wrap-files This is a really cool feature. When you edit a Markdown file, lines are never wrapped. With this option, you can change it. They’ve got him wrapped up now. Strip trailing Spaces on Save: All This command removes All trailing Spaces in each individual Save command (PhpStorm saves automatically if tabs are not used). [] Always keep trailing Spaces on caret line [x] Ensure line feed at file end on save use this option to Ensure a blank line at the end of the file. Editor > General > Appearance

[] Show Hard wrap and Visual guides [] Show Code lens on Scrollbar hover This will remove the “preview” of code when you hover over a specific location on the scrollbar. Editor > General > Breadcrumbs

[] Show Breadcrumbs We don’t need them. So we disable it. We like a clean user interface. Editor > General > Code Completion

[x] Show full method signatures We want to see everything when the code for a method is finished booting. Editor > General > Code Folding

Personally, I don’t like any code folding because I want to see what I’ve written.

[ ] Show coding folding outline

[ ] File header

[ ] Imports

[ ] HTML ‘style’ attribute

[ ] XML entities

[ ] Data URIs

[ ] Imports

Editor > General > Editor Tabs

Appearance: None If you don’t use tabs, I recommend using this setting. You can use Cmd + E to get recent files or Shift + Shift to do a quick search. Therefore, there is no need to display these tabs.

Editor > General > Smart Keys > PHP

[] Enable smart function parameters completion [] Select variable name without ‘ I don’t want it to select ‘Sign ondoubleclick’ if I doubleclick the variable, I don’t want it to select ‘SignonDoubleclick If I doubleclick the variable, I don’t want it to select the symbol, so I don’t want to enable that setting.

Editor > General > Font

This configuration is more personalized, you can choose according to their own preferences. Here’s what works for me

Font: Menlo

Size: 15

Line spacing: 1.9

Editor > General > Color Scheme > General

If, like me, you don’t like these method delimiters, you can disable them. There is currently no way to disable the use statement delimiter, but there is a workaround by simply unsetting the foreground color for the following entries

[ ] Method separator color, Foreground

Editor > General > Code Style

Line Seperator: Unix and macOS

Editor > General > Inspections

You may wonder why I didn’t explain it. Making lists is very complicated. I’ve made a few tweaks here for Laravel so that you have a clean environment instead of annoying underlining. My spell check is also available in the download package. If you have any questions, please let me know.

Editor > General > Inlay Hints

[] Show hints for: I don’t need to Show hints.

Languages & Frameworks > PHP > Debug

[ ] Force break at first line when no path mapping specified [ ] Force break at first line when a script is outside the When using Laravel Valet in project, you should cancel both. Otherwise, XDebug will start debugging in Valet.

Tools > Web Browsers

[] Show Browsers popup in the editor do you remember all previews with browser miniatures? You can disable it.

Conclusion The IDE is just as clean and intuitive as Sublime, but with more IDE integration than Sublime. You can download my full version here and use File > Import Settings to Import the Settings.

The package also includes my custom GitHub and Material themes. My Material theme is not as colorful as the original theme. It’s more concise so that you can focus. And added Laravel specific inspection rules. If you don’t use it, because of the Laravel Facade, in most cases a lot of the content will be marked orange or red lines, making it difficult for the IDE to recognize everything. Am I missing something? If you have any other practical tips that can help me make PhpStorm better. Let me know. Key interview questions:

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

zhuanlan.zhihu.com] (zhuanlan.zhihu.com/p/340637391)

I hope the above content can help you. Many PHPer will encounter some problems and bottlenecks when they are advanced, and they have no sense of direction when writing too many business codes. I have sorted out some information, including but not limited to: Distributed architecture, high scalability, high performance, high concurrency, server performance tuning, TP6, Laravel, YII2, Redis, Swoole, Swoft, Kafka, Mysql optimization, shell scripting, Docker, microservices, Nginx, etc.