Commit Graph

184 Commits

Author SHA1 Message Date
Josh Johnson
79116359d8 v1.9.1 2017-06-20 23:49:59 -04:00
Josh Johnson
157bafa5b9 Fix "xmlns" Identification
The previous code did not account for "xmlns=" in self-closing elements
(it only identified "xmlns:"). But the indent counter identified both,
which caused the odd nesting behavior.

Fixes #87
2017-06-20 23:30:54 -04:00
Josh Johnson
3f7ee2773b Improve Closing Tag Identification
The previous code would cause a self-closing tag to appear as the
opening tag if the following tag was a closing tag of the same name.

Fixes #90
2017-06-20 23:04:45 -04:00
Josh Johnson
fd5749a49a Fix Eager Line Break Stripping
This change ensures line breaks are not stripped outside of CDATA nodes
if the line break is not preceded or followed by another whitespace
character.

Fixes #92
2017-06-20 22:50:21 -04:00
Josh Johnson
3a89f737a5 Support Colon Start Character
Fixes #94
2017-06-20 22:29:17 -04:00
Josh Johnson
711a7fe6ab Merge pull request #103 from DotJoshJohnson/xml-treeview
v1.9.0
2017-06-16 00:14:57 -04:00
Josh Johnson
93027f20f3 v1.9.0 2017-06-16 00:04:48 -04:00
Josh Johnson
a9953b696d Re-Implement XML Tree View
Leverages the new "views" API in VS Code to show a tree view in the file
explorer sidebar. Clicking a tree node navigates the editor to the line
containing the source element/attribute. The tree can be navigates via
keyboard by using the UP/DOWN arrow keys to choose nodes and the
LEFT/RIGHT arrow keys to collapse/expand nodes.

Addresses the following issues:
#62
#66
#71
#72
#73
#83
#102
2017-06-15 23:55:04 -04:00
Josh Johnson
181233529f Merge pull request #99 from DotJoshJohnson/issue-#97
v1.8.0
2017-06-01 22:13:52 -04:00
Josh Johnson
1843c06a28 v1.8.0 2017-06-01 22:06:54 -04:00
Josh Johnson
802adea719 Add "Format As XML" Command
This command can be invoked from any document, regardless of what
language is selected. It supports selection-only formatting as well.

closes #97
2017-06-01 21:52:09 -04:00
Josh Johnson
7208d52521 Merge pull request #84 from DotJoshJohnson/develop
release: v1.7.0
2017-01-01 17:20:40 -05:00
Josh Johnson
8f4a4a3f45 chore: v1.7.0 2016-12-19 23:33:22 -05:00
Josh Johnson
1c7f493689 Merge pull request #75 from waderyan/patch-1
Add Formatters to category list
2016-12-19 23:27:35 -05:00
Josh Johnson
1e445dc4df Merge branch 'master' into patch-1 2016-12-19 23:25:14 -05:00
Josh Johnson
4bddc76b79 Merge pull request #79 from zawiasam/feature/allowScalarResult
handle scalar values
2016-12-19 23:22:33 -05:00
Josh Johnson
0b737eeb47 Merge branch 'master' into feature/allowScalarResult 2016-12-19 23:17:06 -05:00
Josh Johnson
f923c05faa Merge pull request #82 from DotJoshJohnson/develop
patch: v1.6.1
2016-12-19 21:31:21 -05:00
Josh Johnson
77a9ae06a5 chore: update repo URLs 2016-12-19 21:24:41 -05:00
Josh Johnson
126c09e9b3 chore: update the license to reflect the move from the TrueCommerce organization 2016-12-19 21:19:06 -05:00
Josh Johnson
da4400d333 chore: update the guide to reflect the move from the TrueCommerce organization 2016-12-19 21:13:59 -05:00
Josh Johnson
ee6a49165d fix: correct VSIX glob 2016-12-19 21:08:25 -05:00
Josh Johnson
70e3722beb chore: correct URLs
Move from TrueCommerce URLs to DotJoshJohnson URLs.
2016-12-19 21:07:03 -05:00
Josh Johnson
ba785d0cf2 chore: add change log file (for vs code UI) 2016-12-19 21:05:45 -05:00
Josh Johnson
a9ac9284b4 chore: update icons and paths 2016-12-19 20:54:11 -05:00
Josh Johnson
ec76bd3526 chore: v1.6.1 2016-12-19 20:44:48 -05:00
Josh Johnson
08786bfa7f chore: add roadmap link 2016-12-19 18:16:23 -05:00
Josh Johnson
d7c8169418 chore: simplify build badge 2016-12-19 18:14:04 -05:00
Josh Johnson
4cb81428a5 chore: correct build badges 2016-12-19 18:08:43 -05:00
Josh Johnson
9e6099596c chore: add gitter badge 2016-12-19 17:41:11 -05:00
Josh Johnson
2f633f7b86 chore: set workspace typescript version 2016-12-19 17:39:53 -05:00
Maciej Zawiasa
1112f56801 handle scalar values 2016-11-25 21:34:31 +01:00
Wade Anderson
23e6805a90 Add Formatters to category list
The Marketplace has introduce a new category called formatters for extensions that add formatting.
2016-10-26 09:25:52 -07:00
Josh Johnson
62234629e2 Merge pull request #56 from TrueCommerce/2016/May
v1.6.0
2016-06-07 17:16:39 -04:00
Josh Johnson
e5af28105e chore: v1.6.0 2016-06-07 17:14:39 -04:00
Josh Johnson
eb5ac764ce chore: v1.6.0-preview.1 2016-05-17 22:56:16 -04:00
Josh Johnson
f4ca14cd2a chore: ignore VSIX 2016-05-17 22:55:57 -04:00
Josh Johnson
51d14fcd1c feat: add xsl formatting support
fixes #55
2016-05-17 22:42:12 -04:00
Josh Johnson
b55c314aa4 fix: correct line break minification
fixes #54
2016-05-17 22:36:14 -04:00
Josh Johnson
88ac5d9a08 chore: add *.vsix to .vscodeignore 2016-05-17 21:00:03 -04:00
Josh Johnson
acc61fed4d Merge pull request #53 from TrueCommerce/prepublish-v1.5.2
chore(package): v1.5.2
2016-03-15 14:50:53 -04:00
Josh Johnson
7baf2d2d47 core(package): v1.5.2 2016-03-15 14:47:33 -04:00
Josh Johnson
668fa5894b Merge pull request #52 from TrueCommerce/issue-#46
Issue #46
2016-03-15 14:45:18 -04:00
Josh Johnson
60110f8d97 fix(XmlFormatter): correct split namespace formatting
When namespaces are being split, do not keep the indent after a
self-closed element.

fixes #46
2016-03-15 14:38:39 -04:00
Josh Johnson
a8ae771fd4 refactor(package): Update VSCode Dependency
Microsoft released an update to vscode-extension-vscode, so we no longer need our local fork.
2016-03-15 13:52:11 -04:00
Josh Johnson
ce754fffab Merge pull request #51 from TrueCommerce/prebuild-1.5.1
v1.5.1
2016-03-08 11:34:55 -05:00
Josh Johnson
0addc7f066 v1.5.1 2016-03-08 11:32:34 -05:00
Josh Johnson
b09f732f50 Merge pull request #49 from TrueCommerce/issue-#48
Dynamic Font Color
2016-03-08 11:26:47 -05:00
DotJoshJohnson
c44d9fcaeb Dynamic Font Color
#48 - Checks the storage.json file to set the XML Tree font color based
on the theme type. DEfaults to #AAAAAA otherwise.
2016-03-08 11:21:25 -05:00
Josh Johnson
b6905e77a1 Merge pull request #44 from TrueCommerce/current-iteration
2016/February
2016-02-20 12:55:29 -05:00