Formatting code in Notepad++

后端 未结 14 1805
无人及你
无人及你 2020-11-29 17:05

Is there a keyboard shortcut to format code in Notepad++ ?
I\'m mainly working with HTML, CSS and Python code.

For example:



        
14条回答
  •  执笔经年
    2020-11-29 17:39

    This isn't quite the answer you were looking for, but it's the solution I came to when I had the same question.

    I'm a pretty serious Notepad++ user, so don't take this the wrong way. I have started using NetBeans 8 to develop websites in addition to Notepad++ because you can set it to autoformat on save for all your languages, and there are a ton of configuration options for how the formatting looks, down to the most minute detail. You might look into it and find it is a worthy tool to use in conjunction with notepad++. It's also open source, completely free, and has a bunch of plugins and other useful things like automatically compiling Sass if you use that too. It's definitely not as quick as NP++ so it's not great for small edits, but it can be nice for a long coding session.

提交回复
热议问题