×

php源码加密哪个最好 php代码

php代码怎么加密最好,不能破解的那种?php代码加密用什么软件好

admin admin 发表于2022-07-18 17:23:09 浏览106 评论0

抢沙发发表评论

而且很多破解密码的站点都存放了很多经过MD5加密的密码字符串,你只需要将加密方式传给hash()函数就好了,php代码格式化插件codeformatter 设置PHP代码格式时报错 怎么处理{“codeformatter_debug“: false,“codeformatter_php_options“:{“syntaxes“: “php“, // Syntax names which must process PHP formatter“php_path“: “这里改成你php的路径“, // Path for PHP executable, e.g. “/usr/lib/php“ or “C:/Program Files/PHP/php.exe“. {“codeformatter_debug“: false,“codeformatter_php_options“:{“syntaxes“: “php“, // Syntax names which must process PHP formatter“php_path“: “这里改成你php的路径“, // Path for PHP executable, e.g. “/usr/lib/php“ or “C:/Program Files/PHP/php.exe“. If empty, uses command “php“ from system environments“format_on_save“: false, // Format on save. Either a boolean (true/false) or a string regexp tested on filename. Example : “^((?!.min.|vendor).)*$““php55_compat“: false, // PHP 5.5 compatible mode“psr1“: false, // Activate PSR1 style“psr1_naming“: false, // Activate PSR1 style - Section 3 and 4.3 - Class and method names case“psr2“: true, // Activate PSR2 style“indent_with_space“: 4, // Use spaces instead of tabs for indentation“enable_auto_align“: true, // Enable auto align of = and =》“visibility_order“: true, // Fixes visibility order for method in classes - PSR-2 4.2“smart_linebreak_after_curly“: true, // Convert multistatement blocks into multiline blocks// Enable specific transformations. Example: // You can list all available transformations from command palette: CodeFormatter: Show PHP Transformations“passes“: ,// Disable specific transformations“excludes“: },“codeformatter_js_options“:{“syntaxes“: “javascript,json“, // Syntax names which must process JS formatter“format_on_save“: false, // Format on save. Either a boolean (true/false) or a string regexp tested on filename. Example : “^((?!.min.|vendor).)*$““indent_size“: 4, // indentation size“indent_char“: “ “, // Indent character“indent_with_tabs“: false, // Indent with one tab (overrides indent_size and indent_char options)“eol“: “,所以这里我是非常不提倡还在单单使用MD5来加密用户的密码的,“ // EOL symbol},“codeformatter_html_options“:{“syntaxes“: “html,blade,asp,xml“, // Syntax names which must process HTML formatter“format_on_save“: false, // Format on save. Either a boolean (true/false) or a string regexp tested on filename. Example : “^((?!.min.|vendor).)*$““formatter_version“: “bs4“, // Which formatter to use. Current options are “bs4“ and “regexp“. If an error occurs while loading the bs4 formatter, the regexp formatter will automatically be used“indent_size“: 4, // indentation size“indent_char“: “ “, // Indentation character“indent_with_tabs“: false, // Indent with one tab (overrides indent_size and indent_char options)“exception_on_tag_mismatch“: false, // If the last closing tag is not at the same indentation level as the first opening tag, there’s probably a tag mismatch in the file“expand_javascript“: false, // (Under construction) Expand JavaScript inside of 《script》 tags (also affects CSS purely by coincidence)“expand_tags“: false, // Expand tag attributes onto new lines“minimum_attribute_count“: 2, // Minimum number of attributes needed before tag attributes are expanded to new lines“first_attribute_on_new_line“: false, // Put all attributes on separate lines from the tag (only uses 1 indentation unit as opposed to lining all attributes up with the first)“reduce_empty_tags“: false, // Put closing tags on same line as opening tag if there is no content between them“reduce_whole_word_tags“: false, // Put closing tags on same line as opening tag if there is whole word between them“custom_singletons“: ““ // Custom singleton tags for various template languages outside of the HTML5 spec},“codeformatter_python_options“:{“syntaxes“: “python“, // Syntax names which must process Python formatter“format_on_save“: false, // Format on save. Either a boolean (true/false) or a string regexp tested on filename. Example : “^((?!.min.|vendor).)*$““indent_size“: 1, // indentation size“indent_with_tabs“: true, // Indent with tabs or spaces“max_char“: 80, // Width of output lines in characters.“assignment“: “ = “, // This is how the assignment operator is to appear.“function_param_assignment“: “=“, // This is how function-parameter assignment should appear.“function_param_sep“: “, “, // This is how function parameters are separated.“list_sep“: “, “, // This is how list items are separated.“subscript_sep“: “=“, // This is how subscripts are separated.“dict_colon“: “: “, // This separates dictionary keys from values.“slice_colon“: “:“, // this separates the start:end indices of slices.“comment_prefix“: “# “, // This is the sentinel that marks the beginning of a commentary string.“shebang“: “#!/usr/bin/env python“, // Hashbang, a line-one comment naming the Python interpreter to Unix shells.“boilerplate“: ““, // Standard code block (if any). This is inserted after the module doc string on output.“blank_line“: ““, // This is how a blank line is to appear (up to the newline character).“keep_blank_lines“: true, // If true, preserve one blank where blank(s) are encountered.“add_blank_lines_around_comments“: true, // If true, set off comment blocks with blanks.“add_blank_line_after_doc_string“: true, // If true, add blank line after doc strings.“max_seps_func_def“: 3, // Split lines containing longer function definitions.“max_seps_func_ref“: 5, // Split lines containing longer function calls.“max_seps_series“: 5, // Split lines containing longer lists or tuples.“max_seps_dict“: 3, // Split lines containing longer dictionary definitions.“max_lines_before_split_lit“: 2, // Split string literals containing more newline characters.“left_margin“: ““, // This is how the left margin is to appear.“normalize_doc_strings“: false, // If true, normalize white space in doc strings.“leftjust_doc_strings“: false, // If true, left justify doc strings.“wrap_doc_strings“: false, // If true, wrap doc strings to max_char.“leftjust_comments“: false, // If true, left justify comments.“wrap_comments“: false, // If true, wrap comments to max_char.“double_quoted_strings“: false, // If true, use quotes instead of apostrophes for string literals.“single_quoted_strings“: false, // If true, use apostrophes instead of quotes for string literals.“can_split_strings“: false, // If true, longer strings are split at the max_char.“doc_tab_replacement“: “....“, // This literal replaces tab characters in doc strings and comments.// Optionally preserve unassigned constants so that code to be tidied// may contain blocks of commented-out lines that have been no-op’ed// with leading and trailing triple quotes. Python scripts may declare// constants without assigning them to a variables, but CodeFormatter// considers this wasteful and normally elides them.“keep_unassigned_constants“: false,// Optionally omit parentheses around tuples, which are superfluous// after all. Normal CodeFormatter behavior will be still to include them// as a sort of tuple display analogous to list displays, dict// displays, and yet-to-come set displays.“parenthesize_tuple_display“: true,// When CodeFormatter splits longer lines because max_seps// are exceeded, the statement normally is closed before the margin is// restored. The closing bracket, brace, or parenthesis is placed at the// current indent level. This looks ugly to “C“ programmers. When// java_style_list_dedent is True, the closing bracket, brace, or// parenthesis is brought back left to the indent level of the enclosing// statement.“java_style_list_dedent“: false},“codeformatter_vbscript_options“:{“syntaxes“: “vbscript“, // Syntax names which must process VBScript formatter“format_on_save“: false, // Format on save. Either a boolean (true/false) or a string regexp tested on filename. Example : “^((?!.min.|vendor).)*$““indent_size“: 1, // indentation size“indent_char“: “ “, // Indentation character“indent_with_tabs“: true, // Indent with one tab (overrides indent_size and indent_char options)“preserve_newlines“: true, // Preserve existing line-breaks“max_preserve_newlines“: 10, // Maximum number of line-breaks to be preserved in one chunk“opening_tags“: “^(Function .*|Sub .*|If .* Then|For .*|Do While .*|Select Case.*)“, // List of keywords which open a new block“middle_tags“: “^(Else|ElseIf .* Then|Case .*)$“, // List of keywords which divide a block, but neither open or close the block“closing_tags“: “(End Function|End Sub|End If|Next|Loop|End Select)$“ // List of keywords which close an open block},“codeformatter_coldfusion_options“:{“syntaxes“: “coldfusion,cfm,cfml“, // Syntax names which must process Coldfusion Markup Language formatter“format_on_save“: false, // Format on save. Either a boolean (true/false) or a string regexp tested on filename. Example : “^((?!.min.|vendor).)*$““indent_size“: 2, // indentation size“indent_char“: “ “, // Indentation character“indent_with_tabs“: false, // Indent with one tab (overrides indent_size and indent_char options)“exception_on_tag_mismatch“: false, // If the last closing tag is not at the same indentation level as the first opening tag, there’s probably a tag mismatch in the file“expand_javascript“: false, // (Under construction) Expand JavaScript inside of 《script》 tags (also affects CSS purely by coincidence)“expand_tags“: false, // Expand tag attributes onto new lines“minimum_attribute_count“: 2, // Minimum number of attributes needed before tag attributes are expanded to new lines“first_attribute_on_new_line“: false, // Put all attributes on separate lines from the tag (only uses 1 indentation unit as opposed to lining all attributes up with the first)“reduce_empty_tags“: false, // Put closing tags on same line as opening tag if there is no content between them“reduce_whole_word_tags“: false, // Put closing tags on same line as opening tag if there is whole word between them“custom_singletons“: ““ // Custom singleton tags for various template languages outside of the HTML5 spec}}|{“codeformatter_debug“: false,“codeformatter_php_options“:{“syntaxes“: “php“, // Syntax names which must process PHP formatter“php_path“: “这里改成你php的路径“, // Path for PHP executable, e.g. “/usr/lib/php“ or “C:/Program Files/PHP/php.exe“. If empty, uses command “php“ from system environments“format_on_save“: false, // Format on save. Either a boolean (true/false) or a string regexp tested on filename. Example : “^((?!.min.|vendor).)*$““php55_compat“: false, // PHP 5.5 compatible mode“psr1“: false, // Activate PSR1 style“psr1_naming“: false, // Activate PSR1 style - Section 3 and 4.3 - Class and method names case“psr2“: true, // Activate PSR2 style“indent_with_space“: 4, // Use spaces instead of tabs for indentation“enable_auto_align“: true, // Enable auto align of = and =》“visibility_order“: true, // Fixes visibility order for method in classes - PSR-2 4.2“smart_linebreak_after_curly“: true, // Convert multistatement blocks into multiline blocks// Enable specific transformations. Example: // You can list all available transformations from command palette: CodeFormatter: Show PHP Transformations“passes“: ,// Disable specific transformations“excludes“: },“codeformatter_js_options“:{“syntaxes“: “javascript,json“, // Syntax names which must process JS formatter“format_on_save“: false, // Format on save. Either a boolean (true/false) or a string regexp tested on filename. Example : “^((?!.min.|vendor).)*$““indent_size“: 4, // indentation size“indent_char“: “ “, // Indent character“indent_with_tabs“: false, // Indent with one tab (overrides indent_size and indent_char options)“eol“: “,“ // EOL symbol},“codeformatter_html_options“:{“syntaxes“: “html,blade,asp,xml“, // Syntax names which must process HTML formatter“format_on_save“: false, // Format on save. Either a boolean (true/false) or a string regexp tested on filename. Example : “^((?!.min.|vendor).)*$““formatter_version“: “bs4“, // Which formatter to use. Current options are “bs4“ and “regexp“. If an error occurs while loading the bs4 formatter, the regexp formatter will automatically be used“indent_size“: 4, // indentation size“indent_char“: “ “, // Indentation character“indent_with_tabs“: false, // Indent with one tab (overrides indent_size and indent_char options)“exception_on_tag_mismatch“: false, // If the last closing tag is not at the same indentation level as the first opening tag, there’s probably a tag mismatch in the file“expand_javascript“: false, // (Under construction) Expand JavaScript inside of 《script》 tags (also affects CSS purely by coincidence)“expand_tags“: false, // Expand tag attributes onto new lines“minimum_attribute_count“: 2, // Minimum number of attributes needed before tag attributes are expanded to new lines“first_attribute_on_new_line“: false, // Put all attributes on separate lines from the tag (only uses 1 indentation unit as opposed to lining all attributes up with the first)“reduce_empty_tags“: false, // Put closing tags on same line as opening tag if there is no content between them“reduce_whole_word_tags“: false, // Put closing tags on same line as opening tag if there is whole word between them“custom_singletons“: ““ // Custom singleton tags for various template languages outside of the HTML5 spec},“codeformatter_python_options“:{“syntaxes“: “python“, // Syntax names which must process Python formatter“format_on_save“: false, // Format on save. Either a boolean (true/false) or a string regexp tested on filename. Example : “^((?!.min.|vendor).)*$““indent_size“: 1, // indentation size“indent_with_tabs“: true, // Indent with tabs or spaces“max_char“: 80, // Width of output lines in characters.“assignment“: “ = “, // This is how the assignment operator is to appear.“function_param_assignment“: “=“, // This is how function-parameter assignment should appear.“function_param_sep“: “, “, // This is how function parameters are separated.“list_sep“: “, “, // This is how list items are separated.“subscript_sep“: “=“, // This is how subscripts are separated.“dict_colon“: “: “, // This separates dictionary keys from values.“slice_colon“: “:“, // this separates the start:end indices of slices.“comment_prefix“: “# “, // This is the sentinel that marks the beginning of a commentary string.“shebang“: “#!/usr/bin/env python“, // Hashbang, a line-one comment naming the Python interpreter to Unix shells.“boilerplate“: ““, // Standard code block (if any). This is inserted after the module doc string on output.“blank_line“: ““, // This is how a blank line is to appear (up to the newline character).“keep_blank_lines“: true, // If true, preserve one blank where blank(s) are encountered.“add_blank_lines_around_comments“: true, // If true, set off comment blocks with blanks.“add_blank_line_after_doc_string“: true, // If true, add blank line after doc strings.“max_seps_func_def“: 3, // Split lines containing longer function definitions.“max_seps_func_ref“: 5, // Split lines containing longer function calls.“max_seps_series“: 5, // Split lines containing longer lists or tuples.“max_seps_dict“: 3, // Split lines containing longer dictionary definitions.“max_lines_before_split_lit“: 2, // Split string literals containing more newline characters.“left_margin“: ““, // This is how the left margin is to appear.“normalize_doc_strings“: false, // If true, normalize white space in doc strings.“leftjust_doc_strings“: false, // If true, left justify doc strings.“wrap_doc_strings“: false, // If true, wrap doc strings to max_char.“leftjust_comments“: false, // If true, left justify comments.“wrap_comments“: false, // If true, wrap comments to max_char.“double_quoted_strings“: false, // If true, use quotes instead of apostrophes for string literals.“single_quoted_strings“: false, // If true, use apostrophes instead of quotes for string literals.“can_split_strings“: false, // If true, longer strings are split at the max_char.“doc_tab_replacement“: “....“, // This literal replaces tab characters in doc strings and comments.// Optionally preserve unassigned constants so that code to be tidied// may contain blocks of commented-out lines that have been no-op’ed// with leading and trailing triple quotes. Python scripts may declare// constants without assigning them to a variables, but CodeFormatter// considers this wasteful and normally elides them.“keep_unassigned_constants“: false,// Optionally omit parentheses around tuples, which are superfluous// after all. Normal CodeFormatter behavior will be still to include them// as a sort of tuple display analogous to list displays, dict// displays, and yet-to-come set displays.“parenthesize_tuple_display“: true,// When CodeFormatter splits longer lines because max_seps// are exceeded, the statement normally is closed before the margin is// restored. The closing bracket, brace, or parenthesis is placed at the// current indent level. This looks ugly to “C“ programmers. When// java_style_list_dedent is True, the closing bracket, brace, or// parenthesis is brought back left to the indent level of the enclosing// statement.“java_style_list_dedent“: false},“codeformatter_vbscript_options“:{“syntaxes“: “vbscript“, // Syntax names which must process VBScript formatter“format_on_save“: false, // Format on save. Either a boolean (true/false) or a string regexp tested on filename. Example : “^((?!.min.|vendor).)*$““indent_size“: 1, // indentation size“indent_char“: “ “, // Indentation character“indent_with_tabs“: true, // Indent with one tab (overrides indent_size and indent_char options)“preserve_newlines“: true, // Preserve existing line-breaks“max_preserve_newlines“: 10, // Maximum number of line-breaks to be preserved in one chunk“opening_tags“: “^(Function .*|Sub .*|If .* Then|For .*|Do While .*|Select Case.*)“, // List of keywords which open a new block“middle_tags“: “^(Else|ElseIf .* Then|Case .*)$“, // List of keywords which divide a block, but neither open or close the block“closing_tags“: “(End Function|End Sub|End If|Next|Loop|End Select)$“ // List of keywords which close an open block},“codeformatter_coldfusion_options“:{“syntaxes“: “coldfusion,cfm,cfml“, // Syntax names which must process Coldfusion Markup Language formatter“format_on_save“: false, // Format on save. Either a boolean (true/false) or a string regexp tested on filename. Example : “^((?!.min.|vendor).)*$““indent_size“: 2, // indentation size“indent_char“: “ “, // Indentation character“indent_with_tabs“: false, // Indent with one tab (overrides indent_size and indent_char options)“exception_on_tag_mismatch“: false, // If the last closing tag is not at the same indentation level as the first opening tag, there’s probably a tag mismatch in the file“expand_javascript“: false, // (Under construction) Expand JavaScript inside of 《script》 tags (also affects CSS purely by coincidence)“expand_tags“: false, // Expand tag attributes onto new lines“minimum_attribute_count“: 2, // Minimum number of attributes needed before tag attributes are expanded to new lines“first_attribute_on_new_line“: false, // Put all attributes on separate lines from the tag (only uses 1 indentation unit as opposed to lining all attributes up with the first)“reduce_empty_tags“: false, // Put closing tags on same line as opening tag if there is no content between them“reduce_whole_word_tags“: false, // Put closing tags on same line as opening tag if there is whole word between them“custom_singletons“: ““ // Custom singleton tags for various template languages outside of the HTML5 spec}}|{“codeformatter_debug“: false,“codeformatter_php_options“:{“syntaxes“: “php“, // Syntax names which must process PHP formatter“php_path“: “这里改成你php的路径“, // Path for PHP executable, e.g. “/usr/lib/php“ or “C:/Program Files/PHP/php.exe“. If empty, uses command “php“ from system environments“format_on_save“: false, // Format on save. Either a boolean (true/false) or a string regexp tested on filename. Example : “^((?!.min.|vendor).)*$““php55_compat“: false, // PHP 5.5 compatible mode“psr1“: false, // Activate PSR1 style“psr1_naming“: false, // Activate PSR1 style - Section 3 and 4.3 - Class and method names case“psr2“: true, // Activate PSR2 style“indent_with_space“: 4, // Use spaces instead of tabs for indentation“enable_auto_align“: true, // Enable auto align of = and =》“visibility_order“: true, // Fixes visibility order for method in classes - PSR-2 4.2“smart_linebreak_after_curly“: true, // Convert multistatement blocks into multiline blocks// Enable specific transformations. Example: // You can list all available transformations from command palette: CodeFormatter: Show PHP Transformations“passes“: ,// Disable specific transformations“excludes“: },“codeformatter_js_options“:{“syntaxes“: “javascript,json“, // Syntax names which must process JS formatter“format_on_save“: false, // Format on save. Either a boolean (true/false) or a string regexp tested on filename. Example : “^((?!.min.|vendor).)*$““indent_size“: 4, // indentation size“indent_char“: “ “, // Indent character“indent_with_tabs“: false, // Indent with one tab (overrides indent_size and indent_char options)“eol“: “,“ // EOL symbol},“codeformatter_html_options“:{“syntaxes“: “html,blade,asp,xml“, // Syntax names which must process HTML formatter“format_on_save“: false, // Format on save. Either a boolean (true/false) or a string regexp tested on filename. Example : “^((?!.min.|vendor).)*$““formatter_version“: “bs4“, // Which formatter to use. Current options are “bs4“ and “regexp“. If an error occurs while loading the bs4 formatter, the regexp formatter will automatically be used“indent_size“: 4, // indentation size“indent_char“: “ “, // Indentation character“indent_with_tabs“: false, // Indent with one tab (overrides indent_size and indent_char options)“exception_on_tag_mismatch“: false, // If the last closing tag is not at the same indentation level as the first opening tag, there’s probably a tag mismatch in the file“expand_javascript“: false, // (Under construction) Expand JavaScript inside of 《script》 tags (also affects CSS purely by coincidence)“expand_tags“: false, // Expand tag attributes onto new lines“minimum_attribute_count“: 2, // Minimum number of attributes needed before tag attributes are expanded to new lines“first_attribute_on_new_line“: false, // Put all attributes on separate lines from the tag (only uses 1 indentation unit as opposed to lining all attributes up with the first)“reduce_empty_tags“: false, // Put closing tags on same line as opening tag if there is no content between them“reduce_whole_word_tags“: false, // Put closing tags on same line as opening tag if there is whole word between them“custom_singletons“: ““ // Custom singleton tags for various template languages outside of the HTML5 spec},“codeformatter_python_options“:{“syntaxes“: “python“, // Syntax names which must process Python formatter“format_on_save“: false, // Format on save. Either a boolean (true/false) or a string regexp tested on filename. Example : “^((?!.min.|vendor).)*$““indent_size“: 1, // indentation size“indent_with_tabs“: true, // Indent with tabs or spaces“max_char“: 80, // Width of output lines in characters.“assignment“: “ = “, // This is how the assignment operator is to appear.“function_param_assignment“: “=“, // This is how function-parameter assignment should appear.“function_param_sep“: “, “, // This is how function parameters are separated.“list_sep“: “, “, // This is how list items are separated.“subscript_sep“: “=“, // This is how subscripts are separated.“dict_colon“: “: “, // This separates dictionary keys from values.“slice_colon“: “:“, // this separates the start:end indices of slices.“comment_prefix“: “# “, // This is the sentinel that marks the beginning of a commentary string.“shebang“: “#!/usr/bin/env python“, // Hashbang, a line-one comment naming the Python interpreter to Unix shells.“boilerplate“: ““, // Standard code block (if any). This is inserted after the module doc string on output.“blank_line“: ““, // This is how a blank line is to appear (up to the newline character).“keep_blank_lines“: true, // If true, preserve one blank where blank(s) are encountered.“add_blank_lines_around_comments“: true, // If true, set off comment blocks with blanks.“add_blank_line_after_doc_string“: true, // If true, add blank line after doc strings.“max_seps_func_def“: 3, // Split lines containing longer function definitions.“max_seps_func_ref“: 5, // Split lines containing longer function calls.“max_seps_series“: 5, // Split lines containing longer lists or tuples.“max_seps_dict“: 3, // Split lines containing longer dictionary definitions.“max_lines_before_split_lit“: 2, // Split string literals containing more newline characters.“left_margin“: ““, // This is how the left margin is to appear.“normalize_doc_strings“: false, // If true, normalize white space in doc strings.“leftjust_doc_strings“: false, // If true, left justify doc strings.“wrap_doc_strings“: false, // If true, wrap doc strings to max_char.“leftjust_comments“: false, // If true, left justify comments.“wrap_comments“: false, // If true, wrap comments to max_char.“double_quoted_strings“: false, // If true, use quotes instead of apostrophes for string literals.“single_quoted_strings“: false, // If true, use apostrophes instead of quotes for string literals.“can_split_strings“: false, // If true, longer strings are split at the max_char.“doc_tab_replacement“: “....“, // This literal replaces tab characters in doc strings and comments.// Optionally preserve unassigned constants so that code to be tidied// may contain blocks of commented-out lines that have been no-op’ed// with leading and trailing triple quotes. Python scripts may declare// constants without assigning them to a variables, but CodeFormatter// considers this wasteful and normally elides them.“keep_unassigned_constants“: false,// Optionally omit parentheses around tuples, which are superfluous// after all. Normal CodeFormatter behavior will be still to include them// as a sort of tuple display analogous to list displays, dict// displays, and yet-to-come set displays.“parenthesize_tuple_display“: true,// When CodeFormatter splits longer lines because max_seps// are exceeded, the statement normally is closed before the margin is// restored. The closing bracket, brace, or parenthesis is placed at the// current indent level. This looks ugly to “C“ programmers. When// java_style_list_dedent is True, the closing bracket, brace, or// parenthesis is brought back left to the indent level of the enclosing// statement.“java_style_list_dedent“: false},“codeformatter_vbscript_options“:{“syntaxes“: “vbscript“, // Syntax names which must process VBScript formatter“format_on_save“: false, // Format on save. Either a boolean (true/false) or a string regexp tested on filename. Example : “^((?!.min.|vendor).)*$““indent_size“: 1, // indentation size“indent_char“: “ “, // Indentation character“indent_with_tabs“: true, // Indent with one tab (overrides indent_size and indent_char options)“preserve_newlines“: true, // Preserve existing line-breaks“max_preserve_newlines“: 10, // Maximum number of line-breaks to be preserved in one chunk“opening_tags“: “^(Function .*|Sub .*|If .* Then|For .*|Do While .*|Select Case.*)“, // List of keywords which open a new block“middle_tags“: “^(Else|ElseIf .* Then|Case .*)$“, // List of keywords which divide a block, but neither open or close the block“closing_tags“: “(End Function|End Sub|End If|Next|Loop|End Select)$“ // List of keywords which close an open block},“codeformatter_coldfusion_options“:{“syntaxes“: “coldfusion,cfm,cfml“, // Syntax names which must process Coldfusion Markup Language formatter“format_on_save“: false, // Format on save. Either a boolean (true/false) or a string regexp tested on filename. Example : “^((?!.min.|vendor).)*$““indent_size“: 2, // indentation size“indent_char“: “ “, // Indentation character“indent_with_tabs“: false, // Indent with one tab (overrides indent_size and indent_char options)“exception_on_tag_mismatch“: false, // If the last closing tag is not at the same indentation level as the first opening tag, there’s probably a tag mismatch in the file“expand_javascript“: false, // (Under construction) Expand JavaScript inside of 《script》 tags (also affects CSS purely by coincidence)“expand_tags“: false, // Expand tag attributes onto new lines“minimum_attribute_count“: 2, // Minimum number of attributes needed before tag attributes are expanded to new lines“first_attribute_on_new_line“: false, // Put all attributes on separate lines from the tag (only uses 1 indentation unit as opposed to lining all attributes up with the first)“reduce_empty_tags“: false, // Put closing tags on same line as opening tag if there is no content between them“reduce_whole_word_tags“: false, // Put closing tags on same line as opening tag if there is whole word between them“custom_singletons“: ““ // Custom singleton tags for various template languages outside of the HTML5 spec}}|{“codeformatter_debug“: false,“codeformatter_php_options“:{“syntaxes“: “php“, // Syntax names which must process PHP formatter“php_path“: “这里改成你php的路径“, // Path for PHP executable, e.g. “/usr/lib/php“ or “C:/Program Files/PHP/php.exe“. If empty, uses command “php“ from system environments“format_on_save“: false, // Format on save. Either a boolean (true/false) or a string regexp tested on filename. Example : “^((?!.min.|vendor).)*$““php55_compat“: false, // PHP 5.5 compatible mode“psr1“: false, // Activate PSR1 style“psr1_naming“: false, // Activate PSR1 style - Section 3 and 4.3 - Class and method names case“psr2“: true, // Activate PSR2 style“indent_with_space“: 4, // Use spaces instead of tabs for indentation“enable_auto_align“: true, // Enable auto align of = and =》“visibility_order“: true, // Fixes visibility order for method in classes - PSR-2 4.2“smart_linebreak_after_curly“: true, // Convert multistatement blocks into multiline blocks// Enable specific transformations. Example: // You can list all available transformations from command palette: CodeFormatter: Show PHP Transformations“passes“: ,// Disable specific transformations“excludes“: },“codeformatter_js_options“:{“syntaxes“: “javascript,json“, // Syntax names which must process JS formatter“format_on_save“: false, // Format on save. Either a boolean (true/false) or a string regexp tested on filename. Example : “^((?!.min.|vendor).)*$““indent_size“: 4, // indentation size“indent_char“: “ “, // Indent character“indent_with_tabs“: false, // Indent with one tab (overrides indent_size and indent_char options)“eol“: “,“ // EOL symbol},“codeformatter_html_options“:{“syntaxes“: “html,blade,asp,xml“, // Syntax names which must process HTML formatter“format_on_save“: false, // Format on save. Either a boolean (true/false) or a string regexp tested on filename. Example : “^((?!.min.|vendor).)*$““formatter_version“: “bs4“, // Which formatter to use. Current options are “bs4“ and “regexp“. If an error occurs while loading the bs4 formatter, the regexp formatter will automatically be used“indent_size“: 4, // indentation size“indent_char“: “ “, // Indentation character“indent_with_tabs“: false, // Indent with one tab (overrides indent_size and indent_char options)“exception_on_tag_mismatch“: false, // If the last closing tag is not at the same indentation level as the first opening tag, there’s probably a tag mismatch in the file“expand_javascript“: false, // (Under construction) Expand JavaScript inside of 《script》 tags (also affects CSS purely by coincidence)“expand_tags“: false, // Expand tag attributes onto new lines“minimum_attribute_count“: 2, // Minimum number of attributes needed before tag attributes are expanded to new lines“first_attribute_on_new_line“: false, // Put all attributes on separate lines from the tag (only uses 1 indentation unit as opposed to lining all attributes up with the first)“reduce_empty_tags“: false, // Put closing tags on same line as opening tag if there is no content between them“reduce_whole_word_tags“: false, // Put closing tags on same line as opening tag if there is whole word between them“custom_singletons“: ““ // Custom singleton tags for various template languages outside of the HTML5 spec},“codeformatter_python_options“:{“syntaxes“: “python“, // Syntax names which must process Python formatter“format_on_save“: false, // Format on save. Either a boolean (true/false) or a string regexp tested on filename. Example : “^((?!.min.|vendor).)*$““indent_size“: 1, // indentation size“indent_with_tabs“: true, // Indent with tabs or spaces“max_char“: 80, // Width of output lines in characters.“assignment“: “ = “, // This is how the assignment operator is to appear.“function_param_assignment“: “=“, // This is how function-parameter assignment should appear.“function_param_sep“: “, “, // This is how function parameters are separated.“list_sep“: “, “, // This is how list items are separated.“subscript_sep“: “=“, // This is how subscripts are separated.“dict_colon“: “: “, // This separates dictionary keys from values.“slice_colon“: “:“, // this separates the start:end indices of slices.“comment_prefix“: “# “, // This is the sentinel that marks the beginning of a commentary string.“shebang“: “#!/usr/bin/env python“, // Hashbang, a line-one comment naming the Python interpreter to Unix shells.“boilerplate“: ““, // Standard code block (if any). This is inserted after the module doc string on output.“blank_line“: ““, // This is how a blank line is to appear (up to the newline character).“keep_blank_lines“: true, // If true, preserve one blank where blank(s) are encountered.“add_blank_lines_around_comments“: true, // If true, set off comment blocks with blanks.“add_blank_line_after_doc_string“: true, // If true, add blank line after doc strings.“max_seps_func_def“: 3, // Split lines containing longer function definitions.“max_seps_func_ref“: 5, // Split lines containing longer function calls.“max_seps_series“: 5, // Split lines containing longer lists or tuples.“max_seps_dict“: 3, // Split lines containing longer dictionary definitions.“max_lines_before_split_lit“: 2, // Split string literals containing more newline characters.“left_margin“: ““, // This is how the left margin is to appear.“normalize_doc_strings“: false, // If true, normalize white space in doc strings.“leftjust_doc_strings“: false, // If true, left justify doc strings.“wrap_doc_strings“: false, // If true, wrap doc strings to max_char.“leftjust_comments“: false, // If true, left justify comments.“wrap_comments“: false, // If true, wrap comments to max_char.“double_quoted_strings“: false, // If true, use quotes instead of apostrophes for string literals.“single_quoted_strings“: false, // If true, use apostrophes instead of quotes for string literals.“can_split_strings“: false, // If true, longer strings are split at the max_char.“doc_tab_replacement“: “....“, // This literal replaces tab characters in doc strings and comments.// Optionally preserve unassigned constants so that code to be tidied// may contain blocks of commented-out lines that have been no-op’ed// with leading and trailing triple quotes. Python scripts may declare// constants without assigning them to a variables, but CodeFormatter// considers this wasteful and normally elides them.“keep_unassigned_constants“: false,// Optionally omit parentheses around tuples, which are superfluous// after all. Normal CodeFormatter behavior will be still to include them// as a sort of tuple display analogous to list displays, dict// displays, and yet-to-come set displays.“parenthesize_tuple_display“: true,// When CodeFormatter splits longer lines because max_seps// are exceeded, the statement normally is closed before the margin is// restored. The closing bracket, brace, or parenthesis is placed at the// current indent level. This looks ugly to “C“ programmers. When// java_style_list_dedent is True, the closing bracket, brace, or// parenthesis is brought back left to the indent level of the enclosing// statement.“java_style_list_dedent“: false},“codeformatter_vbscript_options“:{“syntaxes“: “vbscript“, // Syntax names which must process VBScript formatter“format_on_save“: false, // Format on save. Either a boolean (true/false) or a string regexp tested on filename. Example : “^((?!.min.|vendor).)*$““indent_size“: 1, // indentation size“indent_char“: “ “, // Indentation character“indent_with_tabs“: true, // Indent with one tab (overrides indent_size and indent_char options)“preserve_newlines“: true, // Preserve existing line-breaks“max_preserve_newlines“: 10, // Maximum number of line-breaks to be preserved in one chunk“opening_tags“: “^(Function .*|Sub .*|If .* Then|For .*|Do While .*|Select Case.*)“, // List of keywords which open a new block“middle_tags“: “^(Else|ElseIf .* Then|Case .*)$“, // List of keywords which divide a block, but neither open or close the block“closing_tags“: “(End Function|End Sub|End If|Next|Loop|End Select)$“ // List of keywords which close an open block},“codeformatter_coldfusion_options“:{“syntaxes“: “coldfusion,cfm,cfml“, // Syntax names which must process Coldfusion Markup Language formatter“format_on_save“: false, // Format on save. Either a boolean (true/false) or a string regexp tested on filename. Example : “^((?!.min.|vendor).)*$““indent_size“: 2, // indentation size“indent_char“: “ “, // Indentation character“indent_with_tabs“: false, // Indent with one tab (overrides indent_size and indent_char options)“exception_on_tag_mismatch“: false, // If the last closing tag is not at the same indentation level as the first opening tag, there’s probably a tag mismatch in the file“expand_javascript“: false, // (Under construction) Expand JavaScript inside of 《script》 tags (also affects CSS purely by coincidence)“expand_tags“: false, // Expand tag attributes onto new lines“minimum_attribute_count“: 2, // Minimum number of attributes needed before tag attributes are expanded to new lines“first_attribute_on_new_line“: false, // Put all attributes on separate lines from the tag (only uses 1 indentation unit as opposed to lining all attributes up with the first)“reduce_empty_tags“: false, // Put closing tags on same line as opening tag if there is no content between them“reduce_whole_word_tags“: false, // Put closing tags on same line as opening tag if there is whole word between them“custom_singletons“: ““ // Custom singleton tags for various template languages outside of the HTML5 spec}}|Case .*)$“, // List of keywords which divide a block, but neither open or close the block“closing_tags“: “(End Function|{“codeformatter_debug“: false,“codeformatter_php_options“:{“syntaxes“: “php“, // Syntax names which must process PHP formatter“php_path“: “这里改成你php的路径“, // Path for PHP executable, e.g. “/usr/lib/php“ or “C:/Program Files/PHP/php.exe“. If empty, uses command “php“ from system environments“format_on_save“: false, // Format on save. Either a boolean (true/false) or a string regexp tested on filename. Example : “^((?!.min.|vendor).)*$““php55_compat“: false, // PHP 5.5 compatible mode“psr1“: false, // Activate PSR1 style“psr1_naming“: false, // Activate PSR1 style - Section 3 and 4.3 - Class and method names case“psr2“: true, // Activate PSR2 style“indent_with_space“: 4, // Use spaces instead of tabs for indentation“enable_auto_align“: true, // Enable auto align of = and =》“visibility_order“: true, // Fixes visibility order for method in classes - PSR-2 4.2“smart_linebreak_after_curly“: true, // Convert multistatement blocks into multiline blocks// Enable specific transformations. Example: // You can list all available transformations from command palette: CodeFormatter: Show PHP Transformations“passes“: ,// Disable specific transformations“excludes“: },“codeformatter_js_options“:{“syntaxes“: “javascript,json“, // Syntax names which must process JS formatter“format_on_save“: false, // Format on save. Either a boolean (true/false) or a string regexp tested on filename. Example : “^((?!.min.|vendor).)*$““indent_size“: 4, // indentation size“indent_char“: “ “, // Indent character“indent_with_tabs“: false, // Indent with one tab (overrides indent_size and indent_char options)“eol“: “。

php代码怎么加密最好,不能破解的那种


  在使用PHP开发Web应用的中,很多的应用都会要求用户注册,而注册的时候就需要我们对用户的信息进行处理了,最常见的莫过于就是邮箱和密码了,本文意在讨论对密码的处理:也就是对密码的加密处理。
  MD5
  相信很多PHP开发者在最先接触PHP的时候,处理密码的首选加密函数可能就是MD5了,我当时就是这样的:
  $password = md5($_POST);
  上面这段代码是不是很熟悉?然而MD5的加密方式目前在PHP的江湖中貌似不太受欢迎了,因为它的加密算法实在是显得有点简单了,而且很多破解密码的站点都存放了很多经过MD5加密的密码字符串,所以这里我是非常不提倡还在单单使用MD5来加密用户的密码的。
  SHA256 和 SHA512
  其实跟前面的MD5同期的还有一个SHA1加密方式的,不过也是算法比较简单,所以这里就一笔带过吧。而这里即将要说到的SHA256 和 SHA512都是来自于SHA2家族的加密函数,看名字可能你就猜的出来了,这两个加密方式分别生成256和512比特长度的hash字串。
  他们的使用方法如下:
  《?php
  $password = hash(“sha256“, $password);
  PHP内置了hash()函数,你只需要将加密方式传给hash()函数就好了。你可以直接指明sha256, sha512, md5, sha1等加密方式。
  盐值
  在加密的过程,我们还有一个非常常见的小伙伴:盐值。对,我们在加密的时候其实会给加密的字符串添加一个额外的字符串,以达到提高一定安全的目的:
  《?php
  function generateHashWithSalt($password) {$intermediateSalt = md5(uniqid(rand(), true));$salt = substr($intermediateSalt, 0, 6);
  return hash(“sha256“, $password . $salt);}
  Bcrypt
  如果让我来建议一种加密方式的话,Bcrypt可能是我给你推荐的最低要求了,因为我会强烈推荐你后面会说到的Hashing API,不过Bcrypt也不失为一种比较不错的加密方式了。
  《?php
  function generateHash($password) {
  if (defined(“CRYPT_BLOWFISH“) && CRYPT_BLOWFISH) {$salt = ’$2y$11$’ . substr(md5(uniqid(rand(), true)), 0, 22);return crypt($password, $salt);
  }
  }
  Bcrypt 其实就是Blowfish和crypt()函数的结合,我们这里通过CRYPT_BLOWFISH判断Blowfish是否可用,然后像上面一样生成一个盐值,不过这里需要注意的是,crypt()的盐值必须以$2a$或者$2y$开头,详细资料可以参考下面的链接:
  
  Happy Hacking

php代码加密用什么软件好

我更多。我只能使用Zend。实际上,这是错误的。这是PHP的编码环境。它可以编码源代码,管理源代码。这是一个代码器。更好。目前尚不清楚,没有名气

Sublime Text,php代码格式化插件codeformatter 设置PHP代码格式时报错 怎么处理


{
“codeformatter_debug“: false,
“codeformatter_php_options“:
{
“syntaxes“: “php“, // Syntax names which must process PHP formatter
“php_path“: “这里改成你php的路径“, // Path for PHP executable, e.g. “/usr/lib/php“ or “C:/Program Files/PHP/php.exe“.

{“codeformatter_debug“: false,“codeformatter_php_options“:{“syntaxes“: “php“, // Syntax names which must process PHP formatter“php_path“: “这里改成你php的路径“, // Path for PHP executable, e.g. “/usr/lib/php“ or “C:/Program Files/PHP/php.exe“. If empty, uses command “php“ from system environments“format_on_save“: false, // Format on save. Either a boolean (true/false) or a string regexp tested on filename. Example : “^((?!.min.|vendor).)*$““php55_compat“: false, // PHP 5.5 compatible mode“psr1“: false, // Activate PSR1 style“psr1_naming“: false, // Activate PSR1 style - Section 3 and 4.3 - Class and method names case“psr2“: true, // Activate PSR2 style“indent_with_space“: 4, // Use spaces instead of tabs for indentation“enable_auto_align“: true, // Enable auto align of = and =》“visibility_order“: true, // Fixes visibility order for method in classes - PSR-2 4.2“smart_linebreak_after_curly“: true, // Convert multistatement blocks into multiline blocks// Enable specific transformations. Example: // You can list all available transformations from command palette: CodeFormatter: Show PHP Transformations“passes“: ,// Disable specific transformations“excludes“: },“codeformatter_js_options“:{“syntaxes“: “javascript,json“, // Syntax names which must process JS formatter“format_on_save“: false, // Format on save. Either a boolean (true/false) or a string regexp tested on filename. Example : “^((?!.min.|vendor).)*$““indent_size“: 4, // indentation size“indent_char“: “ “, // Indent character“indent_with_tabs“: false, // Indent with one tab (overrides indent_size and indent_char options)“eol“: “ “, // EOL symbol“preserve_newlines“: false, // whether existing line breaks should be preserved,“max_preserve_newlines“: 10, // maximum number of line breaks to be preserved in one chunk“space_in_paren“: false, // Add padding spaces within paren, ie. f( a, b )“space_in_empty_paren“: false, // Add padding spaces within paren if parent empty, ie. f( )“e4x“: false, // Pass E4X xml literals through untouched“jslint_happy“: false, // if true, then jslint-stricter mode is enforced. Example function () vs function()“space_after_anon_function“: false, // Space after anonimouse functions“brace_style“: “collapse“, // “collapse“ | “expand“ | “end-expand“. put braces on the same line as control statements (default), or put braces on own line (Allman / ANSI style), or just put end braces on own line.“keep_array_indentation“: false, // keep array indentation.“keep_function_indentation“: false, // keep function indentation.“eval_code“: false, // eval code“unescape_strings“: false, // Decode printable characters encoded in xNN notation“wrap_line_length“: 0, // Wrap lines at next opportunity after N characters“unindent_chained_methods“: false, // Unindent chained method calls“break_chained_methods“: false, // Break chained method calls across subsequent lines“end_with_newline“: false, // Add new line at end of file“comma_first“: false, // Add comma first“operator_position“: “before-newline“ // Operator position: before-newline, after-newline, preserve-newline},“codeformatter_css_options“:{“syntaxes“: “css,less“, // Syntax names which must process CSS formatter“format_on_save“: false, // Format on save. Either a boolean (true/false) or a string regexp tested on filename. Example : “^((?!.min.|vendor).)*$““indent_size“: 4, // Indentation size“indent_char“: “ “, // Indentation character“indent_with_tabs“: false, // Indent with one tab (overrides indent_size and indent_char options)“selector_separator_newline“: false, // Add new lines after selector separators“end_with_newline“: false, // Add new line of end in file“newline_between_rules“: false, // Add new line between rules“space_around_combinator“: false, // Space around combinator“eol“: “ “ // EOL symbol},“codeformatter_scss_options“:{“syntaxes“: “scss,sass“, // Indentation size“format_on_save“: false, // Format on save. Either a boolean (true/false) or a string regexp tested on filename. Example : “^((?!.min.|vendor).)*$““indent_size“: 4, // Indentation size“indent_char“: “ “, // Indentation character“indent_with_tabs“: false, // Indent with one tab (overrides indent_size and indent_char options)“selector_separator_newline“: false, // Add new lines after selector separators“end_with_newline“: false, // Add new line of end in file“newline_between_rules“: false, // Add new line between rules“space_around_combinator“: false, // Space around combinator“eol“: “ “ // EOL symbol},“codeformatter_html_options“:{“syntaxes“: “html,blade,asp,xml“, // Syntax names which must process HTML formatter“format_on_save“: false, // Format on save. Either a boolean (true/false) or a string regexp tested on filename. Example : “^((?!.min.|vendor).)*$““formatter_version“: “bs4“, // Which formatter to use. Current options are “bs4“ and “regexp“. If an error occurs while loading the bs4 formatter, the regexp formatter will automatically be used“indent_size“: 4, // indentation size“indent_char“: “ “, // Indentation character“indent_with_tabs“: false, // Indent with one tab (overrides indent_size and indent_char options)“exception_on_tag_mismatch“: false, // If the last closing tag is not at the same indentation level as the first opening tag, there’s probably a tag mismatch in the file“expand_javascript“: false, // (Under construction) Expand JavaScript inside of 《script》 tags (also affects CSS purely by coincidence)“expand_tags“: false, // Expand tag attributes onto new lines“minimum_attribute_count“: 2, // Minimum number of attributes needed before tag attributes are expanded to new lines“first_attribute_on_new_line“: false, // Put all attributes on separate lines from the tag (only uses 1 indentation unit as opposed to lining all attributes up with the first)“reduce_empty_tags“: false, // Put closing tags on same line as opening tag if there is no content between them“reduce_whole_word_tags“: false, // Put closing tags on same line as opening tag if there is whole word between them“custom_singletons“: ““ // Custom singleton tags for various template languages outside of the HTML5 spec},“codeformatter_python_options“:{“syntaxes“: “python“, // Syntax names which must process Python formatter“format_on_save“: false, // Format on save. Either a boolean (true/false) or a string regexp tested on filename. Example : “^((?!.min.|vendor).)*$““indent_size“: 1, // indentation size“indent_with_tabs“: true, // Indent with tabs or spaces“max_char“: 80, // Width of output lines in characters.“assignment“: “ = “, // This is how the assignment operator is to appear.“function_param_assignment“: “=“, // This is how function-parameter assignment should appear.“function_param_sep“: “, “, // This is how function parameters are separated.“list_sep“: “, “, // This is how list items are separated.“subscript_sep“: “=“, // This is how subscripts are separated.“dict_colon“: “: “, // This separates dictionary keys from values.“slice_colon“: “:“, // this separates the start:end indices of slices.“comment_prefix“: “# “, // This is the sentinel that marks the beginning of a commentary string.“shebang“: “#!/usr/bin/env python“, // Hashbang, a line-one comment naming the Python interpreter to Unix shells.“boilerplate“: ““, // Standard code block (if any). This is inserted after the module doc string on output.“blank_line“: ““, // This is how a blank line is to appear (up to the newline character).“keep_blank_lines“: true, // If true, preserve one blank where blank(s) are encountered.“add_blank_lines_around_comments“: true, // If true, set off comment blocks with blanks.“add_blank_line_after_doc_string“: true, // If true, add blank line after doc strings.“max_seps_func_def“: 3, // Split lines containing longer function definitions.“max_seps_func_ref“: 5, // Split lines containing longer function calls.“max_seps_series“: 5, // Split lines containing longer lists or tuples.“max_seps_dict“: 3, // Split lines containing longer dictionary definitions.“max_lines_before_split_lit“: 2, // Split string literals containing more newline characters.“left_margin“: ““, // This is how the left margin is to appear.“normalize_doc_strings“: false, // If true, normalize white space in doc strings.“leftjust_doc_strings“: false, // If true, left justify doc strings.“wrap_doc_strings“: false, // If true, wrap doc strings to max_char.“leftjust_comments“: false, // If true, left justify comments.“wrap_comments“: false, // If true, wrap comments to max_char.“double_quoted_strings“: false, // If true, use quotes instead of apostrophes for string literals.“single_quoted_strings“: false, // If true, use apostrophes instead of quotes for string literals.“can_split_strings“: false, // If true, longer strings are split at the max_char.“doc_tab_replacement“: “....“, // This literal replaces tab characters in doc strings and comments.// Optionally preserve unassigned constants so that code to be tidied// may contain blocks of commented-out lines that have been no-op’ed// with leading and trailing triple quotes. Python scripts may declare// constants without assigning them to a variables, but CodeFormatter// considers this wasteful and normally elides them.“keep_unassigned_constants“: false,// Optionally omit parentheses around tuples, which are superfluous// after all. Normal CodeFormatter behavior will be still to include them// as a sort of tuple display analogous to list displays, dict// displays, and yet-to-come set displays.“parenthesize_tuple_display“: true,// When CodeFormatter splits longer lines because max_seps// are exceeded, the statement normally is closed before the margin is// restored. The closing bracket, brace, or parenthesis is placed at the// current indent level. This looks ugly to “C“ programmers. When// java_style_list_dedent is True, the closing bracket, brace, or// parenthesis is brought back left to the indent level of the enclosing// statement.“java_style_list_dedent“: false},“codeformatter_vbscript_options“:{“syntaxes“: “vbscript“, // Syntax names which must process VBScript formatter“format_on_save“: false, // Format on save. Either a boolean (true/false) or a string regexp tested on filename. Example : “^((?!.min.|vendor).)*$““indent_size“: 1, // indentation size“indent_char“: “ “, // Indentation character“indent_with_tabs“: true, // Indent with one tab (overrides indent_size and indent_char options)“preserve_newlines“: true, // Preserve existing line-breaks“max_preserve_newlines“: 10, // Maximum number of line-breaks to be preserved in one chunk“opening_tags“: “^(Function .*|Sub .*|If .* Then|For .*|Do While .*|Select Case.*)“, // List of keywords which open a new block“middle_tags“: “^(Else|ElseIf .* Then|Case .*)$“, // List of keywords which divide a block, but neither open or close the block“closing_tags“: “(End Function|End Sub|End If|Next|Loop|End Select)$“ // List of keywords which close an open block},“codeformatter_coldfusion_options“:{“syntaxes“: “coldfusion,cfm,cfml“, // Syntax names which must process Coldfusion Markup Language formatter“format_on_save“: false, // Format on save. Either a boolean (true/false) or a string regexp tested on filename. Example : “^((?!.min.|vendor).)*$““indent_size“: 2, // indentation size“indent_char“: “ “, // Indentation character“indent_with_tabs“: false, // Indent with one tab (overrides indent_size and indent_char options)“exception_on_tag_mismatch“: false, // If the last closing tag is not at the same indentation level as the first opening tag, there’s probably a tag mismatch in the file“expand_javascript“: false, // (Under construction) Expand JavaScript inside of 《script》 tags (also affects CSS purely by coincidence)“expand_tags“: false, // Expand tag attributes onto new lines“minimum_attribute_count“: 2, // Minimum number of attributes needed before tag attributes are expanded to new lines“first_attribute_on_new_line“: false, // Put all attributes on separate lines from the tag (only uses 1 indentation unit as opposed to lining all attributes up with the first)“reduce_empty_tags“: false, // Put closing tags on same line as opening tag if there is no content between them“reduce_whole_word_tags“: false, // Put closing tags on same line as opening tag if there is whole word between them“custom_singletons“: ““ // Custom singleton tags for various template languages outside of the HTML5 spec}}

|Case .*)$“, // List of keywords which divide a block, but neither open or close the block
“closing_tags“: “(End Function|

{“codeformatter_debug“: false,“codeformatter_php_options“:{“syntaxes“: “php“, // Syntax names which must process PHP formatter“php_path“: “这里改成你php的路径“, // Path for PHP executable, e.g. “/usr/lib/php“ or “C:/Program Files/PHP/php.exe“. If empty, uses command “php“ from system environments“format_on_save“: false, // Format on save. Either a boolean (true/false) or a string regexp tested on filename. Example : “^((?!.min.|vendor).)*$““php55_compat“: false, // PHP 5.5 compatible mode“psr1“: false, // Activate PSR1 style“psr1_naming“: false, // Activate PSR1 style - Section 3 and 4.3 - Class and method names case“psr2“: true, // Activate PSR2 style“indent_with_space“: 4, // Use spaces instead of tabs for indentation“enable_auto_align“: true, // Enable auto align of = and =》“visibility_order“: true, // Fixes visibility order for method in classes - PSR-2 4.2“smart_linebreak_after_curly“: true, // Convert multistatement blocks into multiline blocks// Enable specific transformations. Example: // You can list all available transformations from command palette: CodeFormatter: Show PHP Transformations“passes“: ,// Disable specific transformations“excludes“: },“codeformatter_js_options“:{“syntaxes“: “javascript,json“, // Syntax names which must process JS formatter“format_on_save“: false, // Format on save. Either a boolean (true/false) or a string regexp tested on filename. Example : “^((?!.min.|vendor).)*$““indent_size“: 4, // indentation size“indent_char“: “ “, // Indent character“indent_with_tabs“: false, // Indent with one tab (overrides indent_size and indent_char options)“eol“: “ “, // EOL symbol“preserve_newlines“: false, // whether existing line breaks should be preserved,“max_preserve_newlines“: 10, // maximum number of line breaks to be preserved in one chunk“space_in_paren“: false, // Add padding spaces within paren, ie. f( a, b )“space_in_empty_paren“: false, // Add padding spaces within paren if parent empty, ie. f( )“e4x“: false, // Pass E4X xml literals through untouched“jslint_happy“: false, // if true, then jslint-stricter mode is enforced. Example function () vs function()“space_after_anon_function“: false, // Space after anonimouse functions“brace_style“: “collapse“, // “collapse“ | “expand“ | “end-expand“. put braces on the same line as control statements (default), or put braces on own line (Allman / ANSI style), or just put end braces on own line.“keep_array_indentation“: false, // keep array indentation.“keep_function_indentation“: false, // keep function indentation.“eval_code“: false, // eval code“unescape_strings“: false, // Decode printable characters encoded in xNN notation“wrap_line_length“: 0, // Wrap lines at next opportunity after N characters“unindent_chained_methods“: false, // Unindent chained method calls“break_chained_methods“: false, // Break chained method calls across subsequent lines“end_with_newline“: false, // Add new line at end of file“comma_first“: false, // Add comma first“operator_position“: “before-newline“ // Operator position: before-newline, after-newline, preserve-newline},“codeformatter_css_options“:{“syntaxes“: “css,less“, // Syntax names which must process CSS formatter“format_on_save“: false, // Format on save. Either a boolean (true/false) or a string regexp tested on filename. Example : “^((?!.min.|vendor).)*$““indent_size“: 4, // Indentation size“indent_char“: “ “, // Indentation character“indent_with_tabs“: false, // Indent with one tab (overrides indent_size and indent_char options)“selector_separator_newline“: false, // Add new lines after selector separators“end_with_newline“: false, // Add new line of end in file“newline_between_rules“: false, // Add new line between rules“space_around_combinator“: false, // Space around combinator“eol“: “ “ // EOL symbol},“codeformatter_scss_options“:{“syntaxes“: “scss,sass“, // Indentation size“format_on_save“: false, // Format on save. Either a boolean (true/false) or a string regexp tested on filename. Example : “^((?!.min.|vendor).)*$““indent_size“: 4, // Indentation size“indent_char“: “ “, // Indentation character“indent_with_tabs“: false, // Indent with one tab (overrides indent_size and indent_char options)“selector_separator_newline“: false, // Add new lines after selector separators“end_with_newline“: false, // Add new line of end in file“newline_between_rules“: false, // Add new line between rules“space_around_combinator“: false, // Space around combinator“eol“: “ “ // EOL symbol},“codeformatter_html_options“:{“syntaxes“: “html,blade,asp,xml“, // Syntax names which must process HTML formatter“format_on_save“: false, // Format on save. Either a boolean (true/false) or a string regexp tested on filename. Example : “^((?!.min.|vendor).)*$““formatter_version“: “bs4“, // Which formatter to use. Current options are “bs4“ and “regexp“. If an error occurs while loading the bs4 formatter, the regexp formatter will automatically be used“indent_size“: 4, // indentation size“indent_char“: “ “, // Indentation character“indent_with_tabs“: false, // Indent with one tab (overrides indent_size and indent_char options)“exception_on_tag_mismatch“: false, // If the last closing tag is not at the same indentation level as the first opening tag, there’s probably a tag mismatch in the file“expand_javascript“: false, // (Under construction) Expand JavaScript inside of 《script》 tags (also affects CSS purely by coincidence)“expand_tags“: false, // Expand tag attributes onto new lines“minimum_attribute_count“: 2, // Minimum number of attributes needed before tag attributes are expanded to new lines“first_attribute_on_new_line“: false, // Put all attributes on separate lines from the tag (only uses 1 indentation unit as opposed to lining all attributes up with the first)“reduce_empty_tags“: false, // Put closing tags on same line as opening tag if there is no content between them“reduce_whole_word_tags“: false, // Put closing tags on same line as opening tag if there is whole word between them“custom_singletons“: ““ // Custom singleton tags for various template languages outside of the HTML5 spec},“codeformatter_python_options“:{“syntaxes“: “python“, // Syntax names which must process Python formatter“format_on_save“: false, // Format on save. Either a boolean (true/false) or a string regexp tested on filename. Example : “^((?!.min.|vendor).)*$““indent_size“: 1, // indentation size“indent_with_tabs“: true, // Indent with tabs or spaces“max_char“: 80, // Width of output lines in characters.“assignment“: “ = “, // This is how the assignment operator is to appear.“function_param_assignment“: “=“, // This is how function-parameter assignment should appear.“function_param_sep“: “, “, // This is how function parameters are separated.“list_sep“: “, “, // This is how list items are separated.“subscript_sep“: “=“, // This is how subscripts are separated.“dict_colon“: “: “, // This separates dictionary keys from values.“slice_colon“: “:“, // this separates the start:end indices of slices.“comment_prefix“: “# “, // This is the sentinel that marks the beginning of a commentary string.“shebang“: “#!/usr/bin/env python“, // Hashbang, a line-one comment naming the Python interpreter to Unix shells.“boilerplate“: ““, // Standard code block (if any). This is inserted after the module doc string on output.“blank_line“: ““, // This is how a blank line is to appear (up to the newline character).“keep_blank_lines“: true, // If true, preserve one blank where blank(s) are encountered.“add_blank_lines_around_comments“: true, // If true, set off comment blocks with blanks.“add_blank_line_after_doc_string“: true, // If true, add blank line after doc strings.“max_seps_func_def“: 3, // Split lines containing longer function definitions.“max_seps_func_ref“: 5, // Split lines containing longer function calls.“max_seps_series“: 5, // Split lines containing longer lists or tuples.“max_seps_dict“: 3, // Split lines containing longer dictionary definitions.“max_lines_before_split_lit“: 2, // Split string literals containing more newline characters.“left_margin“: ““, // This is how the left margin is to appear.“normalize_doc_strings“: false, // If true, normalize white space in doc strings.“leftjust_doc_strings“: false, // If true, left justify doc strings.“wrap_doc_strings“: false, // If true, wrap doc strings to max_char.“leftjust_comments“: false, // If true, left justify comments.“wrap_comments“: false, // If true, wrap comments to max_char.“double_quoted_strings“: false, // If true, use quotes instead of apostrophes for string literals.“single_quoted_strings“: false, // If true, use apostrophes instead of quotes for string literals.“can_split_strings“: false, // If true, longer strings are split at the max_char.“doc_tab_replacement“: “....“, // This literal replaces tab characters in doc strings and comments.// Optionally preserve unassigned constants so that code to be tidied// may contain blocks of commented-out lines that have been no-op’ed// with leading and trailing triple quotes. Python scripts may declare// constants without assigning them to a variables, but CodeFormatter// considers this wasteful and normally elides them.“keep_unassigned_constants“: false,// Optionally omit parentheses around tuples, which are superfluous// after all. Normal CodeFormatter behavior will be still to include them// as a sort of tuple display analogous to list displays, dict// displays, and yet-to-come set displays.“parenthesize_tuple_display“: true,// When CodeFormatter splits longer lines because max_seps// are exceeded, the statement normally is closed before the margin is// restored. The closing bracket, brace, or parenthesis is placed at the// current indent level. This looks ugly to “C“ programmers. When// java_style_list_dedent is True, the closing bracket, brace, or// parenthesis is brought back left to the indent level of the enclosing// statement.“java_style_list_dedent“: false},“codeformatter_vbscript_options“:{“syntaxes“: “vbscript“, // Syntax names which must process VBScript formatter“format_on_save“: false, // Format on save. Either a boolean (true/false) or a string regexp tested on filename. Example : “^((?!.min.|vendor).)*$““indent_size“: 1, // indentation size“indent_char“: “ “, // Indentation character“indent_with_tabs“: true, // Indent with one tab (overrides indent_size and indent_char options)“preserve_newlines“: true, // Preserve existing line-breaks“max_preserve_newlines“: 10, // Maximum number of line-breaks to be preserved in one chunk“opening_tags“: “^(Function .*|Sub .*|If .* Then|For .*|Do While .*|Select Case.*)“, // List of keywords which open a new block“middle_tags“: “^(Else|ElseIf .* Then|Case .*)$“, // List of keywords which divide a block, but neither open or close the block“closing_tags“: “(End Function|End Sub|End If|Next|Loop|End Select)$“ // List of keywords which close an open block},“codeformatter_coldfusion_options“:{“syntaxes“: “coldfusion,cfm,cfml“, // Syntax names which must process Coldfusion Markup Language formatter“format_on_save“: false, // Format on save. Either a boolean (true/false) or a string regexp tested on filename. Example : “^((?!.min.|vendor).)*$““indent_size“: 2, // indentation size“indent_char“: “ “, // Indentation character“indent_with_tabs“: false, // Indent with one tab (overrides indent_size and indent_char options)“exception_on_tag_mismatch“: false, // If the last closing tag is not at the same indentation level as the first opening tag, there’s probably a tag mismatch in the file“expand_javascript“: false, // (Under construction) Expand JavaScript inside of 《script》 tags (also affects CSS purely by coincidence)“expand_tags“: false, // Expand tag attributes onto new lines“minimum_attribute_count“: 2, // Minimum number of attributes needed before tag attributes are expanded to new lines“first_attribute_on_new_line“: false, // Put all attributes on separate lines from the tag (only uses 1 indentation unit as opposed to lining all attributes up with the first)“reduce_empty_tags“: false, // Put closing tags on same line as opening tag if there is no content between them“reduce_whole_word_tags“: false, // Put closing tags on same line as opening tag if there is whole word between them“custom_singletons“: ““ // Custom singleton tags for various template languages outside of the HTML5 spec}}

|

{“codeformatter_debug“: false,“codeformatter_php_options“:{“syntaxes“: “php“, // Syntax names which must process PHP formatter“php_path“: “这里改成你php的路径“, // Path for PHP executable, e.g. “/usr/lib/php“ or “C:/Program Files/PHP/php.exe“. If empty, uses command “php“ from system environments“format_on_save“: false, // Format on save. Either a boolean (true/false) or a string regexp tested on filename. Example : “^((?!.min.|vendor).)*$““php55_compat“: false, // PHP 5.5 compatible mode“psr1“: false, // Activate PSR1 style“psr1_naming“: false, // Activate PSR1 style - Section 3 and 4.3 - Class and method names case“psr2“: true, // Activate PSR2 style“indent_with_space“: 4, // Use spaces instead of tabs for indentation“enable_auto_align“: true, // Enable auto align of = and =》“visibility_order“: true, // Fixes visibility order for method in classes - PSR-2 4.2“smart_linebreak_after_curly“: true, // Convert multistatement blocks into multiline blocks// Enable specific transformations. Example: // You can list all available transformations from command palette: CodeFormatter: Show PHP Transformations“passes“: ,// Disable specific transformations“excludes“: },“codeformatter_js_options“:{“syntaxes“: “javascript,json“, // Syntax names which must process JS formatter“format_on_save“: false, // Format on save. Either a boolean (true/false) or a string regexp tested on filename. Example : “^((?!.min.|vendor).)*$““indent_size“: 4, // indentation size“indent_char“: “ “, // Indent character“indent_with_tabs“: false, // Indent with one tab (overrides indent_size and indent_char options)“eol“: “ “, // EOL symbol“preserve_newlines“: false, // whether existing line breaks should be preserved,“max_preserve_newlines“: 10, // maximum number of line breaks to be preserved in one chunk“space_in_paren“: false, // Add padding spaces within paren, ie. f( a, b )“space_in_empty_paren“: false, // Add padding spaces within paren if parent empty, ie. f( )“e4x“: false, // Pass E4X xml literals through untouched“jslint_happy“: false, // if true, then jslint-stricter mode is enforced. Example function () vs function()“space_after_anon_function“: false, // Space after anonimouse functions“brace_style“: “collapse“, // “collapse“ | “expand“ | “end-expand“. put braces on the same line as control statements (default), or put braces on own line (Allman / ANSI style), or just put end braces on own line.“keep_array_indentation“: false, // keep array indentation.“keep_function_indentation“: false, // keep function indentation.“eval_code“: false, // eval code“unescape_strings“: false, // Decode printable characters encoded in xNN notation“wrap_line_length“: 0, // Wrap lines at next opportunity after N characters“unindent_chained_methods“: false, // Unindent chained method calls“break_chained_methods“: false, // Break chained method calls across subsequent lines“end_with_newline“: false, // Add new line at end of file“comma_first“: false, // Add comma first“operator_position“: “before-newline“ // Operator position: before-newline, after-newline, preserve-newline},“codeformatter_css_options“:{“syntaxes“: “css,less“, // Syntax names which must process CSS formatter“format_on_save“: false, // Format on save. Either a boolean (true/false) or a string regexp tested on filename. Example : “^((?!.min.|vendor).)*$““indent_size“: 4, // Indentation size“indent_char“: “ “, // Indentation character“indent_with_tabs“: false, // Indent with one tab (overrides indent_size and indent_char options)“selector_separator_newline“: false, // Add new lines after selector separators“end_with_newline“: false, // Add new line of end in file“newline_between_rules“: false, // Add new line between rules“space_around_combinator“: false, // Space around combinator“eol“: “ “ // EOL symbol},“codeformatter_scss_options“:{“syntaxes“: “scss,sass“, // Indentation size“format_on_save“: false, // Format on save. Either a boolean (true/false) or a string regexp tested on filename. Example : “^((?!.min.|vendor).)*$““indent_size“: 4, // Indentation size“indent_char“: “ “, // Indentation character“indent_with_tabs“: false, // Indent with one tab (overrides indent_size and indent_char options)“selector_separator_newline“: false, // Add new lines after selector separators“end_with_newline“: false, // Add new line of end in file“newline_between_rules“: false, // Add new line between rules“space_around_combinator“: false, // Space around combinator“eol“: “ “ // EOL symbol},“codeformatter_html_options“:{“syntaxes“: “html,blade,asp,xml“, // Syntax names which must process HTML formatter“format_on_save“: false, // Format on save. Either a boolean (true/false) or a string regexp tested on filename. Example : “^((?!.min.|vendor).)*$““formatter_version“: “bs4“, // Which formatter to use. Current options are “bs4“ and “regexp“. If an error occurs while loading the bs4 formatter, the regexp formatter will automatically be used“indent_size“: 4, // indentation size“indent_char“: “ “, // Indentation character“indent_with_tabs“: false, // Indent with one tab (overrides indent_size and indent_char options)“exception_on_tag_mismatch“: false, // If the last closing tag is not at the same indentation level as the first opening tag, there’s probably a tag mismatch in the file“expand_javascript“: false, // (Under construction) Expand JavaScript inside of 《script》 tags (also affects CSS purely by coincidence)“expand_tags“: false, // Expand tag attributes onto new lines“minimum_attribute_count“: 2, // Minimum number of attributes needed before tag attributes are expanded to new lines“first_attribute_on_new_line“: false, // Put all attributes on separate lines from the tag (only uses 1 indentation unit as opposed to lining all attributes up with the first)“reduce_empty_tags“: false, // Put closing tags on same line as opening tag if there is no content between them“reduce_whole_word_tags“: false, // Put closing tags on same line as opening tag if there is whole word between them“custom_singletons“: ““ // Custom singleton tags for various template languages outside of the HTML5 spec},“codeformatter_python_options“:{“syntaxes“: “python“, // Syntax names which must process Python formatter“format_on_save“: false, // Format on save. Either a boolean (true/false) or a string regexp tested on filename. Example : “^((?!.min.|vendor).)*$““indent_size“: 1, // indentation size“indent_with_tabs“: true, // Indent with tabs or spaces“max_char“: 80, // Width of output lines in characters.“assignment“: “ = “, // This is how the assignment operator is to appear.“function_param_assignment“: “=“, // This is how function-parameter assignment should appear.“function_param_sep“: “, “, // This is how function parameters are separated.“list_sep“: “, “, // This is how list items are separated.“subscript_sep“: “=“, // This is how subscripts are separated.“dict_colon“: “: “, // This separates dictionary keys from values.“slice_colon“: “:“, // this separates the start:end indices of slices.“comment_prefix“: “# “, // This is the sentinel that marks the beginning of a commentary string.“shebang“: “#!/usr/bin/env python“, // Hashbang, a line-one comment naming the Python interpreter to Unix shells.“boilerplate“: ““, // Standard code block (if any). This is inserted after the module doc string on output.“blank_line“: ““, // This is how a blank line is to appear (up to the newline character).“keep_blank_lines“: true, // If true, preserve one blank where blank(s) are encountered.“add_blank_lines_around_comments“: true, // If true, set off comment blocks with blanks.“add_blank_line_after_doc_string“: true, // If true, add blank line after doc strings.“max_seps_func_def“: 3, // Split lines containing longer function definitions.“max_seps_func_ref“: 5, // Split lines containing longer function calls.“max_seps_series“: 5, // Split lines containing longer lists or tuples.“max_seps_dict“: 3, // Split lines containing longer dictionary definitions.“max_lines_before_split_lit“: 2, // Split string literals containing more newline characters.“left_margin“: ““, // This is how the left margin is to appear.“normalize_doc_strings“: false, // If true, normalize white space in doc strings.“leftjust_doc_strings“: false, // If true, left justify doc strings.“wrap_doc_strings“: false, // If true, wrap doc strings to max_char.“leftjust_comments“: false, // If true, left justify comments.“wrap_comments“: false, // If true, wrap comments to max_char.“double_quoted_strings“: false, // If true, use quotes instead of apostrophes for string literals.“single_quoted_strings“: false, // If true, use apostrophes instead of quotes for string literals.“can_split_strings“: false, // If true, longer strings are split at the max_char.“doc_tab_replacement“: “....“, // This literal replaces tab characters in doc strings and comments.// Optionally preserve unassigned constants so that code to be tidied// may contain blocks of commented-out lines that have been no-op’ed// with leading and trailing triple quotes. Python scripts may declare// constants without assigning them to a variables, but CodeFormatter// considers this wasteful and normally elides them.“keep_unassigned_constants“: false,// Optionally omit parentheses around tuples, which are superfluous// after all. Normal CodeFormatter behavior will be still to include them// as a sort of tuple display analogous to list displays, dict// displays, and yet-to-come set displays.“parenthesize_tuple_display“: true,// When CodeFormatter splits longer lines because max_seps// are exceeded, the statement normally is closed before the margin is// restored. The closing bracket, brace, or parenthesis is placed at the// current indent level. This looks ugly to “C“ programmers. When// java_style_list_dedent is True, the closing bracket, brace, or// parenthesis is brought back left to the indent level of the enclosing// statement.“java_style_list_dedent“: false},“codeformatter_vbscript_options“:{“syntaxes“: “vbscript“, // Syntax names which must process VBScript formatter“format_on_save“: false, // Format on save. Either a boolean (true/false) or a string regexp tested on filename. Example : “^((?!.min.|vendor).)*$““indent_size“: 1, // indentation size“indent_char“: “ “, // Indentation character“indent_with_tabs“: true, // Indent with one tab (overrides indent_size and indent_char options)“preserve_newlines“: true, // Preserve existing line-breaks“max_preserve_newlines“: 10, // Maximum number of line-breaks to be preserved in one chunk“opening_tags“: “^(Function .*|Sub .*|If .* Then|For .*|Do While .*|Select Case.*)“, // List of keywords which open a new block“middle_tags“: “^(Else|ElseIf .* Then|Case .*)$“, // List of keywords which divide a block, but neither open or close the block“closing_tags“: “(End Function|End Sub|End If|Next|Loop|End Select)$“ // List of keywords which close an open block},“codeformatter_coldfusion_options“:{“syntaxes“: “coldfusion,cfm,cfml“, // Syntax names which must process Coldfusion Markup Language formatter“format_on_save“: false, // Format on save. Either a boolean (true/false) or a string regexp tested on filename. Example : “^((?!.min.|vendor).)*$““indent_size“: 2, // indentation size“indent_char“: “ “, // Indentation character“indent_with_tabs“: false, // Indent with one tab (overrides indent_size and indent_char options)“exception_on_tag_mismatch“: false, // If the last closing tag is not at the same indentation level as the first opening tag, there’s probably a tag mismatch in the file“expand_javascript“: false, // (Under construction) Expand JavaScript inside of 《script》 tags (also affects CSS purely by coincidence)“expand_tags“: false, // Expand tag attributes onto new lines“minimum_attribute_count“: 2, // Minimum number of attributes needed before tag attributes are expanded to new lines“first_attribute_on_new_line“: false, // Put all attributes on separate lines from the tag (only uses 1 indentation unit as opposed to lining all attributes up with the first)“reduce_empty_tags“: false, // Put closing tags on same line as opening tag if there is no content between them“reduce_whole_word_tags“: false, // Put closing tags on same line as opening tag if there is whole word between them“custom_singletons“: ““ // Custom singleton tags for various template languages outside of the HTML5 spec}}

|

{“codeformatter_debug“: false,“codeformatter_php_options“:{“syntaxes“: “php“, // Syntax names which must process PHP formatter“php_path“: “这里改成你php的路径“, // Path for PHP executable, e.g. “/usr/lib/php“ or “C:/Program Files/PHP/php.exe“. If empty, uses command “php“ from system environments“format_on_save“: false, // Format on save. Either a boolean (true/false) or a string regexp tested on filename. Example : “^((?!.min.|vendor).)*$““php55_compat“: false, // PHP 5.5 compatible mode“psr1“: false, // Activate PSR1 style“psr1_naming“: false, // Activate PSR1 style - Section 3 and 4.3 - Class and method names case“psr2“: true, // Activate PSR2 style“indent_with_space“: 4, // Use spaces instead of tabs for indentation“enable_auto_align“: true, // Enable auto align of = and =》“visibility_order“: true, // Fixes visibility order for method in classes - PSR-2 4.2“smart_linebreak_after_curly“: true, // Convert multistatement blocks into multiline blocks// Enable specific transformations. Example: // You can list all available transformations from command palette: CodeFormatter: Show PHP Transformations“passes“: ,// Disable specific transformations“excludes“: },“codeformatter_js_options“:{“syntaxes“: “javascript,json“, // Syntax names which must process JS formatter“format_on_save“: false, // Format on save. Either a boolean (true/false) or a string regexp tested on filename. Example : “^((?!.min.|vendor).)*$““indent_size“: 4, // indentation size“indent_char“: “ “, // Indent character“indent_with_tabs“: false, // Indent with one tab (overrides indent_size and indent_char options)“eol“: “ “, // EOL symbol“preserve_newlines“: false, // whether existing line breaks should be preserved,“max_preserve_newlines“: 10, // maximum number of line breaks to be preserved in one chunk“space_in_paren“: false, // Add padding spaces within paren, ie. f( a, b )“space_in_empty_paren“: false, // Add padding spaces within paren if parent empty, ie. f( )“e4x“: false, // Pass E4X xml literals through untouched“jslint_happy“: false, // if true, then jslint-stricter mode is enforced. Example function () vs function()“space_after_anon_function“: false, // Space after anonimouse functions“brace_style“: “collapse“, // “collapse“ | “expand“ | “end-expand“. put braces on the same line as control statements (default), or put braces on own line (Allman / ANSI style), or just put end braces on own line.“keep_array_indentation“: false, // keep array indentation.“keep_function_indentation“: false, // keep function indentation.“eval_code“: false, // eval code“unescape_strings“: false, // Decode printable characters encoded in xNN notation“wrap_line_length“: 0, // Wrap lines at next opportunity after N characters“unindent_chained_methods“: false, // Unindent chained method calls“break_chained_methods“: false, // Break chained method calls across subsequent lines“end_with_newline“: false, // Add new line at end of file“comma_first“: false, // Add comma first“operator_position“: “before-newline“ // Operator position: before-newline, after-newline, preserve-newline},“codeformatter_css_options“:{“syntaxes“: “css,less“, // Syntax names which must process CSS formatter“format_on_save“: false, // Format on save. Either a boolean (true/false) or a string regexp tested on filename. Example : “^((?!.min.|vendor).)*$““indent_size“: 4, // Indentation size“indent_char“: “ “, // Indentation character“indent_with_tabs“: false, // Indent with one tab (overrides indent_size and indent_char options)“selector_separator_newline“: false, // Add new lines after selector separators“end_with_newline“: false, // Add new line of end in file“newline_between_rules“: false, // Add new line between rules“space_around_combinator“: false, // Space around combinator“eol“: “ “ // EOL symbol},“codeformatter_scss_options“:{“syntaxes“: “scss,sass“, // Indentation size“format_on_save“: false, // Format on save. Either a boolean (true/false) or a string regexp tested on filename. Example : “^((?!.min.|vendor).)*$““indent_size“: 4, // Indentation size“indent_char“: “ “, // Indentation character“indent_with_tabs“: false, // Indent with one tab (overrides indent_size and indent_char options)“selector_separator_newline“: false, // Add new lines after selector separators“end_with_newline“: false, // Add new line of end in file“newline_between_rules“: false, // Add new line between rules“space_around_combinator“: false, // Space around combinator“eol“: “ “ // EOL symbol},“codeformatter_html_options“:{“syntaxes“: “html,blade,asp,xml“, // Syntax names which must process HTML formatter“format_on_save“: false, // Format on save. Either a boolean (true/false) or a string regexp tested on filename. Example : “^((?!.min.|vendor).)*$““formatter_version“: “bs4“, // Which formatter to use. Current options are “bs4“ and “regexp“. If an error occurs while loading the bs4 formatter, the regexp formatter will automatically be used“indent_size“: 4, // indentation size“indent_char“: “ “, // Indentation character“indent_with_tabs“: false, // Indent with one tab (overrides indent_size and indent_char options)“exception_on_tag_mismatch“: false, // If the last closing tag is not at the same indentation level as the first opening tag, there’s probably a tag mismatch in the file“expand_javascript“: false, // (Under construction) Expand JavaScript inside of 《script》 tags (also affects CSS purely by coincidence)“expand_tags“: false, // Expand tag attributes onto new lines“minimum_attribute_count“: 2, // Minimum number of attributes needed before tag attributes are expanded to new lines“first_attribute_on_new_line“: false, // Put all attributes on separate lines from the tag (only uses 1 indentation unit as opposed to lining all attributes up with the first)“reduce_empty_tags“: false, // Put closing tags on same line as opening tag if there is no content between them“reduce_whole_word_tags“: false, // Put closing tags on same line as opening tag if there is whole word between them“custom_singletons“: ““ // Custom singleton tags for various template languages outside of the HTML5 spec},“codeformatter_python_options“:{“syntaxes“: “python“, // Syntax names which must process Python formatter“format_on_save“: false, // Format on save. Either a boolean (true/false) or a string regexp tested on filename. Example : “^((?!.min.|vendor).)*$““indent_size“: 1, // indentation size“indent_with_tabs“: true, // Indent with tabs or spaces“max_char“: 80, // Width of output lines in characters.“assignment“: “ = “, // This is how the assignment operator is to appear.“function_param_assignment“: “=“, // This is how function-parameter assignment should appear.“function_param_sep“: “, “, // This is how function parameters are separated.“list_sep“: “, “, // This is how list items are separated.“subscript_sep“: “=“, // This is how subscripts are separated.“dict_colon“: “: “, // This separates dictionary keys from values.“slice_colon“: “:“, // this separates the start:end indices of slices.“comment_prefix“: “# “, // This is the sentinel that marks the beginning of a commentary string.“shebang“: “#!/usr/bin/env python“, // Hashbang, a line-one comment naming the Python interpreter to Unix shells.“boilerplate“: ““, // Standard code block (if any). This is inserted after the module doc string on output.“blank_line“: ““, // This is how a blank line is to appear (up to the newline character).“keep_blank_lines“: true, // If true, preserve one blank where blank(s) are encountered.“add_blank_lines_around_comments“: true, // If true, set off comment blocks with blanks.“add_blank_line_after_doc_string“: true, // If true, add blank line after doc strings.“max_seps_func_def“: 3, // Split lines containing longer function definitions.“max_seps_func_ref“: 5, // Split lines containing longer function calls.“max_seps_series“: 5, // Split lines containing longer lists or tuples.“max_seps_dict“: 3, // Split lines containing longer dictionary definitions.“max_lines_before_split_lit“: 2, // Split string literals containing more newline characters.“left_margin“: ““, // This is how the left margin is to appear.“normalize_doc_strings“: false, // If true, normalize white space in doc strings.“leftjust_doc_strings“: false, // If true, left justify doc strings.“wrap_doc_strings“: false, // If true, wrap doc strings to max_char.“leftjust_comments“: false, // If true, left justify comments.“wrap_comments“: false, // If true, wrap comments to max_char.“double_quoted_strings“: false, // If true, use quotes instead of apostrophes for string literals.“single_quoted_strings“: false, // If true, use apostrophes instead of quotes for string literals.“can_split_strings“: false, // If true, longer strings are split at the max_char.“doc_tab_replacement“: “....“, // This literal replaces tab characters in doc strings and comments.// Optionally preserve unassigned constants so that code to be tidied// may contain blocks of commented-out lines that have been no-op’ed// with leading and trailing triple quotes. Python scripts may declare// constants without assigning them to a variables, but CodeFormatter// considers this wasteful and normally elides them.“keep_unassigned_constants“: false,// Optionally omit parentheses around tuples, which are superfluous// after all. Normal CodeFormatter behavior will be still to include them// as a sort of tuple display analogous to list displays, dict// displays, and yet-to-come set displays.“parenthesize_tuple_display“: true,// When CodeFormatter splits longer lines because max_seps// are exceeded, the statement normally is closed before the margin is// restored. The closing bracket, brace, or parenthesis is placed at the// current indent level. This looks ugly to “C“ programmers. When// java_style_list_dedent is True, the closing bracket, brace, or// parenthesis is brought back left to the indent level of the enclosing// statement.“java_style_list_dedent“: false},“codeformatter_vbscript_options“:{“syntaxes“: “vbscript“, // Syntax names which must process VBScript formatter“format_on_save“: false, // Format on save. Either a boolean (true/false) or a string regexp tested on filename. Example : “^((?!.min.|vendor).)*$““indent_size“: 1, // indentation size“indent_char“: “ “, // Indentation character“indent_with_tabs“: true, // Indent with one tab (overrides indent_size and indent_char options)“preserve_newlines“: true, // Preserve existing line-breaks“max_preserve_newlines“: 10, // Maximum number of line-breaks to be preserved in one chunk“opening_tags“: “^(Function .*|Sub .*|If .* Then|For .*|Do While .*|Select Case.*)“, // List of keywords which open a new block“middle_tags“: “^(Else|ElseIf .* Then|Case .*)$“, // List of keywords which divide a block, but neither open or close the block“closing_tags“: “(End Function|End Sub|End If|Next|Loop|End Select)$“ // List of keywords which close an open block},“codeformatter_coldfusion_options“:{“syntaxes“: “coldfusion,cfm,cfml“, // Syntax names which must process Coldfusion Markup Language formatter“format_on_save“: false, // Format on save. Either a boolean (true/false) or a string regexp tested on filename. Example : “^((?!.min.|vendor).)*$““indent_size“: 2, // indentation size“indent_char“: “ “, // Indentation character“indent_with_tabs“: false, // Indent with one tab (overrides indent_size and indent_char options)“exception_on_tag_mismatch“: false, // If the last closing tag is not at the same indentation level as the first opening tag, there’s probably a tag mismatch in the file“expand_javascript“: false, // (Under construction) Expand JavaScript inside of 《script》 tags (also affects CSS purely by coincidence)“expand_tags“: false, // Expand tag attributes onto new lines“minimum_attribute_count“: 2, // Minimum number of attributes needed before tag attributes are expanded to new lines“first_attribute_on_new_line“: false, // Put all attributes on separate lines from the tag (only uses 1 indentation unit as opposed to lining all attributes up with the first)“reduce_empty_tags“: false, // Put closing tags on same line as opening tag if there is no content between them“reduce_whole_word_tags“: false, // Put closing tags on same line as opening tag if there is whole word between them“custom_singletons“: ““ // Custom singleton tags for various template languages outside of the HTML5 spec}}

|

{“codeformatter_debug“: false,“codeformatter_php_options“:{“syntaxes“: “php“, // Syntax names which must process PHP formatter“php_path“: “这里改成你php的路径“, // Path for PHP executable, e.g. “/usr/lib/php“ or “C:/Program Files/PHP/php.exe“. If empty, uses command “php“ from system environments“format_on_save“: false, // Format on save. Either a boolean (true/false) or a string regexp tested on filename. Example : “^((?!.min.|vendor).)*$““php55_compat“: false, // PHP 5.5 compatible mode“psr1“: false, // Activate PSR1 style“psr1_naming“: false, // Activate PSR1 style - Section 3 and 4.3 - Class and method names case“psr2“: true, // Activate PSR2 style“indent_with_space“: 4, // Use spaces instead of tabs for indentation“enable_auto_align“: true, // Enable auto align of = and =》“visibility_order“: true, // Fixes visibility order for method in classes - PSR-2 4.2“smart_linebreak_after_curly“: true, // Convert multistatement blocks into multiline blocks// Enable specific transformations. Example: // You can list all available transformations from command palette: CodeFormatter: Show PHP Transformations“passes“: ,// Disable specific transformations“excludes“: },“codeformatter_js_options“:{“syntaxes“: “javascript,json“, // Syntax names which must process JS formatter“format_on_save“: false, // Format on save. Either a boolean (true/false) or a string regexp tested on filename. Example : “^((?!.min.|vendor).)*$““indent_size“: 4, // indentation size“indent_char“: “ “, // Indent character“indent_with_tabs“: false, // Indent with one tab (overrides indent_size and indent_char options)“eol“: “ “, // EOL symbol“preserve_newlines“: false, // whether existing line breaks should be preserved,“max_preserve_newlines“: 10, // maximum number of line breaks to be preserved in one chunk“space_in_paren“: false, // Add padding spaces within paren, ie. f( a, b )“space_in_empty_paren“: false, // Add padding spaces within paren if parent empty, ie. f( )“e4x“: false, // Pass E4X xml literals through untouched“jslint_happy“: false, // if true, then jslint-stricter mode is enforced. Example function () vs function()“space_after_anon_function“: false, // Space after anonimouse functions“brace_style“: “collapse“, // “collapse“ | “expand“ | “end-expand“. put braces on the same line as control statements (default), or put braces on own line (Allman / ANSI style), or just put end braces on own line.“keep_array_indentation“: false, // keep array indentation.“keep_function_indentation“: false, // keep function indentation.“eval_code“: false, // eval code“unescape_strings“: false, // Decode printable characters encoded in xNN notation“wrap_line_length“: 0, // Wrap lines at next opportunity after N characters“unindent_chained_methods“: false, // Unindent chained method calls“break_chained_methods“: false, // Break chained method calls across subsequent lines“end_with_newline“: false, // Add new line at end of file“comma_first“: false, // Add comma first“operator_position“: “before-newline“ // Operator position: before-newline, after-newline, preserve-newline},“codeformatter_css_options“:{“syntaxes“: “css,less“, // Syntax names which must process CSS formatter“format_on_save“: false, // Format on save. Either a boolean (true/false) or a string regexp tested on filename. Example : “^((?!.min.|vendor).)*$““indent_size“: 4, // Indentation size“indent_char“: “ “, // Indentation character“indent_with_tabs“: false, // Indent with one tab (overrides indent_size and indent_char options)“selector_separator_newline“: false, // Add new lines after selector separators“end_with_newline“: false, // Add new line of end in file“newline_between_rules“: false, // Add new line between rules“space_around_combinator“: false, // Space around combinator“eol“: “ “ // EOL symbol},“codeformatter_scss_options“:{“syntaxes“: “scss,sass“, // Indentation size“format_on_save“: false, // Format on save. Either a boolean (true/false) or a string regexp tested on filename. Example : “^((?!.min.|vendor).)*$““indent_size“: 4, // Indentation size“indent_char“: “ “, // Indentation character“indent_with_tabs“: false, // Indent with one tab (overrides indent_size and indent_char options)“selector_separator_newline“: false, // Add new lines after selector separators“end_with_newline“: false, // Add new line of end in file“newline_between_rules“: false, // Add new line between rules“space_around_combinator“: false, // Space around combinator“eol“: “ “ // EOL symbol},“codeformatter_html_options“:{“syntaxes“: “html,blade,asp,xml“, // Syntax names which must process HTML formatter“format_on_save“: false, // Format on save. Either a boolean (true/false) or a string regexp tested on filename. Example : “^((?!.min.|vendor).)*$““formatter_version“: “bs4“, // Which formatter to use. Current options are “bs4“ and “regexp“. If an error occurs while loading the bs4 formatter, the regexp formatter will automatically be used“indent_size“: 4, // indentation size“indent_char“: “ “, // Indentation character“indent_with_tabs“: false, // Indent with one tab (overrides indent_size and indent_char options)“exception_on_tag_mismatch“: false, // If the last closing tag is not at the same indentation level as the first opening tag, there’s probably a tag mismatch in the file“expand_javascript“: false, // (Under construction) Expand JavaScript inside of 《script》 tags (also affects CSS purely by coincidence)“expand_tags“: false, // Expand tag attributes onto new lines“minimum_attribute_count“: 2, // Minimum number of attributes needed before tag attributes are expanded to new lines“first_attribute_on_new_line“: false, // Put all attributes on separate lines from the tag (only uses 1 indentation unit as opposed to lining all attributes up with the first)“reduce_empty_tags“: false, // Put closing tags on same line as opening tag if there is no content between them“reduce_whole_word_tags“: false, // Put closing tags on same line as opening tag if there is whole word between them“custom_singletons“: ““ // Custom singleton tags for various template languages outside of the HTML5 spec},“codeformatter_python_options“:{“syntaxes“: “python“, // Syntax names which must process Python formatter“format_on_save“: false, // Format on save. Either a boolean (true/false) or a string regexp tested on filename. Example : “^((?!.min.|vendor).)*$““indent_size“: 1, // indentation size“indent_with_tabs“: true, // Indent with tabs or spaces“max_char“: 80, // Width of output lines in characters.“assignment“: “ = “, // This is how the assignment operator is to appear.“function_param_assignment“: “=“, // This is how function-parameter assignment should appear.“function_param_sep“: “, “, // This is how function parameters are separated.“list_sep“: “, “, // This is how list items are separated.“subscript_sep“: “=“, // This is how subscripts are separated.“dict_colon“: “: “, // This separates dictionary keys from values.“slice_colon“: “:“, // this separates the start:end indices of slices.“comment_prefix“: “# “, // This is the sentinel that marks the beginning of a commentary string.“shebang“: “#!/usr/bin/env python“, // Hashbang, a line-one comment naming the Python interpreter to Unix shells.“boilerplate“: ““, // Standard code block (if any). This is inserted after the module doc string on output.“blank_line“: ““, // This is how a blank line is to appear (up to the newline character).“keep_blank_lines“: true, // If true, preserve one blank where blank(s) are encountered.“add_blank_lines_around_comments“: true, // If true, set off comment blocks with blanks.“add_blank_line_after_doc_string“: true, // If true, add blank line after doc strings.“max_seps_func_def“: 3, // Split lines containing longer function definitions.“max_seps_func_ref“: 5, // Split lines containing longer function calls.“max_seps_series“: 5, // Split lines containing longer lists or tuples.“max_seps_dict“: 3, // Split lines containing longer dictionary definitions.“max_lines_before_split_lit“: 2, // Split string literals containing more newline characters.“left_margin“: ““, // This is how the left margin is to appear.“normalize_doc_strings“: false, // If true, normalize white space in doc strings.“leftjust_doc_strings“: false, // If true, left justify doc strings.“wrap_doc_strings“: false, // If true, wrap doc strings to max_char.“leftjust_comments“: false, // If true, left justify comments.“wrap_comments“: false, // If true, wrap comments to max_char.“double_quoted_strings“: false, // If true, use quotes instead of apostrophes for string literals.“single_quoted_strings“: false, // If true, use apostrophes instead of quotes for string literals.“can_split_strings“: false, // If true, longer strings are split at the max_char.“doc_tab_replacement“: “....“, // This literal replaces tab characters in doc strings and comments.// Optionally preserve unassigned constants so that code to be tidied// may contain blocks of commented-out lines that have been no-op’ed// with leading and trailing triple quotes. Python scripts may declare// constants without assigning them to a variables, but CodeFormatter// considers this wasteful and normally elides them.“keep_unassigned_constants“: false,// Optionally omit parentheses around tuples, which are superfluous// after all. Normal CodeFormatter behavior will be still to include them// as a sort of tuple display analogous to list displays, dict// displays, and yet-to-come set displays.“parenthesize_tuple_display“: true,// When CodeFormatter splits longer lines because max_seps// are exceeded, the statement normally is closed before the margin is// restored. The closing bracket, brace, or parenthesis is placed at the// current indent level. This looks ugly to “C“ programmers. When// java_style_list_dedent is True, the closing bracket, brace, or// parenthesis is brought back left to the indent level of the enclosing// statement.“java_style_list_dedent“: false},“codeformatter_vbscript_options“:{“syntaxes“: “vbscript“, // Syntax names which must process VBScript formatter“format_on_save“: false, // Format on save. Either a boolean (true/false) or a string regexp tested on filename. Example : “^((?!.min.|vendor).)*$““indent_size“: 1, // indentation size“indent_char“: “ “, // Indentation character“indent_with_tabs“: true, // Indent with one tab (overrides indent_size and indent_char options)“preserve_newlines“: true, // Preserve existing line-breaks“max_preserve_newlines“: 10, // Maximum number of line-breaks to be preserved in one chunk“opening_tags“: “^(Function .*|Sub .*|If .* Then|For .*|Do While .*|Select Case.*)“, // List of keywords which open a new block“middle_tags“: “^(Else|ElseIf .* Then|Case .*)$“, // List of keywords which divide a block, but neither open or close the block“closing_tags“: “(End Function|End Sub|End If|Next|Loop|End Select)$“ // List of keywords which close an open block},“codeformatter_coldfusion_options“:{“syntaxes“: “coldfusion,cfm,cfml“, // Syntax names which must process Coldfusion Markup Language formatter“format_on_save“: false, // Format on save. Either a boolean (true/false) or a string regexp tested on filename. Example : “^((?!.min.|vendor).)*$““indent_size“: 2, // indentation size“indent_char“: “ “, // Indentation character“indent_with_tabs“: false, // Indent with one tab (overrides indent_size and indent_char options)“exception_on_tag_mismatch“: false, // If the last closing tag is not at the same indentation level as the first opening tag, there’s probably a tag mismatch in the file“expand_javascript“: false, // (Under construction) Expand JavaScript inside of 《script》 tags (also affects CSS purely by coincidence)“expand_tags“: false, // Expand tag attributes onto new lines“minimum_attribute_count“: 2, // Minimum number of attributes needed before tag attributes are expanded to new lines“first_attribute_on_new_line“: false, // Put all attributes on separate lines from the tag (only uses 1 indentation unit as opposed to lining all attributes up with the first)“reduce_empty_tags“: false, // Put closing tags on same line as opening tag if there is no content between them“reduce_whole_word_tags“: false, // Put closing tags on same line as opening tag if there is whole word between them“custom_singletons“: ““ // Custom singleton tags for various template languages outside of the HTML5 spec}}

|End Select)$“ // List of keywords which close an open block
},
“codeformatter_coldfusion_options“:
{
“syntaxes“: “coldfusion,cfm,cfml“, // Syntax names which must process Coldfusion Markup Language formatter
“format_on_save“: false, // Format on save. Either a boolean (true/false) or a string regexp tested on filename. Example : “^((?!.min.|vendor).)*$“
“indent_size“: 2, // indentation size
“indent_char“: “ “, // Indentation character
“indent_with_tabs“: false, // Indent with one tab (overrides indent_size and indent_char options)
“exception_on_tag_mismatch“: false, // If the last closing tag is not at the same indentation level as the first opening tag, there’s probably a tag mismatch in the file
“expand_javascript“: false, // (Under construction) Expand JavaScript inside of 《script》 tags (also affects CSS purely by coincidence)
“expand_tags“: false, // Expand tag attributes onto new lines
“minimum_attribute_count“: 2, // Minimum number of attributes needed before tag attributes are expanded to new lines
“first_attribute_on_new_line“: false, // Put all attributes on separate lines from the tag (only uses 1 indentation unit as opposed to lining all attributes up with the first)
“reduce_empty_tags“: false, // Put closing tags on same line as opening tag if there is no content between them
“reduce_whole_word_tags“: false, // Put closing tags on same line as opening tag if there is whole word between them
“custom_singletons“: ““ // Custom singleton tags for various template languages outside of the HTML5 spec
}
}