Commit Graph
10105 Commits
Author SHA1 Message Date
Rachel Macfarlane 93ae815ba1 Feedback on secrets API #112249 2021-01-20 09:24:48 -08:00
Florian Schwalm cbbf2d0990 Correctly resolve mapped drive on Windows
fs.realpath.native in NodeJS uses the Win32 API function GetFinalPathNameByHandle() on Windows hosts,
therefore a given path must follow the guidelines for Win32 API file functions.
Drive letters on Windows need to end on a backslash according to the Win32 File Naming Conventions (https://docs.microsoft.com/en-us/windows/win32/fileio/naming-a-file)
Omitting the backslash results in Windows treating the remaining path components as a relative path starting from the current directory on the specified disk
https://docs.microsoft.com/en-us/windows/win32/fileio/naming-a-file#fully-qualified-vs-relative-paths
2021-01-20 11:58:37 -05:00
Alexandru Dima ec1eda0d96 Rename OnEnterRule.oneLineAboveText to previousLineText after API call feedback (#58440) 2021-01-20 17:31:04 +01:00
Jackson Kearl b50bd5d094 Close #114342 2021-01-19 19:45:15 -08:00
Henning Dieterichs 1f8643ef76 Refresh Images In Markdown Preview On Change (#114083)
* Refresh Images In Markdown Preview On Change (implements #65258).

* Fixes tests.

* Implements etags.

* Adds tests for urlToUri.

* Updates doc comment.
2021-01-19 18:01:21 -08:00
Jean Pierre 7f4d67c94c Fix #110812 (#114553) 2021-01-19 14:21:02 -08:00
Martin Aeschlimann ff393a3349 add open tunnels to test resolver 2021-01-19 11:45:55 +01:00
João Moreno af2bcd4d46 bring back vscode-colorize-tests 2021-01-19 11:39:39 +01:00
Jonathan Mataloni 9441f1c645 Add support for npm scripts with a space (#113840)
This PR fixes #113750
2021-01-18 12:02:53 +01:00
Matt Bierner 0faf155028 Disable on enter test
This one seems to sometimes fail in ci on windows
2021-01-15 16:07:08 -08:00
Matt Bierner 48b726e39e Fix regex
Star was mistakenly removed in last commit
2021-01-15 14:35:55 -08:00
Matt Bierner 5f6acfb68e Move jsdoc completion tests to smoke tests 2021-01-15 13:47:58 -08:00
Matt Bierner 800e173c40 Split ts into unit and smoke tests
The smoke tests are less reliable as they simulate user actions

Fixes #102075
Fixes #102097
Fixes #102106
2021-01-15 13:32:27 -08:00
Alexandru Dima b813d5dd30 Leave the local extension host running when connection is lost to the remote extension host 2021-01-15 22:12:35 +01:00
Jackson Kearl 3a9daf3e34 Adopt new vscode-userdata path format 2021-01-15 13:00:42 -08:00
Raymond Zhao b2575665d8 Emmet wrap update, fixes #113930 2021-01-15 11:23:44 -08:00
Eric Amodio 21c11ba864 Fixes #114433 - adds setting to avoid git config 2021-01-15 14:05:55 -05:00
Matt Bierner 663532c317 Skipping unreliable test
Also makes sure the TS extension is activated for each of them
2021-01-15 10:38:50 -08:00
Matt Bierner a68f1326e8 Update built markdown preview code 2021-01-15 10:38:50 -08:00
Matt Bierner 308a4f6a48 Make sure ts extension has loaded before running on-enter tests
Fixes #101922

Also adds back a test that was incorrectly removed
2021-01-15 10:38:50 -08:00
Matt Bierner d87041edde Downgrade simple browser to prompt instead of being the default on web
We need more testing in codespaces before enabling it automatically
2021-01-15 10:38:50 -08:00
João Moreno bc7d3c9ea6 remove grammar extensions 2021-01-15 12:35:17 +01:00
Eric Amodio 9c7128d8fa Fixes #114384 - recheck resources after save/add 2021-01-15 00:16:53 -05:00
Takashi Tamura a34e751b01 Fix scrolling of markdown preview. Close #65504 (#111094)
* Fix scrolling of markdown preview.

* Use scrollDisabledCount.

* Stop initializing scrollDisabledCount.

* Make scrollTo enough large to occur scroll events.

* Should resolve when the error event occurs.
2021-01-14 17:24:08 -08:00
Matt Bierner 6cceb4eab0 Remove enabled setting and try to open simple browser to side of current editor 2021-01-14 17:06:14 -08:00
Matt Bierner 1e3a23b4e0 Fix simple browser button color for light themes 2021-01-14 17:06:14 -08:00
Matt Bierner cc5e8b22fa Continue work on url opener api
For #109277

- Add `option` opener priority. This means the oper will only be shown if requested but will not replace the default opener
- Persist registered openers for IntelliSense suggestions
2021-01-14 17:06:14 -08:00
Wenlu Wang c8a6ddba9d Enable forceConsistentCasingInFileNames flag (#114334) 2021-01-14 11:25:11 -08:00
Matt Bierner 5d6cba5cbc Reworking external opener implementation to allow configured openers to be called directly without a canOpen check
If the user has configured a specific external uri opener, we should always try to use that without first calling `canOpen` to filter down the list of openers.

This change also adds `ExternalUriOpenerEnablement` which allows an opener to mark itself as the preferred opener for a given uri. If only a single preferred opener is returned, it will be used automatically for that uri (although user configuration can override this)
2021-01-14 10:37:00 -08:00
Matt Bierner 710846866f Activate extension on simpleBrowser.api.open 2021-01-13 16:56:39 -08:00
Matt Bierner b7f9eddf04 Allow passing viewColumn to simpleBrowser.api.open 2021-01-13 16:56:39 -08:00
Raymond Zhao a1d5ea876c Polish, also fix #113930 2021-01-13 16:09:17 -08:00
Matt Bierner ea13176ee9 Enable image preview for avif images
Fixes #106415

Support for these was added in electron 11
2021-01-13 13:52:34 -08:00
Matt Bierner e7aa009ac3 Remove enabledHosts setting
This setting is no longer used
2021-01-13 12:53:18 -08:00
Matt Bierner 47aa3ad09a Continue work on opener service
- Add error notification if opener throws an exception
- Add public facing id to openers. This is used in settings
- Add intellisense for the opener id setting
2021-01-13 12:53:18 -08:00
Alex Dima 31a15b5b9a Add command to kill server and trigger handled error 2021-01-13 20:45:41 +01:00
João Moreno 9bfa4c1d55 Merge branch 'joao/extract-extensions/themes' 2021-01-13 09:54:36 +01:00
Eric Amodio 27b824b32c Adds ability to pass remote/refspec to pushTo cmds 2021-01-13 00:56:07 -05:00
Eric Amodio d076ee1b94 Adds force push mode to push api 2021-01-13 00:42:07 -05:00
Eric Amodio 02380e7014 Removes repo hint from args 2021-01-13 00:42:06 -05:00
Rob Lourens d7d5f20047 Fix #114218 2021-01-12 19:17:58 -08:00
Matt Bierner 47a135e715 Rework opener api proposal
For #109277

- Add more explicit two phase structure to api
- Make opener pass along label when registered
2021-01-12 16:14:42 -08:00
Jackson Kearl 6184addcd1 fall back to homepath if home unset.
closes #112775
2021-01-12 15:44:20 -08:00
Rob Lourens b3d57e69b0 Update PHP grammar, fix #113185 2021-01-12 15:41:23 -08:00
João Moreno 0738f76dac pull themes from the marketplace 2021-01-12 20:46:44 +01:00
Eric Amodio 3767f97bc3 Adds onDidPublish to Git api 2021-01-12 12:15:40 -05:00
Eric Amodio 8832366467 Closes #110881 - adds possibly rebased warning 2021-01-12 12:15:39 -05:00
Christof Marti b33b28dd07 Activate onStartupFinished (#110031) 2021-01-12 08:17:35 +01:00
Jackson Kearl cef7004a46 activate search result extension onLanguage:search-result #110031 2021-01-11 11:22:17 -08:00
Rachel Macfarlane c85297669e Move id, label, and options to authentication provider registration 2021-01-11 10:53:17 -08:00