Komodo Edit - HTML reformatting / Tidy

后端 未结 5 1042
执笔经年
执笔经年 2021-02-06 07:08

Is there a simple way to reformat my HTML from within Komodo Edit or to automate the process against Tidy?

Something like the Ctrl+K, Ctrl

5条回答
  •  逝去的感伤
    2021-02-06 07:47

    1. Go to menu ToolboxAddNew Command

    2. Enter the Tidy command line arguments in the Run field:

       tidy -config tidy_config_html.txt
      
    3. Check all the boxes

    4. Enter the path to Tidy in the Start In field

    5. Click the Key Binding tab

    6. Use Ctrl + 1 as the New Key Sequence

    7. Press Ctrl + A and Ctrl + 1

提交回复
热议问题