Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

The method of formatting Array by phpstorm

Shulou Source: shulou.com Published: 2022-06-02 17:59:58 10月03日 Update

Editor to share with you the method of phpstorm formatting array, I hope you will learn a lot after reading this article, let's discuss it together!

In general, the ideal state of our array after formatting is as follows:

$categories_faker = ["school gate", "library", "dormitory", "express delivery", "canteen", "building 1", "building 2", "laboratory",]

So how do you set phpstorm to make the formatted back group appear in the same format as above?

File = > Settings = = > Code Style = = > PHP

Find the Array initializer under Wraping and Braces

Set up

Just click on Apply App above.

After reading this article, I believe you have a certain understanding of the method of phpstorm formatting array, want to know more about it, welcome to follow the industry information channel, thank you for reading!

Tags: Format array method building article book library such as above finished lab dormitory situation more school gate status ideal knowledge industry information information channel Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno MariaDB Shulou Technology MySQL OPPO Reno Huawei