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
 VAX changes indent of XML
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

legalize
Tomato Guru

USA
119 Posts

Posted - Jun 01 2009 :  1:38:53 PM  Show Profile  Reply with Quote
To be honest, I don't even know why VAX is messing around with XML editing...

When I have my Tools / Options / Text Editor / XML / Tabs set to "smart", typing this in an XML file:

<foo>

will cause VS.NET to insert </foo> so that I have this (| represents my cursor location)

<foo>|</foo>

If I then press return and VAX is enabled, then the smart indenting doesn't happen and </foo> is placed at the beginning of the next line instead of smartly indented to align with <foo>. If I do the exact same thing with VAX disabled, then it indents properly.

http://legalizeadulthood.wordpress.com

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Jun 02 2009 :  4:43:58 PM  Show Profile  Reply with Quote
I am seeing the same effect here. Thank you for the clear description.

case=27778

Sorry for the inconvenience.
Go to Top of Page

sean
Whole Tomato Software

USA
2817 Posts

Posted - Jun 12 2009 :  9:24:52 PM  Show Profile  Reply with Quote
case=27778 is fixed in build 1727
Go to Top of Page

sean
Whole Tomato Software

USA
2817 Posts

Posted - Jun 12 2009 :  9:26:46 PM  Show Profile  Reply with Quote
VA will give you suggestions based on content in the file you are editing. If you don't want any VA help at all in XML files, then you can add .xml to the extensions to ignore list at:
VA Options | Advanced | Projects | File Handling
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