Skip to main content
Participant
November 18, 2019
Question

Hello! change formatting code DW

  • November 18, 2019
  • 1 reply
  • 610 views

I need to adjust DW formatting,

 

{
    "js": {
        "eol": "\n",
        "preserve_newlines": true,
        "max_preserve_newlines": 3,
        "space_after_anon_function": true,
        "keep_array_indentation": false,
        "keep_function_indentation": false,
        "space_before_conditional": true,
        "break_chained_methods": false,
        "eval_code": false,
        "unescape_strings": false,
        "wrap_line_length": 0,
        "wrap_attributes": "auto",
        "end_with_newline": true,
        "comma_first": false,
        "operator_position": "after-newline"
    },
    "css": {
        "preserve_newlines": false,
        "selector_separator": " ",
        "selector_separator_newline" : true,
        "end_with_newline": false,
        "newline_between_rules": false,
        "space_around_selector_separator": true
    },
    "html": {
        "eol": "\n",
        "end_with_newline": true,
        "preserve_newlines": true,
        "max_preserve_newlines": 1,
        "indent_inner_html": false,
        "brace_style": "collapse",
        "indent_scripts": "normal",
        "wrap_line_length": 0,
        "wrap_attributes": "auto"
    },
    "php": {
        "eol": "\n",
        "preserve_newlines": true,
        "max_preserve_newlines": 3,
        "space_after_anon_function": true,
        "brace_style": "collapse",
        "keep_array_indentation": false,
        "keep_function_indentation": false,
        "space_before_conditional": true,
        "break_chained_methods": false,
        "eval_code": false,
        "unescape_strings": false,
        "wrap_line_length": 0,
        "wrap_attributes": "auto",
        "end_with_newline": false,
        "comma_first": false,
        "space_in_paren":true
    }
}

 

for this 

root = true

[*]
charset = utf-8
end_of_line = lf
indent_size = 2
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true

[*.md]
trim_trailing_whitespace = false

I tried, it didn’t work! Thanks in advance!

 

This topic has been closed for replies.

1 reply

Participant
November 18, 2019

It should be like that. http://joxi.ru/5md65xLHe4loRA , and I have so http://joxi.ru/L21O48EUgGk1Dr

BenPleysier
Community Expert
Community Expert
November 18, 2019
Wappler is the DMXzone-made Dreamweaver replacement and includes the best of their powerful extensions, as well as much more!
Participant
November 20, 2019

I don't need to change color! I need to change the formatting. Standard settings do not help. I have given the edit config formatting code. I need the DW file to fit it!