在PhpStorm中如何在变量和运算符之间留出空间?
我使用的是Mac和Windows,但Mac和Windows上的代码重新格式化工作方式不同 在Mac上在PhpStorm中如何在变量和运算符之间留出空间?,phpstorm,reformat,Phpstorm,Reformat,我使用的是Mac和Windows,但Mac和Windows上的代码重新格式化工作方式不同 在Mac上 return response()->json([ 'access_token' => $jwtToken, 'token_type' => 'bearer', 'expires_in' => Auth::guard()->factory()->getTTL() * 60 ]); 在窗户上 return response()-
return response()->json([
'access_token' => $jwtToken,
'token_type' => 'bearer',
'expires_in' => Auth::guard()->factory()->getTTL() * 60
]);
在窗户上
return response()->json([
'access_token' => $jwtToken,
'token_type' => 'bearer',
'expires_in' => Auth::guard()->factory()->getTTL() * 60
]);
我想像在Mac上一样重新格式化代码
如何调整代码重新格式化规则?设置->编辑器->代码样式->PHP->换行和大括号->数组初始值设定项->对齐键值对
谢谢!我还选中了分配语句中的对齐连续分配!!