Commit graph

11983 commits

Author SHA1 Message Date
Matt Bierner 1981fd8ece
Fix markdown previews not having an icon 2022-02-03 12:01:10 -08:00
Matt Bierner 2b92835853
Move js/ts language configs to json file
Fixes #125748
2022-02-03 11:38:09 -08:00
Raymond Zhao 9b75370b4a
Modify click-here link on type init fail msg
Ref #140059
2022-02-03 10:52:52 -08:00
Matt Bierner 571a3c3a55
Don't try tacking on a tsconfig.json if the file already has a json ext 2022-02-03 09:59:10 -08:00
Matt Bierner 92616196f8
💄 2022-02-03 09:59:10 -08:00
Matt Bierner 94a3d96861
Fix missing semicolons 2022-02-03 09:59:10 -08:00
Matt Bierner 820c2b3a12
Update yarn lock 2022-02-03 09:37:29 -08:00
Vitaly c134702cc4
Resolve correct link path for tsconfig.extends (#141062)
* fix(ts-features-extension): resolve correct path for `extends` of tsconfig
fixes #131643

* always provide link. add command to resolve the link path on click

* cleanup
just make the code cleaner

* revert `yarn.lock` changes

* pretending eslint

* use `vscode.open`

* don't add `.json` to path if it's already here
this change better conforms the TS resolving algorithm (see the reference)

* style: move `resolveNodeModulesPath` to top level

* don't show falsy errors on absolute paths

* improve resolveNodeModulesPath impl
- fixed a bug with infinite loop
- check for module existence once per level
2022-02-03 09:37:00 -08:00
Matt Bierner 69896100ed
Add MarkdownString.baseUri proposal (#142055)
For #142051
2022-02-03 08:51:49 -08:00
Matt Bierner 7987c49a08
Use latex as language mode inside markdown math blocks
Fixes #142022

We added simple latex language support recently, so use this instead of our old `markdown-math` language
2022-02-03 08:49:41 -08:00
Andrew Jones 9dc211a499
fix indentation (#141997)
* fix indentation

* add tests

* make regex valid
2022-02-02 19:51:57 -08:00
Alex Ross b170ef3444
Fix no-async-promise-executor in task tests
Fixes #141993
2022-02-02 16:27:26 +01:00
Johannes Rieken 4a130c40ed
enable @typescript-eslint/member-delimiter-style, https://github.com/microsoft/vscode/issues/140391 2022-02-02 14:35:33 +01:00
Alex Dima cab9713422
Fixes #141994: Address eslint problems 2022-02-02 13:18:12 +01:00
Johannes Rieken de1ae9e2cc
update todo-tag for https://github.com/microsoft/vscode/issues/141993 2022-02-02 12:39:06 +01:00
Johannes Rieken 7ccb868835
make sure to use .eslintignore when running yarn eslint, this will ensure that cli failure and editor squiggles are always equal 2022-02-02 12:37:29 +01:00
Rob Lourens bb79477f2e Enable ipynb serializer tests in web integration tests
and reenable NotebookSerializer test in non-web
2022-02-01 18:22:57 -08:00
Tyler Leonhardt f498b374c0
large refactor including new secret storage wrapper and overall code clean up and organization 2022-02-01 18:14:31 -08:00
Matt Bierner 90b50dc7e2
Use ?. in a few more places 2022-02-01 13:59:12 -08:00
Matt Bierner ab2fccd147
Add simple origin check 2022-02-01 12:49:49 -08:00
Megan Rogge 265cca240a
tweak bold regexp (#141968) 2022-02-01 14:10:02 -06:00
Johannes Rieken 7d1f0fda8b
tweak vscode.open command and its test, https://github.com/microsoft/vscode/pull/141944 2022-02-01 18:35:12 +01:00
Caio Agiani 09c2e177ea
Fix typos (#141959)
* src: fix typo formated -> formatted

* src: fix typo recieve -> receive

* src: fix typo successfuly -> successfully

* src: fix typo neccessary -> necessary

* extensions: fix typo existance -> existence

* src: fix typo appearence -> appearance

* src: fix typo choosen -> chosen

* src: fix typo unkown -> unknown

* src: fix typo whenever -> whenever

* src: fix typo proccess -> process

* src: fix typo occured -> occurred

* src: fix typo occuring -> occurring

* src: fix typo defintion -> definition
2022-02-01 09:16:37 -08:00
Martin Aeschlimann d971263085
remove the last typescript-vscode-sh-plugin references 2022-02-01 17:38:36 +01:00
Johannes Rieken b2eebdccad
test that vscode.open supports string in addition to URI 2022-02-01 15:52:15 +01:00
Matt Bierner ce119308e8
Allow using language override for more js/ts settings
Fixes #141912
2022-01-31 18:03:51 -08:00
Matt Bierner c2af7753f6
Mark some JS/TS prefs as language-overridable
Fixes #139864
2022-01-31 17:48:45 -08:00
Matt Bierner 1ab6e6fd06
Pass in doc instead of doc uri 2022-01-31 17:41:03 -08:00
Matt Bierner c33f53e1f2
Pass language desc around instead of modeid 2022-01-31 17:21:55 -08:00
Matt Bierner 2a1274e4a9
Pass around language desc object instead of ids 2022-01-31 17:21:55 -08:00
Matt Bierner babda1e42e
Align name of languageIds with vscode api 2022-01-31 17:21:55 -08:00
Matt Bierner 42914f99ab
Scope JS/TS inlay hints settings per-resource
Fixes #140414
2022-01-31 17:21:54 -08:00
haykam821 17900ce21b
Prevent the image preview transparency background from being affected by scaling (#141667)
Fixes #141292
2022-01-31 16:56:42 -08:00
Alex Ross a1a4c0a63b
Update grammars 2022-01-31 16:52:03 +01:00
Matt Bierner fdd5c8471a
Avoid lookbehind in regexp
Fixes #141689
2022-01-27 17:54:50 -08:00
Matt Bierner 4bdfc9ad01
type -> interface 2022-01-27 17:54:50 -08:00
Matt Bierner ae08924bfa
readonly 2022-01-27 17:54:50 -08:00
Tyler Leonhardt c68d433ac8
copy & continue. Fixes microsoft/vscode-internalbacklog#2613 2022-01-27 16:55:27 -08:00
Christof Marti 7cfeb2ca8b Update description (microsoft/vscode-remote-release#6184) 2022-01-27 17:52:05 +01:00
Daniel Imms 5c6672cd77 Remove terminalLocation from api proposal list
Fixes #141645
2022-01-27 06:52:20 -08:00
Rob Lourens b297fc96b4 Remove stale comment
#140878 is fixed
2022-01-26 21:14:14 -08:00
Ladislau Szomoru c32b9a6114
Add setting to control repository scan 2022-01-26 20:07:25 +01:00
dependabot[bot] dbf955b07a
Bump node-fetch in /extensions/microsoft-authentication (#141536)
Bumps [node-fetch](https://github.com/node-fetch/node-fetch) from 2.6.1 to 2.6.7.
- [Release notes](https://github.com/node-fetch/node-fetch/releases)
- [Commits](https://github.com/node-fetch/node-fetch/compare/v2.6.1...v2.6.7)

---
updated-dependencies:
- dependency-name: node-fetch
  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-26 10:16:24 -08:00
dependabot[bot] e137d37e79
Bump node-fetch from 2.6.1 to 2.6.7 in /extensions/github-authentication (#141537)
Bumps [node-fetch](https://github.com/node-fetch/node-fetch) from 2.6.1 to 2.6.7.
- [Release notes](https://github.com/node-fetch/node-fetch/releases)
- [Commits](https://github.com/node-fetch/node-fetch/compare/v2.6.1...v2.6.7)

---
updated-dependencies:
- dependency-name: node-fetch
  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-26 10:16:05 -08:00
dependabot[bot] d0cf5a848a
Bump node-fetch from 2.6.1 to 2.6.7 in /extensions/github (#141538)
Bumps [node-fetch](https://github.com/node-fetch/node-fetch) from 2.6.1 to 2.6.7.
- [Release notes](https://github.com/node-fetch/node-fetch/releases)
- [Commits](https://github.com/node-fetch/node-fetch/compare/v2.6.1...v2.6.7)

---
updated-dependencies:
- dependency-name: node-fetch
  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-26 07:52:39 -08:00
Matt Bierner 967370319a
Remove export 2022-01-25 12:55:37 -08:00
Waqas Ali a514979b02
Prevent link highlight in markdown code blocks and spans (#140816)
* Prevent link highlight in markdown codeblocks (#139770)

* Handle inline codespan variants for markdown link provider (#139770)

* Refactor codespan detection in markdown link provider (#139770)
2022-01-25 12:38:50 -08:00
Martin Aeschlimann c89f3476ec
$ref '' in 'http://json-schema.org/draft-07/schema' can not be resolved. Fixes #141445 2022-01-25 18:08:19 +01:00
Tyler Leonhardt 9403de257a
proposed api for an idToken on AuthenticationSession. ref #140929 2022-01-24 20:02:31 -08:00
Matt Bierner b44c6b3e0f
Treat / as relative to current folder for loose md files 2022-01-24 15:01:52 -08:00
Martin Aeschlimann d0eaa89a0f
[html/css/json] update services 2022-01-24 23:00:36 +01:00
Harald Kirschner a9e136f1f4
New git welcome missing guide (#140293)
New git welcome missing guide & shortening based on feedback
2022-01-24 09:36:55 -08:00
Martin Aeschlimann f1cdd2bcf4
Merge pull request #141264 from gjsjohnmurray/fix-141257
Support `--#region` and `--#endregion` in SQL (#141257)
2022-01-24 13:35:01 +01:00
Ladislau Szomoru a10dccc76a
Replace path.relative with a helper function that factors in case sensitivity but preserve the casing of the resource path 2022-01-24 12:58:24 +01:00
Martin Aeschlimann 683d2f19f1
reenable 'vscode API - languages - link detector' Fixes #140878 2022-01-24 11:43:22 +01:00
gjsjohnmurray bcccb1627c Support --#region and --#endregion in SQL (#141257) 2022-01-24 09:16:13 +00:00
Tyler Leonhardt e15397d2bb
finalize quickpick API 2022-01-21 14:08:20 -08:00
Matt Bierner 86c706cb97
Pick up new minor TS version 2022-01-21 13:55:33 -08:00
Martin Aeschlimann cc93826815
test resolver: prefer connection-token over connection-token-file 2022-01-21 17:42:35 +01:00
Martin Aeschlimann ef4549b141
Merge branch 'main' into aeschli/noremoteindicatorweb 2022-01-21 17:19:52 +01:00
Ladislau Szomoru ab914793d5
SCMActionButton overflow improvements 2022-01-21 16:16:08 +01:00
Martin Aeschlimann 0d8bb5f2ba
Merge branch 'main' into aeschli/noremoteindicatorweb 2022-01-21 14:16:29 +01:00
Ladislau Szomoru 23664355e6
Revert "Replace path.relative with a helper function that factors in case sensitivity"
This reverts commit c3bd29b3d0.
2022-01-21 13:35:08 +01:00
Martin Aeschlimann f9cac7c28a
adopt --server-data-dir 2022-01-21 12:11:47 +01:00
Christof Marti 5c93230bfb Update name description (vscode-remote-release#6143) 2022-01-21 09:13:00 +01:00
Logan Ramos fc7fb5d480
Enable proposed api in vscode api tests 2022-01-20 13:56:57 -05:00
Benjamin Pasero 13461f8c61
Web: change yarn web to run with our server instead of playground (#139725)
* web - first cut `yarn web` via our server

* properly pipe output

* web - remove traces of web playground

* web - remember last opened workspace for convinience

* use vscode-test-web for server less, clean up web commands

* fix comment

* fix `yarn web`

* rename to code-server

* open system browser

* code-server script: use minimist

* test resolver: use ./scripts/code-server

* integartion tests: fix code-server command name

Co-authored-by: Martin Aeschlimann <martinae@microsoft.com>
2022-01-20 13:48:08 +01:00
Ladislau Szomoru c3bd29b3d0
Replace path.relative with a helper function that factors in case sensitivity 2022-01-20 11:44:11 +01:00
Matt Bierner 968ef3a828
Implement opening for markdown custom editor
Fixes #138196
2022-01-19 14:41:39 -08:00
Matt Bierner 280658327f
Move toc expanding for notebooks logic into toc 2022-01-19 14:41:38 -08:00
Matt Bierner a2d7dfaf35
Simplify toc structure 2022-01-19 14:41:38 -08:00
Matt Bierner 7756c6d7c7
Enable header completions for rest of notebook markdown cells 2022-01-19 14:41:38 -08:00
Matt Bierner 920a00d09d
Use markdown renderer for text/latex (#139154)
Fixes #123144

Uses the standard markdown renderer for `text/latex` outputs. This enables support for python outputs such as:

```python
%%latex
Given : $\pi = 3.14$ , $\alpha = \frac{3\pi}{4}\, rad$
```
2022-01-19 13:26:52 -08:00
Logan Ramos c047af40b2
Fix compilation 2022-01-19 16:18:14 -05:00
Martin Aeschlimann 29c372ff67
[themes] monokai Dimmed theme issue. Fixes #80704 2022-01-19 22:14:42 +01:00
Logan Ramos b22ee20028
Move to @vscode/extension-telemetry 2022-01-19 15:57:17 -05:00
Matt Bierner 0906e08747
Enable path completions in notebook markdown cells 2022-01-19 11:31:10 -08:00
Benjamin Pasero 71b164aac0
skip flaky test (#141001) 2022-01-19 18:30:44 +01:00
Jerome Lelong 3e9acdd3d5
Update latex language grammar and configuration (#140801) 2022-01-19 11:30:32 +01:00
Christof Marti 6309c4010b Fix addOrigin (fixes #140551) 2022-01-19 10:51:55 +01:00
Johannes Rieken 8ef8933a1a
incorporate API feedback, https://github.com/microsoft/vscode/issues/16221 2022-01-19 09:23:48 +01:00
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
Henning Dieterichs ce5d3510b1
Fixes #139201 by disabling highlighting invisible characters in markdown and text files. 2022-01-07 17:35:23 +01:00
Benjamin Pasero b1aa9661d0
tests - skip flaky notebook test 2022-01-07 17:18:56 +01:00
Martin Aeschlimann 873a895208
Update request-light. Fixes #140227 2022-01-07 15:19:40 +01:00
Alex Ross 4d0b81edfb
Fix task smoke test
Fixes #140110
2022-01-07 15:07:33 +01:00
Ladislau Szomoru 302c41cf4e
Add command to drop all stashes 2022-01-07 11:11:16 +01:00
Ladislau Szomoru a4d7014d7a
Git - add setting to control repository scan depth (#140260) 2022-01-07 10:18:53 +01:00
John Murray faf4de0d7a
fix #118617 use term 'remote' when referring to lack of upstream branch (#120467) 2022-01-06 13:55:48 +01:00
Benjamin Pasero d622a8d39f
tests - skip flakes (#140200, #140201) 2022-01-06 07:45:19 +01:00
Matt Bierner 80ce88bc6a
Adopt strike through for markdown
Fixes #43504

Picks up new markdown grammar with strikethrough support and also adopts it for our built-in themes
2022-01-05 15:13:35 -08:00
Matt Bierner 9ed5a855c1
Add support for office-script virtual file system 2022-01-05 14:53:44 -08:00
Matt Bierner ef69c9c8d8
Fix markdown pinning test 2022-01-05 14:49:00 -08:00
Mohammad Sadegh Salimi 2a0d371ca3
Adding support for RTL languages for readme markdown preview. (#139644)
* [markdown preview] dir "auto" added to the markdown-body class.

* fix markdown preview for RTL languages
2022-01-05 14:14:32 -08:00
Khaled 0dba492e01
Corrected the regex to detect espaced percent symbol (#139437) 2022-01-05 12:13:29 -08:00
Matt Bierner c3b939238c
Fix browser ts version 2022-01-05 11:18:22 -08:00
Matt Bierner 0012ea2fb4
Don't include [ and ] as strings in markdown links
Fixes #139051
2022-01-05 11:18:21 -08:00
Johannes Rieken ffdb8427ed
💄 use native endsWith, fyi @chrmarti 2022-01-05 11:46:29 +01:00
Johannes Rieken 986f163f9f
use extension linter to warn about usage of impossible proposals, https://github.com/microsoft/vscode-internalbacklog/issues/2461 2022-01-05 11:46:29 +01:00
Daniel Imms 6ce37ef7a2 Skip flaky test
Part of #140111
2022-01-04 14:28:16 -08:00
Daniel Imms 79ed98edc9 Skip flaky tests
Part of #140110
2022-01-04 09:40:49 -08:00
Ladislau Szomoru 76f34266d5
Replace RegEx with trim() 2022-01-04 11:34:42 +01:00
Raymond Zhao e794a5444b
Remove some "here" links to be more descriptive
Ref #140059
2022-01-03 15:03:38 -08:00
Johannes Rieken 3441d36d84
add JSON schema for extensionEnabledApiProposals, fyi @aeschli 2022-01-03 12:34:10 +01:00
Benjamin Pasero 0f265a3651
integration tests - skip flakes
https://github.com/microsoft/vscode/issues/139960
https://github.com/microsoft/vscode/issues/139958
2021-12-31 08:14:39 +01:00
Rob Lourens 2933672219 Fix notebook test 2021-12-30 15:51:44 -08:00
Rob Lourens a2655c2e5f prefer-const in notebooks 2021-12-30 14:25:09 -08:00
Rob Lourens cb91838779 Dispose kernels in test 2021-12-29 15:32:25 -08:00
Rob Lourens 962a6c85e8 Add test for new execution behavior 2021-12-28 13:44:23 -08:00
Logan Ramos 932ab8e485
Update vscode extension telemetry modules 2021-12-28 11:06:48 -05:00
Benjamin Pasero 7e55d4b8fb
tests - coverage for #139713 fix 2021-12-27 08:25:58 +01:00
Alex Ross 419d62aa0b
Fix multiple lockfile warning with npm workspaces
Fixes #139654
2021-12-23 14:02:18 +01:00
Benjamin Pasero 4712a1ae88
skip flaky test (#139572) 2021-12-21 13:11:07 +01:00
Tyler Leonhardt e8a26d3ebf
ensure we treat scopes sorted and we only return a single session since GH only supports a single log in 2021-12-20 17:12:53 -05:00
Ladislau Szomoru 85694fcf4d
Do not leak rpc proxies (#139498) 2021-12-20 11:50:49 +01:00
Benjamin Pasero bb39ae82cf
smoke - improve runCommand and disable more tests 2021-12-20 08:25:08 +01:00
Matt Bierner 3efb3d6be0
Skip test for now
For #138612
2021-12-17 15:26:43 -08:00
Benjamin Pasero f2f509ba61
skip flaky notebook test (#139324) 2021-12-17 17:20:00 +01:00
Benjamin Pasero b9a2191563
files - add a method to generate a random path name (#139364) 2021-12-17 11:08:17 +01:00
Benjamin Pasero ca17de5011
tests - skip failing notebook test (#139350) 2021-12-17 07:35:53 +01:00
Logan Ramos 9ce72d28b6
Have tab test retry 3 times 2021-12-16 15:27:41 -05:00
Daniel Imms 2584b60112
Merge branch 'main' into tyriar/120077 2021-12-16 11:34:16 -08:00
Raymond Zhao 6b628b53fb
Pull new emmet-helper, fixes #117648 2021-12-16 10:39:22 -08:00
Johannes Rieken b00e5cdbd0
use randomBytes for rnd file name generation, https://github.com/microsoft/vscode/issues/139217 2021-12-16 16:25:56 +01:00
Tyler James Leonhardt f67a8b753f
Use device flow over PAT when we are running in a server full environment but not in a supported uri (#139255)
* initial attempt

* use github-authentication instead

* rework error handling

* update copy

* explain why Workspace
2021-12-15 22:07:49 -05:00
Matt Bierner e7b3724e0c
Enable no-case-declarations in codebase (#139243)
Fixes #139236

This can catch tricky programming mistakes that cause a runtime error. See 7e266b2c42 as an example of the type of bug this can prevent
2021-12-15 17:15:35 -08:00
Kaan Genç ab2b080715
hasCustomMarkdownPreview disables markdown preview buttons in context menus (#139241) 2021-12-15 14:19:39 -08:00
Daniel Imms b562ce7067 Use async/await in env var tests and improve polling
Fixes #120077
2021-12-15 12:28:36 -08:00
Benjamin Pasero b567ea7e8d
tests - do not add file to our workspace 2021-12-15 15:30:11 +01:00
Benjamin Pasero 8f7589750a
Support untitled with associated resource in vscode.open (#139194)
* wip

* 💄

* add test

* comments

* skip flaky test

* Revert "skip flaky test"

This reverts commit 94c712500e.
2021-12-15 14:38:07 +01:00
Jerome Lelong 65a12fac51
Basic LaTeX built-in extension (#138395) 2021-12-15 13:05:22 +01:00
Alex Ross ae3b03a7eb
Fix npm.scripsExplorerExclude for multiroot
Fixes #138826
2021-12-15 11:58:15 +01:00
Matt Bierner 5cbc8ed825
Enable find widget in markdown preview custom editors
Fixes #139148
2021-12-14 18:37:47 -08:00
Matt Bierner 9f454a39b3
Fix md preview trying to update its content on dispose 2021-12-14 18:37:47 -08:00
Rob Lourens ee19746d14 Skip some flaky notebook integration tests - #126371 2021-12-14 15:15:09 -08:00
Daniel Imms 548f18fcf3 Skip env var collection should respect clearing entries
Part of #120077
2021-12-14 14:23:26 -08:00
Matt Bierner 25ef7a83fc
Retry test
Adding simple retry while investigating why this sometimes times out
2021-12-14 12:31:51 -08:00
Matt Bierner 913639f42a
Strip meta http-equiv tags from webview content updates 2021-12-14 11:53:49 -08:00
Ladislau Szomoru 67d6356a25
Do not enable the git extension in restricted mode (#139124) 2021-12-14 20:46:06 +01:00
Martin Aeschlimann a832497526
avoid cursor move forward using a snippet cursor 2021-12-14 17:28:58 +01:00
Martin Aeschlimann 1f9d809e35
single AutoInsertRequest message for both autoQuote and autoClose 2021-12-14 16:00:35 +01:00
Martin Aeschlimann 72287bfab6
Merge branch 'main' into pr/jzyrobert/137080 2021-12-14 15:02:00 +01:00
Hans 3abcabd4e8
fix generates different html content for the same markdown (#138935)
fix generates different html content for the same markdown when get the cached token
2021-12-13 16:55:54 -08:00
Matt Bierner d2925d176d
Pick up TS 4.5.4 2021-12-13 14:15:26 -08:00
Ladislau Szomoru f0f5baffb9
Fix #124066 2021-12-13 15:44:20 +01:00
Christopher M Kline b0d7083e79
Expose 'tag' and 'deleteTag' in git extension API (#123815) 2021-12-13 14:37:47 +01:00
Rob Lourens ad57fde11d Add "current window" command to testresolver.
Seems like this is necessary to use the testresolver with normal extension debugging
2021-12-10 11:36:56 -08:00
Ladislau Szomoru 47de42baa9
Only probe directories during repository discovery 2021-12-10 09:53:48 +01:00
Matt Bierner 2f767b5d85
Pick up TS recovery
For #138794
s
2021-12-09 15:39:31 -08:00
Ladislau Szomoru b70174e85b
Revert "Filter out file paths when discovering git repositories"
This reverts commit 81551acb51.
2021-12-09 17:32:53 +01:00
Ladislau Szomoru 81551acb51
Filter out file paths when discovering git repositories 2021-12-09 17:29:40 +01:00