Auto-formatting c++

  • Hi All

    Cant seem to find an answer to what must be a simple question…

    I seem to remember npp having an auto format option but I cant find it anywhere.
    I am looking at a badly laid out sketch (.ino) source file and being able to lay the code out automatically would be really helpful.

    I have set the language to c++ which I think is the closest option.
    I checked all menu options and I checked the plug in manager but cannot see anything in there.

    Thanks in advance for any help.

  • @Dave-N
    maybe you are looking for NppAutoIndent (plugin manager)?


  • I’ve also used CoolFormat which I don’t believe is available through the Plugin Manager. It has a really nice interface.

Log in to reply