Sign in to follow this  
BloodLust666

correct tabbing

Recommended Posts

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
[source lang=C++]
namespace engine
{
class blah
{
private:
   ...
public:
   ...
};

// and so on

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...

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this