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
33535163c1
Correct formatAsXml Command Name
...
#133
2018-03-01 19:33:23 -05:00
Josh Johnson
867198590f
Fix Line Lengths
2018-02-13 23:30:01 -05:00
Josh Johnson
ace85c8841
Add XQuery Linting Feature
2018-02-13 23:25:07 -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
09fe37f04b
Simplify Unit Tests
...
This change means we can't use the harness provided by VS Code, but that's fine for now. I only intend to test service classes that generally don't have concrete dependencies on VS Code anyway.
2018-01-30 16:55:44 -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
a204434a6e
Scope Commands to Resource
...
From PR #129 .
#128
2018-01-27 20:43:29 -05:00
Josh Johnson
bedb878549
Implement Classic XML Formatting
2018-01-27 20:30:03 -05:00
Josh Johnson
394188a204
Update CHANGELOG
2018-01-27 20:29:09 -05:00
Josh Johnson
ff15044855
Add License
2018-01-27 20:28:24 -05:00
Josh Johnson
e9a78f2f15
Update README
2018-01-27 20:27:27 -05:00
Josh Johnson
11d5034661
Add TravisCI Configuration
2018-01-27 20:21:28 -05:00
Josh Johnson
80dc78c574
Add XQuery Grammar
2018-01-27 18:30:59 -05:00
Josh Johnson
a23393d631
Update Package Manifest
2018-01-27 18:30:50 -05:00
Josh Johnson
988fbe22c0
TSLint
2018-01-27 18:01:04 -05:00
Josh Johnson
4bd8c9eddf
Generate Extension Skeleton
2018-01-27 17:50:50 -05:00
Josh Johnson
01b580768b
Out With the Old
2018-01-27 17:45:58 -05:00
Josh Johnson
c828608867
Merge pull request #113 from DotJoshJohnson/techdebt
...
Technical Debt 6/2017
2017-06-23 21:11:53 -04:00
Josh Johnson
93b3083bbf
Switch to Double Quotes
...
Closes #108
2017-06-23 21:06:53 -04:00
Josh Johnson
6eb35d0a37
Remove Roadmap Link
2017-06-23 20:58:16 -04:00
Josh Johnson
9272bae72e
Update Contribution Guide
2017-06-23 20:57:51 -04:00
Josh Johnson
ce6a965959
Merge remote-tracking branch 'refs/remotes/origin/master' into techdebt
2017-06-23 20:50:59 -04:00
Josh Johnson
23af775b65
Merge pull request #112 from DotJoshJohnson/release-1.9.2
...
v1.9.2
2017-06-23 20:46:03 -04:00
Josh Johnson
9e431261f6
v1.9.2
2017-06-23 20:43:05 -04:00
Josh Johnson
33b510e383
Merge pull request #111 from DotJoshJohnson/issue-#109
...
Fix Formatter Regression
2017-06-23 20:37:19 -04:00
Josh Johnson
ba248c4c8d
Fix Formatter Regression
...
The changes made for #87 and #90 contributed to this regression. It
affected any element with one or more attributes and text content.
Fixes #109
2017-06-23 20:26:22 -04:00
Josh Johnson
846a128984
Remove "use strict"
...
Closes #107
2017-06-21 00:30:16 -04:00
Josh Johnson
60cf5e34ce
Merge pull request #106 from DotJoshJohnson/formatter-fixes
...
v1.9.1
2017-06-20 23:53:32 -04:00
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