author | Oleksandr Gavenko <gavenkoa@gmail.com> |
Thu, 23 Sep 2010 09:47:24 +0300 | |
changeset 540 | a84d7d8d254b |
parent 364 | 69a8035a54b8 |
permissions | -rw-r--r-- |
357 | 1 |
-*- mode: outline; coding: utf-8 -*- |
2 |
||
3 |
* xml. |
|
4 |
||
5 |
** tidy. |
|
6 |
||
7 |
$ tidy -xml -i -utf8 -o out.xml in.xml |
|
8 |
||
9 |
or in Emacs C-x h C-x <RET> c utf-8 <RET> C-u M-| tidy -q -xml -i -utf8 - |
|
10 |
||
11 |
http://tidy.sourceforge.net |
|
12 |
home page |
|
13 |
http://www.emacswiki.org/cgi-bin/wiki/tidy.el |
|
14 |
||
15 |
** xmllint. |
|
16 |
||
17 |
$ xmllint --format file.xml |
|
18 |
||
19 |
or in Emacs: C-x h C-u M-| xmllint --format - <RET> |
|
20 |
||
21 |
** Emacs and nxml. |
|
22 |
||
23 |
You need introduce line-breaks and then C-x h C-M-\. |
|
24 |
||
25 |
** xmlindent. |
|
26 |
||
364
69a8035a54b8
About C/C++ beautifier.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
357
diff
changeset
|
27 |
http://xmlindent.sourceforge.net/ |
69a8035a54b8
About C/C++ beautifier.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
357
diff
changeset
|
28 |
|
69a8035a54b8
About C/C++ beautifier.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
357
diff
changeset
|
29 |
code formatter/beautifier/pretty printer |
69a8035a54b8
About C/C++ beautifier.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
357
diff
changeset
|
30 |
|
69a8035a54b8
About C/C++ beautifier.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
357
diff
changeset
|
31 |
* c/c++/java/c#. |
69a8035a54b8
About C/C++ beautifier.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
357
diff
changeset
|
32 |
|
69a8035a54b8
About C/C++ beautifier.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
357
diff
changeset
|
33 |
** Artistic Style, astyle. |
69a8035a54b8
About C/C++ beautifier.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
357
diff
changeset
|
34 |
|
69a8035a54b8
About C/C++ beautifier.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
357
diff
changeset
|
35 |
A Free, Fast and Small Automatic Formatter for C, C++, C#, and Java Source |
69a8035a54b8
About C/C++ beautifier.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
357
diff
changeset
|
36 |
Code. |
69a8035a54b8
About C/C++ beautifier.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
357
diff
changeset
|
37 |
|
69a8035a54b8
About C/C++ beautifier.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
357
diff
changeset
|
38 |
Exist package for Cygwin, Debian. |
69a8035a54b8
About C/C++ beautifier.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
357
diff
changeset
|
39 |
|
69a8035a54b8
About C/C++ beautifier.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
357
diff
changeset
|
40 |
http://astyle.sourceforge.net/ |
69a8035a54b8
About C/C++ beautifier.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
357
diff
changeset
|
41 |
home page |
69a8035a54b8
About C/C++ beautifier.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
357
diff
changeset
|
42 |
|
69a8035a54b8
About C/C++ beautifier.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
357
diff
changeset
|
43 |
** Uncrustify. |
69a8035a54b8
About C/C++ beautifier.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
357
diff
changeset
|
44 |
|
69a8035a54b8
About C/C++ beautifier.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
357
diff
changeset
|
45 |
Source Code Beautifier for C, C++, C#, ObjectiveC, D, Java, Pawn and VALA. |
69a8035a54b8
About C/C++ beautifier.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
357
diff
changeset
|
46 |
|
69a8035a54b8
About C/C++ beautifier.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
357
diff
changeset
|
47 |
Exist package for Windows (binary from home page), Debian. |
69a8035a54b8
About C/C++ beautifier.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
357
diff
changeset
|
48 |
|
69a8035a54b8
About C/C++ beautifier.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
357
diff
changeset
|
49 |
http://uncrustify.sourceforge.net/ |
69a8035a54b8
About C/C++ beautifier.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
357
diff
changeset
|
50 |
home page |