php - 这个是哪个ide可以这么整齐
本文介绍了php - 这个是哪个ide可以这么整齐的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
问 题
$dataArray = array(
'id' => $id,
'name' => IReq::get('name','post'),
'condition' => $condition,
'award_value'=> $award_value,
'is_close' => IReq::get('is_close','post'),
'start_time' => IReq::get('start_time','post'),
'end_time' => IReq::get('end_time','post'),
'intro' => IReq::get('intro','post'),
'type' => 1,
'award_type' => 0,
'user_group' => $user_group_str,
);
解决方案
phpstorm 可以设置这个
Settings-->Editor-->Code style-->PHP-->Other
给
Align key-value pairs
前面打上勾
这篇关于php - 这个是哪个ide可以这么整齐的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文