@trevor-w said in Default for C++ language:
that worked.
Glad it worked for you.
this should be the solution to @queenidog1 problem too.
Doubtful. As explicitly stated, the original post was about pasting text into a new document (that is, what you get when you open Notepad++ with no previous session open, or what you get from a File>New), whereas your question was how to treat an already-existing file that you open with File>Open or equivalent. Those are two separate things, and the answer I gave to each is the right way of handling those two separate situations.