Commit Graph

11752 Commits

Author SHA1 Message Date
Matt Bierner b39c8e9989 Avoid not null assertion and use joinPath 2022-01-18 16:42:42 -08:00
Matt Bierner 789bdb8189 Use more specific return type in provider 2022-01-18 16:42:42 -08:00
Matt Bierner c62c36dea3 Remove extra assertions 2022-01-18 16:42:41 -08:00
Ladislau Szomoru 41a1de64ed Handle Mac file system as case insensitive when comparing paths in the git extension. #138090 2022-01-18 21:45:25 +01:00
Ladislau Szomoru 28910095e7 Add statusLimit telemetry 2022-01-18 11:17:50 +01:00
Rob Lourens 7ae7f9d40b Skip flaky 'link detector' test, see #140878 2022-01-17 17:22:58 -08:00
dependabot[bot] 43822f57e0 Bump follow-redirects in /extensions/github-authentication (#140797)
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.14.5 to 1.14.7.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.5...v1.14.7)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-17 10:57:41 -08:00
Ladislau Szomoru 23ac679d4f Tweak git commands visiblity in the command palette 2022-01-16 20:56:39 +01:00
Ladislau Szomoru fbbfb6c22a Disable Git Rename command if the resource is not under source control 2022-01-16 17:53:34 +01:00
Rob Lourens fa2760f833 Skip more notebook tests in browser
Fix #140574
2022-01-14 16:33:42 -08:00
Rob Lourens 1f015b2382 Update PHP grammar 2022-01-14 16:28:13 -08:00
Rob Lourens 090d0a172f Merge pull request #140619 from KapitanOczywisty/patch-2
Fix PHP update-grammar.js
2022-01-14 16:24:02 -08:00
Matt Bierner a3e350e5b3 Enable completions in markdown defintions
Fixes #140602
2022-01-14 15:15:56 -08:00
Tyler Leonhardt 12902bc7a1 allow overridding of client id and tenant for microsoft auth 2022-01-14 14:36:34 -08:00
Rob Lourens 17997da4ab Unskip test, fix #140201
already skipped in browser
2022-01-14 13:51:16 -08:00
Rob Lourens dfcaa1fda3 Unskip test, fix #140200
already skipped in browser
2022-01-14 13:43:37 -08:00
Miguel Solorio abcf79fbd4 Update simple browser styles (Fixes #140727) 2022-01-14 09:48:35 -08:00
Daniel Imms 8c6a8f7bc1 Skipped webview test
Part of #138612
2022-01-14 08:07:23 -08:00
Benjamin Pasero 044092db55 git - adopt new out of workspace watching support (#140691) (#140695)
* git - adopt new out of workspace watching support (#140691)

* dispose emitter too

* 💄

Co-authored-by: Joao Moreno <joao.moreno@microsoft.com>
2022-01-14 16:29:15 +01:00
Benjamin Pasero eecbd962ef debt - rename iconv-lite-umd package (#140650) 2022-01-14 07:28:41 +01:00
dependabot[bot] f8af3fba2d Bump markdown-it from 12.0.4 to 12.3.2 in /extensions/extension-editing (#140597)
Bumps [markdown-it](https://github.com/markdown-it/markdown-it) from 12.0.4 to 12.3.2.
- [Release notes](https://github.com/markdown-it/markdown-it/releases)
- [Changelog](https://github.com/markdown-it/markdown-it/blob/master/CHANGELOG.md)
- [Commits](https://github.com/markdown-it/markdown-it/compare/12.0.4...12.3.2)

---
updated-dependencies:
- dependency-name: markdown-it
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-13 17:05:10 -08:00
dependabot[bot] 2fcbbdc3c8 Bump markdown-it in /extensions/markdown-language-features (#140598)
Bumps [markdown-it](https://github.com/markdown-it/markdown-it) from 12.2.0 to 12.3.2.
- [Release notes](https://github.com/markdown-it/markdown-it/releases)
- [Changelog](https://github.com/markdown-it/markdown-it/blob/master/CHANGELOG.md)
- [Commits](https://github.com/markdown-it/markdown-it/compare/12.2.0...12.3.2)

---
updated-dependencies:
- dependency-name: markdown-it
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-13 17:04:53 -08:00
Matt Bierner 3d79cbb912 Fix markdown path suggestions on windows 2022-01-13 16:51:36 -08:00
Benjamin Pasero e3cf7e5e1b API: Allow to use the file watcher for aribitrary folders (#3025) (#139881)
* API: Allow to use the file watcher for aribitrary folders (#3025)

* fix tests

* update `createFileSystemWatcher` docs

* refuse to watch resources that are watched in workspace already

* properly check proposed API

* make it work via `createFileSystemWacher` (first cut)

* more docs

* cleanup

* enable recursive watching based on pattern

* add tests

* drop out-of-workspace events when using simple patterns

* do not apply excludes when watchig files

* log extension watch requests

* also log unwatch

* improved exclude handling

* more docs

* drop proposed api needs

* remove `suite.only`

* cannot watch inside workspace more than once

* do not send extension decriptor over

* adopt latest changes

* add `baseUri` to relative pattern

* backwards compat
2022-01-13 13:32:03 +01:00
Alex Ross c393048b98 Move tunnel features (#140620) 2022-01-13 12:13:40 +01:00
KapitanOczywisty 01e9eb59a7 Fix PHP update-grammar.js 2022-01-13 12:05:28 +01:00
Matt Bierner a1f3d41472 Use generators 2022-01-12 19:17:45 -08:00
Matt Bierner dc03ccdfa9 Support insert and replace completion styles for paths in markdown 2022-01-12 19:05:37 -08:00
Matt Bierner fb98c6da10 Skip path completion tests for now
A few of these are failing on windows. Need to test over there
2022-01-12 19:05:37 -08:00
Matt Bierner 1f6c069a1a Adding basic support for reference link completions
For #140602
2022-01-12 19:05:37 -08:00
Matt Bierner a4e529c759 Add basic markdown link completions
For #140602

Only normal links for now. Will add reference links later. Should support the forms:

- `[](dir/file.md)`
- `[](./dir/file.md)`
- `[](/root-dir/file.md)`
- `[](#header)`
- `[](./dir/file.md#header)`
2022-01-12 18:13:21 -08:00
Martin Aeschlimann a6768373bf fix test resolver 2022-01-12 00:08:17 +01:00
Matt Bierner 43c5bc4795 Always add dirname of current md document to localResourceRoots
Fixes #139907

Previously we only added this dir on `file` file system
2022-01-11 12:39:54 -08:00
Martin Aeschlimann dfce25748e Merge pull request #140516 from microsoft/aeschli/server-bin-cleanup
Server distro: cleanup bin folder
2022-01-11 21:35:13 +01:00
Joao Moreno 06e1a2d4e0 fixes #139631 2022-01-11 20:59:54 +01:00
Martin Aeschlimann f4ba7dd12b server bin cleanup 2022-01-11 16:34:28 +01:00
Ladislau Szomoru f62bfae001 Switch to using aka.ms links 2022-01-11 09:51:51 +01:00
Matt Bierner fd745e79f5 Enable passing TSServer plugins to TSServer on web
For #140455

This does not actually enable this feature but a first step for it. Requires work on the TS side to actually get working
2022-01-10 19:33:31 -08:00
Matt Bierner c42d0864dc Remove extra newline for TS Server log on web 2022-01-10 19:33:30 -08:00
Matt Bierner deb9abe55e Use node ipc for communication with TS Server (#135341)
* Use node ipc for communicating with TS Server

For https://github.com/microsoft/TypeScript/issues/46417

* Don't use ipc for stdio of we're not using ipc

* Use node ipc for communicating with TS Server

Fixes #85565
2022-01-10 14:36:23 -08:00
Ladislau Szomoru 942f56efa1 Use consistent git status limit 2022-01-10 21:23:16 +01:00
svennergr 22e45e9f88 Add proper error message on getUserInfo (#140277)
* Add proper error message on getUserInfo

* improved error message on getUserInfo

either display the response message or the http status text

Co-authored-by: Sven Grossmann <mail@grossmann.dev>
2022-01-10 11:35:20 -08:00
Martin Aeschlimann 31fe47284d test resolver: create remoteDataDir 2022-01-10 16:47:29 +01:00
Martin Aeschlimann a0fd6c88eb test resolver: adopt connection-token, polish 2022-01-10 16:20:04 +01:00
Martin Aeschlimann e9203eedf9 test resolver: adopt connection-token 2022-01-10 16:13:11 +01:00
Ladislau Szomoru a4aae00a0a Use scmActiveResourceHasChanges in the when clause to show/hide command in the editor title 2022-01-10 15:32:37 +01:00
Ladislau Szomoru ff75a30d9f Revert "SCM - Introduce another open changes command got editor/command palette (#138293)"
This reverts commit af8b6ad9f0.
2022-01-10 15:32:37 +01:00
Martin Aeschlimann 6249dab4fe test resolver: adopt new server cli: For #137658 2022-01-10 14:38:13 +01:00
Matt Bierner f528f1a415 Make sure markdown refresh forces the preview to be updated 2022-01-08 17:30:37 -08:00
Rob Lourens f7cb722447 Disable all notebook integration tests in web
See #126371
2022-01-07 09:57:11 -08:00