Advertisement
Guest User

Untitled

a guest
Dec 5th, 2016
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.34 KB | None | 0 0
  1. {
  2. "codeformatter_php_options": {
  3. "syntaxes": "php", // Syntax names which must process PHP formatter
  4. "php_path": "C:/wamp64/bin/php/php7.0.4/php.exe", // Path for PHP executable, e.g. "/usr/lib/php" or "C:/Program Files/PHP/php.exe". If empty, uses command "php" from system environments
  5. "format_on_save": true, // Format on save
  6. "psr1": false, // Activate PSR1 style
  7. "psr1_naming": false, // Activate PSR1 style - Section 3 and 4.3 - Class and method names case
  8. "psr2": true, // Activate PSR2 style
  9. "indent_with_space": 4, // Use spaces instead of tabs for indentation
  10. "enable_auto_align": true, // Enable auto align of = and =>
  11. "visibility_order": true, // Fixes visibiliy order for method in classes - PSR-2 4.2
  12. "smart_linebreak_after_curly": true, // Convert multistatement blocks into multiline blocks
  13. // Enable specific transnformations. Example: ["ConvertOpenTagWithEcho", "PrettyPrintDocBlocks"]
  14. // You can list all available transnformations from command palette: CodeFormatter: Show PHP Transformations
  15. "passes": ["ReindentSwitchBlocks", "OrderAndRemoveUseClauses", "StripSpaceWithinControlStructures", "ShortArray", "SpaceBetweenMethods", "AutoSemicolon"],
  16. // Disable specific transnformations
  17. "exclude": []
  18. },
  19.  
  20.  
  21. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement