The method of formatting Array by phpstorm
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!