RAPIKAN.
GitHub

Blade 配置

Engine:

Prettier (Blade Plugin)


Version:

v3.2.2

Execution:

自动下载

Rapikan 将在首次运行时自动下载此格式化程序。无需手动安装。

rapikan.blade.phpFormatting
string

格式化 Blade 中嵌入的 PHP 片段


默认值

"safe"

选项

offsafeaggressive
rapikan.blade.echoSpacing
string

Blade echo 语句内部的间距


默认值

"space"

选项

preservespacetight
rapikan.blade.directiveBlockStyle
string

指令块的格式化样式


默认值

"preserve"

选项

preserveinline-if-shortmultiline
rapikan.blade.voidElementSlash
string

在空元素上打印尾部斜杠


默认值

"always"

选项

alwaysneverpreserve
rapikan.blade.directiveCase
string

Blade 指令名称的大小写规则


默认值

"preserve"

选项

preservecanonicallower
rapikan.blade.blankLinesAroundDirectives
string

控制指令分支之间的空行


默认值

"preserve"

选项

preservealways

输出示例