Commit Graph

36 Commits

Author SHA1 Message Date
Josh Johnson
c0411015d5
Merge pull request #249 from eliasib13/xml-to-text
Implemented conversion from XML to text and viceversa
2018-12-14 10:49:54 -05:00
Eliasib García
d753e957a0 Fixed tslint errors 2018-12-13 19:13:15 +00:00
Eliasib García
51b6b4fbaa Implemented conversion from XML to text and viceversa 2018-12-13 19:01:01 +00:00
Josh Johnson
66b2bc3de2 Preserve Indent Context
Fixes #131
2018-09-15 23:11:07 -04:00
Josh Johnson
54ff41c736 Expose Initial Indent Level 2018-09-15 22:39:27 -04:00
matt@emericklaw.co.uk
664760c99c Fixes #227 2018-09-06 14:38:26 +01:00
Josh Johnson
4e5f0dddb5 Support Mixed Content 2018-08-17 20:39:45 -04:00
Josh Johnson
61a07adb59 Prevent Indentation for Inline CDATA
Issue: #194
2018-06-12 21:23:31 -04:00
Josh Johnson
97afac0031 Prevent Endless Indentation
Issue: #193
2018-06-12 21:05:02 -04:00
Josh Johnson
a99ba2ea41 Eliminate Extra Line Breaks
This only solves half of the problem.

Issue: #193
2018-06-12 20:27:39 -04:00
Josh Johnson
88de774389 Fix Attribute Quotes Regression
Issue: #187
2018-06-11 18:40:54 -04:00
Josh Johnson
de1fff2e80 Revert Settings Changes
I'll come back to this later after some better planning.

Issue: #184
2018-06-11 18:29:35 -04:00
Josh Johnson
939569a5d2 Update Existing Config Properties
Issue: #184
2018-05-31 22:15:29 -04:00
Josh Johnson
0b892f6f03 Indent Closing Tag After Self-Closing Tag
Issue: #185
2018-05-31 19:05:52 -04:00
Josh Johnson
156e1ab435 Pretty Self-Closing Tags
Issue: #149
2018-05-29 21:56:29 -04:00
Josh Johnson
af2060dc38 Omit Extraneous Pre-Start Tag Line Breaks
Issue: #178
2018-05-29 19:41:42 -04:00
Josh Johnson
be30a5671b Support Single Quotes in Attributes
Issue: #177
2018-05-29 18:51:15 -04:00
Josh Johnson
8d5f9b6055 Add New Formatter Notice 2018-05-25 00:16:07 -04:00
Josh Johnson
b9d6659a26 Add NativeCommands Service 2018-05-03 22:47:41 -04:00
Josh Johnson
a4366a5061 Add Configuration Service 2018-05-03 22:36:54 -04:00
Josh Johnson
7a5df9f387 Use Barrels 2018-05-03 22:01:29 -04:00
Josh Johnson
08ef6c4365 Fix Unnecessary Newline
fixes #147
2018-05-02 20:30:42 -04:00
Josh Johnson
df45b80085 Consolidate Constants 2018-04-28 20:08:28 -04:00
Josh Johnson
6f0bbe3ed7 Lint Fix 2018-04-27 23:15:05 -04:00
Josh Johnson
c37ac45e80 Add XML Tree View 2018-04-27 23:10:55 -04:00
Josh Johnson
5318909fcf Add Minify XML Command 2018-03-01 21:31:14 -05:00
Josh Johnson
d37a8b70fd Add Format As XML Command 2018-03-01 21:22:53 -05:00
Josh Johnson
2c6a5ceaa0 Maintain Comment Formatting
#118
2018-02-13 22:52:19 -05:00
Josh Johnson
ea5416b506 Preserve Line Breaks for Readability
#59
2018-02-01 20:46:01 -05:00
Josh Johnson
27433b47ce Add Tests for Fixed Issues
This commit also changes the "fix" for text-only lines. We should be adjusting the text content as little as possible. In this case, we are still adding spaces (or tabs) after the last line break, but that is necessary to indent the closing element. I'll continue to adjust this as needed based on feedback and possibly add a setting to gate this behavior.

#137
2018-01-30 17:25:49 -05:00
Josh Johnson
b9b6aec528 Add First Test 2018-01-30 16:45:10 -05:00
Josh Johnson
e1d41f6025 Add NewLine After Self-Closing Tags
#120
2018-01-28 12:17:06 -05:00
Josh Johnson
9941bafa74 Add Attribute Splitting
#116
2018-01-28 12:09:57 -05:00
Josh Johnson
8f0bf58462 Begin Implementing V2 Formatter 2018-01-28 01:19:06 -05:00
Josh Johnson
5526923772 Override Global Configuration
From PR #129

#128
2018-01-27 20:51:15 -05:00
Josh Johnson
bedb878549 Implement Classic XML Formatting 2018-01-27 20:30:03 -05:00