Commit graph

111 commits

Author SHA1 Message Date
Josh Johnson
b50cdaea8e Add Failing Test
Issue: #187
2018-06-11 18:38:42 -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
5a90a0c121 Add Failing Test
Issue: #185
2018-05-31 18:41:52 -04:00
Josh Johnson
27d69858a1 Use workspaceFolders Over rootPath
Issue: #166
2018-05-29 22:04:24 -04:00
Josh Johnson
156e1ab435 Pretty Self-Closing Tags
Issue: #149
2018-05-29 21:56:29 -04:00
Josh Johnson
07b47c4748 Add Failing Test
Issue: #149
2018-05-29 21:44:43 -04:00
Josh Johnson
6a92fa96f2 Add Get Current XPath
This commit also moves some shared code to a common class.

Issue: #85
2018-05-29 21:38:11 -04:00
Josh Johnson
af2060dc38 Omit Extraneous Pre-Start Tag Line Breaks
Issue: #178
2018-05-29 19:41:42 -04:00
Josh Johnson
b65009728c Add Failing Test
Issue: #178
2018-05-29 19:39:09 -04:00
Josh Johnson
be30a5671b Support Single Quotes in Attributes
Issue: #177
2018-05-29 18:51:15 -04:00
Josh Johnson
36820ce320 Add Failing Test
Issue: #177
2018-05-29 18:43:01 -04:00
Josh Johnson
231fec0ff7 Fix Undefined XPath Result
The xpath package no longer exports XPathResult.

Fixes #168
2018-05-28 10:46:56 -04:00
Josh Johnson
8d5f9b6055 Add New Formatter Notice 2018-05-25 00:16:07 -04:00
Josh Johnson
f6456579bd Fix Cursor Sync Regression
There is a weird quirk with the DOMParser constructor.
If we pass in any options, we need to ensure the locator is defined.
2018-05-24 23:43:40 -04:00
Josh Johnson
d77e745897 Perform Initial Tree Refresh 2018-05-24 23:22:38 -04:00
Josh Johnson
dda624c387 Use Constants 2018-05-03 22:48:44 -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
907fa71394 Move Extension Context 2018-05-03 22:08:12 -04:00
Josh Johnson
7a5df9f387 Use Barrels 2018-05-03 22:01:29 -04:00
Josh Johnson
2d68ab4aeb Propagate Parser Errors
Perhaps we can implement a full linter using a proper error handler at some point. For now, I just want it to be clear when the tree can't be rendered due to an invalid XML document.
2018-05-02 21:53:39 -04:00
Josh Johnson
08ef6c4365 Fix Unnecessary Newline
fixes #147
2018-05-02 20:30:42 -04:00
Josh Johnson
323c5c310c Add Cursor Sync
#121
2018-04-29 00:47:12 -04:00
Josh Johnson
76fba19c0b Add Child Node Counts
#117
2018-04-28 22:49:24 -04:00
Josh Johnson
3bd730355e Display Attribute Values
#117
2018-04-28 22:32:41 -04:00
Josh Johnson
c0d1bb5486 Improve Typing 2018-04-28 22:27:54 -04:00
Josh Johnson
9e47281d91 Support LiveShare
Implements the changes from #154.

Co-Authored-By: Jonathan Carter <joncart@microsoft.com>
2018-04-28 21:15:20 -04:00
Josh Johnson
29756e3f97 Add XQuery Execution 2018-04-28 20:36:58 -04:00
Josh Johnson
df45b80085 Consolidate Constants 2018-04-28 20:08:28 -04:00
Josh Johnson
bce1b3dd87 Remove Deprecated Method Call 2018-04-28 00:21:34 -04:00
Josh Johnson
06e6ace241 Satisfy Lint Error 2018-04-28 00:20:57 -04:00
Josh Johnson
1c083d15e3 Add XPath Evaluation 2018-04-28 00:10:51 -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
645aa7d6ec Add XQuery Completion Provider 2018-03-01 21:50:18 -05: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
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