[source lang=C++]
namespace engine
{
class blah
{
private:
...
public:
...
};
// and so on
correct tabbing
is there a way to have my c++.net compiler automatically tab every line correctly. because i just recently added a namespace and put EVERYTHING thing that includes my engine into it. it looks like this now
i want everything to be tabbed correctly so it doesn't look all jumbled, i WOULD do it myself, but i have about 11 files like that with about 300 some lines of code...
To tab code once just highlight the code to be indented and hit tab. Alternately you can select all the text if a file and Ctrl-K Ctrl-F to auto format everything.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement