![]() ![]() phpcbf.documentFormattingProvider: Register PHP document formatting provider, right mouse-click context menu, select 'Format Document'.phpcbf.enable: enable/disable this extension.This extension has the following settings: After installing composer, in your workspace root, run the following command:Ĭomposer require "squizlabs/php_codesniffer=*" Extension Settings I recommend phpcs version 3.2.2 or later.Ī quick install is using composer. phpcbf is installed when you install phpcs. Right mouse-click, in context menu, select 'Format Document'. ![]() phpcbf will try to fix and beautify your code according to a coding standard. Phpcbf is the lesser known sibling of phpcs ( PHP_CodeSniffer). This extension provides the PHP Code Beautifier and Fixer ( phpcbf) command for Visual Studio Code. PHP Code Beautifier and Fixer for Visual Studio Code ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |