Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 Indentation when coding/pasting
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Koolski
Starting Member

USA
1 Posts

Posted - Jun 04 2010 :  11:16:02 AM  Show Profile  Reply with Quote
My coding style is as below:

if (TrueCondition)
  {
    Success = DoSomething();
    ...
  }
else
  {
    DoSomethingElse();
  }

How do I:
1) Get the cursor to automatically indent on the next line after a "begin" curly brace.
2) When I paste (carefully formatted code), the indentation is being lost between the "begin" left curly brace and the following lines of code. Here's an example:

if (TrueCondition)
  {
  Success = DoSomething();
  ...
  }
else
  {
  DoSomethingElse();
  }

Is there a way within Visual Assist to change these behaviors?

Edited by - Koolski on Jun 04 2010 11:20:02 AM

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Jun 04 2010 :  3:48:00 PM  Show Profile  Reply with Quote
Point1: What do you mean by "automatically indent on the next line"? I got the right indentation after I press enter, like

void test()
  {|

after enter:

void test()
  {
    |

Point 2: You can turn off auto-formatting on paste:

VA Options -> Advanced -> Correction -> Format after paste

Edited by - accord on Jun 04 2010 3:48:46 PM
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000