{"id":40732,"library":"coc-blade-formatter","title":"coc-blade-formatter (archived)","description":"A coc.nvim extension providing Laravel Blade template formatting using blade-formatter (v0.5.3). This project is archived and no longer maintained; users should migrate to the successor coc-blade. It formats .blade.php files with configurable indent size, wrap line length, and wrap attributes. Requires the filetype to be set to 'blade' and coc.nvim >= 0.0.80. The extension can format via CocAction('format') or the :CocCommand bladeFormatter.run.","status":"deprecated","version":"0.5.3","language":"javascript","source_language":"en","source_url":"https://github.com/yaegassy/coc-blade-formatter","tags":["javascript","php","blade-formatter","blade","laravel","vim","neovim"],"install":[{"cmd":"npm install coc-blade-formatter","lang":"bash","label":"npm"},{"cmd":"yarn add coc-blade-formatter","lang":"bash","label":"yarn"},{"cmd":"pnpm add coc-blade-formatter","lang":"bash","label":"pnpm"}],"dependencies":[{"reason":"Required runtime host for the extension, engine coc ^0.0.80","package":"coc.nvim","optional":false}],"imports":[{"note":"This is a coc.nvim extension, not a Node.js library. It provides commands accessible via coc.nvim, not exports.","wrong":"attempting to require('coc-blade-formatter')","symbol":"bladeFormatter.run","correct":"run via :CocCommand bladeFormatter.run"},{"note":"Formatting is triggered through coc.nvim's built-in format actions.","wrong":"trying to call format function from a script","symbol":"Format on save","correct":"Use coc.nvim settings: 'coc.preferences.formatOnSaveFiletypes': ['blade']"},{"note":"Configuration options are set via coc.nvim's JSON settings file.","wrong":"importing config from the extension package","symbol":"Configuration","correct":"Set in coc-settings.json: { 'bladeFormatter.enable': true }"}],"quickstart":{"code":"\" Install coc-blade-formatter with vim-plug\nPlug 'yaegassy/coc-blade-formatter', {'do': 'yarn install --frozen-lockfile'}\n\n\" In your .vimrc, ensure filetype is set\nau BufNewFile,BufRead *.blade.php set filetype=blade\n\n\" Then use :CocCommand bladeFormatter.run to format the current file\n","lang":"vim","description":"Shows installation via vim-plug, filetype setup, and usage of the format command."},"warnings":[{"fix":"Uninstall coc-blade-formatter and install coc-blade (see GitHub).","message":"This project is archived and no longer maintained. Please migrate to coc-blade.","severity":"deprecated","affected_versions":">=0.0"},{"fix":"Add 'au BufNewFile,BufRead *.blade.php set filetype=blade' to vimrc.","message":"The extension will not work unless the filetype is set to 'blade'.","severity":"gotcha","affected_versions":">=0.0"},{"fix":"Update coc.nvim to >= 0.0.80.","message":"coc-blade-formatter depends on coc.nvim engine ^0.0.80. Older versions of coc.nvim may break.","severity":"breaking","affected_versions":"<0.0.80"}],"env_vars":null,"search_vec":"'0.0.80':60 'archiv':5,22 'attribut':49 'blade':3,11,16,35,57,75,77 'blade-formatt':15,74 'blade.php':38 'bladeformatter.run':71 'coc':2,34 'coc-blad':33 'coc-blade-formatt':1 'coc.nvim':7,59 'cocact':66 'coccommand':70 'configur':41 'extens':8,62 'file':39 'filetyp':52 'format':13,37,64,67 'formatt':4,17,76 'indent':42 'javascript':72 'laravel':10,78 'length':46 'line':45 'longer':25 'maintain':26 'migrat':29 'neovim':80 'php':73 'project':20 'provid':9 'requir':50 'set':55 'size':43 'successor':32 'templat':12 'use':14 'user':27 'v0.5.3':18 'via':65 'vim':79 'wrap':44,48","created_at":"2026-06-04T18:49:00.117446+00:00","updated_at":"2026-06-04T18:49:00.117446+00:00","problems":[{"fix":"Set filetype to blade and ensure bladeFormatter.enable is true in coc-settings.json.","cause":"Filetype is not set to 'blade' or bladeFormatter.enable is false.","error":"CocAction('format') does nothing"},{"fix":"Install the extension via :CocInstall coc-blade-formatter and restart Neovim.","cause":"coc-blade-formatter is not installed or coc.nvim is not running.","error":"E492: Not an editor command: CocCommand bladeFormatter.run"},{"fix":"Leave bladeFormatter.path empty to use the built-in blade-formatter, or provide a valid absolute path.","cause":"bladeFormatter.path is set incorrectly or the built-in formatter is missing.","error":"blade-formatter not found"}],"ecosystem":"npm","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/yaegassy/coc-blade-formatter#readme","github":"https://github.com/yaegassy/coc-blade-formatter","docs":null,"changelog":null,"pypi":null,"npm":"coc-blade-formatter","openapi_spec":null,"status_page":null,"smithery":null,"categories":["devops"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-04","next_check":"2026-09-02","install_tag":null}}