subliem 有没有什么插件可以整理 blade 视图代码的插件?

Laravel的视图,文件后缀是.blade.php,有没有什么插件可以用来整理这个格式的?我现在只能用自带的Ctrl+Alt+F简单整理,原先的htmlPretty插件排不上用场啊,设置里面有个rules:

    "global_file_rules":
    {
        // Be sure to include the `html` key in your user settings to be able
        // to prettify html files.
        "html":
        {
            "allowed_file_extensions": ["htm", "html", "xhtml", "shtml", "xml", "svg", "php"],
            "allowed_file_syntaxes": ["html", "xml"],
            "disallowed_file_patterns": [""]
        },

但是这个设置之后不起作用,查看控制台,错误消息如下:

[HTMLPrettify] Using editor text temp file: True
[HTMLPrettify] Global file rules: {"html": {"disallowed_file_patterns": [""], "allowed_file_syntaxes": ["html", "xml"], "allowed_file_extensions": ["htm", "html", "xhtml", "shtml", "xml", "svg", "php"]}, "json": {"disallowed_file_patterns": [], "allowed_file_syntaxes": ["json"], "allowed_file_extensions": ["json", "babelrc", "eslintrc", "jshintrc", "jsbeautifyrc", "sublime-settings", "sublime-keymap", "sublime-commands", "sublime-menu"]}, "js": {"disallowed_file_patterns": [], "allowed_file_syntaxes": ["javascript", "ecma"], "allowed_file_extensions": ["js"]}, "css": {"disallowed_file_patterns": [], "allowed_file_syntaxes": ["css", "sass", "less"], "allowed_file_extensions": ["css", "scss", "sass", "less"]}}
[HTMLPrettify] Respecting .editorconfig files: True
[HTMLPrettify] Editor file syntax: Packages/Laravel Blade Highlighter/blade.sublime-syntax
[HTMLPrettify] Editor indent size: ?
[HTMLPrettify] Editor indent with tabs: ?
[HTMLPrettify] Editor text file path: D:\Program Files\Sublime Text 3\Data\Packages\HTML-CSS-JS Prettify\6192c0b6-70fd-432e-89d0-95b563eaf84a
[HTMLPrettify] Editor text file contents: null
[HTMLPrettify] Original file path: D:\phpStudy\WWW\BCCAdminV1.0\resources\views\admin\customer\createCustomer.blade.php
[HTMLPrettify] Config extra lookup paths: D:\Program Files\Sublime Text 3\Data\Packages\User,D:\Program Files\Sublime Text 3\Data\Packages\HTML-CSS-JS Prettify
[HTMLPrettify] Computed extra lookup paths for .jsbeautifyrc: ["D:\\phpStudy\\WWW\\BCCAdminV1.0\\resources\\views\\admin\\customer","D:\\phpStudy\\WWW\\BCCAdminV1.0\\resources\\views\\admin","D:\\phpStudy\\WWW\\BCCAdminV1.0\\resources\\views","D:\\phpStudy\\WWW\\BCCAdminV1.0\\resources","D:\\phpStudy\\WWW\\BCCAdminV1.0","D:\\phpStudy\\WWW","D:\\phpStudy","D:","C:\\Users\\10375","D:\\Program Files\\Sublime Text 3\\Data\\Packages\\User","D:\\Program Files\\Sublime Text 3\\Data\\Packages\\HTML-CSS-JS Prettify"]
[HTMLPrettify] Attempting to parse file: D:\Program Files\Sublime Text 3\Data\Packages\HTML-CSS-JS Prettify\.jsbeautifyrc.defaults.json
[HTMLPrettify] Computed prettify options: {"html":{"end_with_newline":false,"eol":"\n","indent_level":0,"indent_char":" ","indent_size":4,"indent_with_tabs":false,"max_preserve_newlines":0,"preserve_newlines":true,"wrap_line_length":0,"indent_handlebars":false,"indent_inner_html":false,"indent_scripts":"keep","unformatted":["a","span","img","code","pre","sub","sup","em","strong","b","i","u","strike","big","small","pre","h1","h2","h3","h4","h5","h6"],"css":{"newline_between_rules":true,"selector_separator":" ","selector_separator_newline":true},"js":{"brace_style":"collapse-preserve-inline","break_chained_methods":false,"comma_first":false,"e4x":false,"jslint_happy":false,"keep_array_indentation":false,"keep_function_indentation":false,"operator_position":"before-newline","space_after_anon_function":false,"space_before_conditional":true,"space_in_empty_paren":false,"space_in_paren":false,"unescape_strings":false}},"css":{"end_with_newline":false,"eol":"\n","indent_level":0,"indent_char":" ","indent_size":4,"indent_with_tabs":false,"max_preserve_newlines":0,"preserve_newlines":true,"wrap_line_length":0,"newline_between_rules":true,"selector_separator":" ","selector_separator_newline":true},"js":{"end_with_newline":false,"eol":"\n","indent_level":0,"indent_char":" ","indent_size":4,"indent_with_tabs":false,"max_preserve_newlines":0,"preserve_newlines":true,"wrap_line_length":0,"brace_style":"collapse-preserve-inline","break_chained_methods":false,"comma_first":false,"e4x":false,"jslint_happy":false,"keep_array_indentation":false,"keep_function_indentation":false,"operator_position":"before-newline","space_after_anon_function":false,"space_before_conditional":true,"space_in_empty_paren":false,"space_in_paren":false,"unescape_strings":false},"json":{"end_with_newline":false,"eol":"\n","indent_level":0,"indent_char":" ","indent_size":4,"indent_with_tabs":false,"max_preserve_newlines":0,"preserve_newlines":true,"wrap_line_length":0,"brace_style":"expand","keep_array_indentation":false,"unescape_strings":false}}
[HTMLPrettify] Unsupported file type

请问有没有好的方法解决,blade模板代码整理的方法呢?

ShuiPingYang
《L01 基础入门》
我们将带你从零开发一个项目并部署到线上,本课程教授 Web 开发中专业、实用的技能,如 Git 工作流、Laravel Mix 前端工作流等。
《G01 Go 实战入门》
从零开始带你一步步开发一个 Go 博客项目,让你在最短的时间内学会使用 Go 进行编码。项目结构很大程度上参考了 Laravel。
讨论数量: 0
(= ̄ω ̄=)··· 暂无内容!

讨论应以学习和精进为目的。请勿发布不友善或者负能量的内容,与人为善,比聪明更重要!