rigelhope / omnidroid

Automatically exported from code.google.com/p/omnidroid
Apache License 2.0
0 stars 0 forks source link

eclipse formatter doesn't indent XML files correctly #39

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Open any xml file in eclipse with our formatter from 
http://code.google.com/p/omnidroid/wiki/StyleGuide loaded
2. Press Ctrl + Shift + F to format the file

What is the expected output? What do you see instead?
Should see XML nested with indentation similar to Java (2 spaces per level), 
instead it's eclipse's default 8 spaces.

Original issue reported on code.google.com by ksjohnson3 on 20 Jul 2009 at 2:44

GoogleCodeExporter commented 8 years ago
I did a small amount of searching and I don't think eclipse supports adding a 
formatter for xml.  You can manually specify it in the settings, but I couldn't 
find a way to provide a style formatter for import.  If you can find otherwise 
I'd appreciate a point in the right direction.  Otherwise I'm marking invalid.  
Thanks!

Original comment by case.and...@gmail.com on 1 Jul 2010 at 11:23