Commit Graph

6278 Commits

Author SHA1 Message Date
Matt Bierner 2d0dd21a4a Pick up TS 3.1.2 2018-10-09 17:19:56 -07:00
Rob Lourens 46b79144af Merge pull request #60012 from benjamenhogben/master
Add throwable to php try/catch block snippet
2018-10-09 09:14:30 -07:00
benjamenhogben 1de8905bf5 Change throwable var name 2018-10-09 14:07:13 +01:00
Matt Bierner 9e017425b3 Replace markdown-named-headers with custom version
Fixes #47537

Use our own version of markdown named headers. This fixes some bugs around handling duplicate headers
2018-10-08 16:04:47 -07:00
Matt Bierner 7d95e3e5f9 Support markdown link navigation when duplicate slugs exist
Fixes #59711

For a md document:

```md
# a

# a

- [a](#a)
- [next a](#a-1)
```

You can now click on the second link in the editor to navigate to the second `a` header. It is identified by being suffixed with `-1`.
2018-10-08 15:51:29 -07:00
Matt Bierner 0cfe8a1d7e Fix potential TSC error 2018-10-08 15:24:11 -07:00
Matt Bierner f516d17267 Add support for TS RenameTextSpan
Fixes #60204
2018-10-08 15:18:08 -07:00
Matt Bierner 5b03dcd69d Add pinning test for setting localResourceRoots 2018-10-08 10:09:06 -07:00
Matt Bierner d0ecfa0ba6 Adding pinning tests for vscode-resource in webviews 2018-10-08 09:56:06 -07:00
Alexander e891e2f3d1 Add border for dirty tabs (#59759)
* Theming for dirty tabs

* Improve border for dirty tabs
1. Make it thinner
2. Add a setting to disable it
3. Use 4 colors (activeFocused, activeUnfocused, inactiveFocused, inactiveUnfocused)
4. Move part of logic

* Hot apply of setting `dirtyTabBorder`

* Rename the setting

* Add default dirty border for all themes

* 3 of the 4 colors should be derived from the one main color

* Rename `dirty` to `modified`

* Rename `modifiedActiveFocusedBorder` to `modifiedBorder`

* Add modified border color for built-in themes

* More contrast

* Applying style directly on element

* Changing only color

* Using full border

* Using existing div for border styling

* Add setting to telemetry

* Uncomment cleanup code

* tweak colors and descriptions

* 💄
2018-10-08 10:27:01 +02:00
Rob Lourens 3b157682e1 Also respect useGlobalIgnoreFiles in file search, from PR #59717 2018-10-06 17:07:11 -07:00
Matt Bierner ceb8f18fb8 Adding pinning test for webview scripts disabled 2018-10-05 16:25:50 -07:00
Matt Bierner 7b8e463099 Extract duplicated code 2018-10-05 16:11:32 -07:00
Matt Bierner 23fedc5a3e Add pinning test for webview html update 2018-10-05 16:08:33 -07:00
Matt Bierner 676ea4b5c5 Improve test name 2018-10-05 16:05:01 -07:00
Matt Bierner 2f51e97117 Add retrigger characters to SignatureHelpProvider
Introduces the concept of a re-trigger character to the signature help provider. This is a seperate set of characters that are registered with the provider. Typing a retrigger character fires a new signature help request if signature help is already showing.

#54972
2018-10-05 16:01:02 -07:00
Matt Bierner 000f027497 Formatting 2018-10-05 13:56:34 -07:00
Matt Bierner 696fc1b48e Make sure we close old resource on ts server for path updates
Fixes #53466
2018-10-05 13:55:11 -07:00
Matt Bierner 03ed0959ee Improve message on update imports prompt
Fixes #59151
2018-10-05 13:47:14 -07:00
Matt Bierner f87369e1af Treat json5 as json in the markdown preview 2018-10-05 13:06:37 -07:00
Matt Bierner bb59097ab8 Update md grammar 2018-10-05 13:06:37 -07:00
Matt Bierner b3ff3e4375 Wait for all editors to close before continuing tests 2018-10-05 11:51:54 -07:00
Matt Bierner 0136935c52 Improving webview test reliability and add test for preserve state on column change 2018-10-05 10:53:42 -07:00
Matt Bierner 3cb9b60d32 Add missing registers 2018-10-05 10:53:42 -07:00
Rob Lourens 8f1dbae0b7 Bump vscode-ripgrep with cache download fix 2018-10-05 10:43:54 -07:00
Matt Bierner 1f9981f55f Make webview test communication more timing stable 2018-10-05 10:32:42 -07:00
Matt Bierner 4ecf3e5388 Improve naming and use proper (optional) types 2018-10-05 10:08:25 -07:00
Matt Bierner daec9ce7bb Update markdown grammar 2018-10-05 10:07:58 -07:00
Matt Bierner f4f6c623c3 Make sure we dispose of webviews properly
Dispose of webviews after each test run
2018-10-05 09:38:01 -07:00
Rob Lourens 0e60629c5a Bump vscode-ripgrep with fixed build 2018-10-05 08:57:38 -07:00
benjamenhogben f0b51ea9ad Catch Throwable user editable 2018-10-05 10:59:25 +01:00
benjamenhogben 7d30396d0c Add throwable to try/catch block 2018-10-05 09:48:33 +01:00
Matt Bierner 8d44ab61c6 Fix workspace test document count 2018-10-04 20:02:05 -07:00
Rob Lourens b35721a71e Fix windows file search tests 2018-10-04 19:56:27 -07:00
Matt Bierner fdb46fcc66 Remove unused var 2018-10-04 19:24:18 -07:00
Matt Bierner 3da9a122f6 Add test for restore scroll pos when retainContextWhenHidden is set 2018-10-04 19:01:35 -07:00
Matt Bierner 54df095e39 Adding retainContextWhenHidden test 2018-10-04 19:01:35 -07:00
Matt Bierner 6a4e027c41 Refactor our duplicated code 2018-10-04 19:01:34 -07:00
Matt Bierner 8151b1fc50 Add test for webview state persist 2018-10-04 19:01:34 -07:00
Matt Bierner 565f971f43 Add basic test for webview communication 2018-10-04 19:01:34 -07:00
Matt Bierner a529621b3d Disable command uris in preview
We are now using the modern, message passing approach to handling actions in the markdown preview. No more need for command uris
2018-10-04 19:01:34 -07:00
Matt Bierner 03e65ebe47 Use await/async in tests 2018-10-04 19:01:34 -07:00
Matt Bierner 6d5214053c Fix local markdown document links for untitled files
Fixes #59523
2018-10-04 19:01:34 -07:00
Rob Lourens 5359560ead Update ripgrep version, use new json output format 2018-10-04 18:15:27 -07:00
Rob Lourens 38a2c24ca2 Merge pull request #59717 from skprabhanjan/fix-59364
Fix #59364 : Respect global .gitignore when searching
2018-10-04 11:40:23 -07:00
Ben Hogben 3edd27449e add php try catch snippet 2018-10-04 17:10:18 +01:00
Christof Marti f523fd2036 Fire onDidHide only once (fixes #57852) 2018-10-04 13:10:18 +02:00
Martin Aeschlimann 10a1d2a50a update grammars 2018-10-04 12:00:39 +02:00
Martin Aeschlimann cfc2a2212d custom 'html' tags are in red color. Fixes #56467 2018-10-04 11:02:04 +02:00
Christof Marti 7ff8bda7e8 Accept on with selection, work around all items becoming active (#57850) 2018-10-04 10:41:51 +02:00