Josh Johnson
ce6a965959
Merge remote-tracking branch 'refs/remotes/origin/master' into techdebt
2017-06-23 20:50:59 -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
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
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
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
Maciej Zawiasa
1112f56801
handle scalar values
2016-11-25 21:34:31 +01: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
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
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
6b83cc6563
Fix Node Clicks
...
Clicking nodes no longer causes the tree to disappear.
2016-02-20 12:42:09 -05:00
Josh Johnson
04b11bea3b
Correct Command Registration
2016-02-16 18:42:43 -05:00
Josh Johnson
801fc5a352
Add XML Tree Feature
...
#32
2016-02-16 18:42:23 -05:00
Josh Johnson
ba54b8a83f
Add $(project) Variable - Closes #30
2016-01-22 19:41:29 -05:00
Josh Johnson
cc796ed26e
Remove Format XML Command
2016-01-18 16:04:50 -05:00
Josh Johnson
41bf728061
Fix #23
2016-01-18 15:59:58 -05:00
Josh Johnson
bc4e7823bc
Fix #21
2016-01-18 15:43:10 -05:00
Josh Johnson
9953d5b66c
Fix #20
2016-01-18 13:19:46 -05:00
Josh Johnson
1a5c3c56f0
Remove Debug Log Entry
2016-01-18 08:56:37 -05:00
Josh Johnson
c6efe2a2dd
Fix #22
2016-01-18 08:53:42 -05:00
Josh Johnson
a49c22958a
Switch to Gulp Task Runner
2016-01-13 18:01:51 -05:00
Josh Johnson
f77bc88576
Mock xmldom Node Implementation
2016-01-13 18:01:17 -05:00
Josh Johnson
f88c1d4384
Fix #18
2016-01-09 12:27:35 -05:00
Josh Johnson
5e637bb185
Fix #16
2016-01-09 00:35:50 -05:00
Josh Johnson
4dcac61936
Fix #15
2016-01-08 21:50:30 -05:00
Josh Johnson
98028898ac
Add XQuery Execution
2016-01-08 12:35:50 -05:00
Josh Johnson
8738058d8c
Port vscode-xquery to vscode-xml
...
I'll be consolidating the two extensions into one.
2016-01-08 10:44:46 -05:00
Josh Johnson
08c81f7d16
Make XMLNS Split Optional
...
New setting: xmlTools.slpitXmlnsOnFormat
2016-01-08 09:19:27 -05:00
Josh Johnson
721f50cc37
Add XPath History Cleanup
2016-01-07 11:19:29 -05:00
Josh Johnson
b7e4fc8c15
Fix Output
...
* Only output line number, not column.
* Append a newline after first line.
2016-01-07 11:08:26 -05:00
Josh Johnson
3d916fc9b4
Add Line/Column to XPath Output
2016-01-07 11:06:08 -05:00
Josh Johnson
eb43a467c8
vNext Rewrite
...
This commit cleans up and reorganizes the code base, as well as fixes some issues. The intent of the vNext branch is to make the extension more conducive to an open-source environment.
2016-01-06 15:55:11 -05:00
unknown
1b9caa3265
Remove Update Notifier
2016-01-05 15:52:06 -05:00
Rajko Winkler
955c971856
Clean up for feature #6
2016-01-04 17:07:36 +01:00
Rajko Winkler
b668ab49c3
Adding to #6 - user setting to persist the last query
2015-12-21 14:40:43 +01:00
Rajko Winkler
f3ea33a522
The last XPath query is being persisted and can be reused with the next query.
2015-12-16 15:54:48 +01:00
Rajko Winkler
112d99c30c
Adds the last used query to the output
2015-12-09 12:03:49 +01:00
Josh Johnson
601fa1bfe4
Register Format XML Command
2015-12-02 12:48:48 -05:00
Josh Johnson
99c1a62655
Rewrite XML Formatter
2015-12-02 12:41:29 -05:00
Josh Johnson
3d9879c853
Add XML FormattingEditProviders
2015-12-02 11:28:07 -05:00
Josh Johnson
e24a560066
Fix Manifest Reader
2015-11-24 18:48:26 -05:00
Josh Johnson
a26f829399
Update Notifier Tweaks
2015-11-24 17:06:24 -05:00
Josh Johnson
238dd4a996
Improve Update Notifier
2015-11-24 16:48:40 -05:00
Josh Johnson
2275c834ff
Use Strict
2015-11-24 16:44:20 -05:00
Josh Johnson
01fd1e68e3
Add Update Notifier
2015-11-24 16:42:17 -05:00
Josh Johnson
351608a718
Add ExtensionManifestReader
2015-11-24 13:59:42 -05:00