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
Ladislau Szomoru
452e2c5303
Add timestamp and execution time to Git log
2021-12-09 15:18:38 +01:00
Martin Aeschlimann
2858dd87e7
html: update constants in typescript mode (for #138677 )
2021-12-09 14:27:50 +01:00
Rob Lourens
6897670596
Reenable notebook integration tests
2021-12-08 16:40:50 -08:00
Alex Ross
0c202aa22a
Improve multiple lock file warning
...
Fixes #138174
2021-12-08 14:49:03 +01:00
Tyler Leonhardt
a3e60d2dff
Add messages for rejected promises
2021-12-07 16:23:04 -08:00
Matt Bierner
c2f4daf348
Update webview bits version for tests
2021-12-07 16:16:54 -08:00
Orta Therox
fc4f41d9fc
Allow extensions to be able to make requests to the typescript extension's tsserver via commands ( #138279 )
...
* Allow extensions to be able to make requests to the typescript extension's tsserver via the command system
* Adds allowlisting the commands
Co-authored-by: Matt Bierner <matb@microsoft.com>
2021-12-07 14:42:47 -08:00
Raymond Zhao
21e0035bdb
Refresh Emmet updateImageSize tests
...
Fixes #138499
2021-12-07 13:42:20 -08:00
Matt Bierner
9acd320eda
Also skip notebook test temporarily
2021-12-07 13:28:32 -08:00
Matt Bierner
2edff15481
Temporarily skip webview tests
...
We need to bump the version of the webview src pulled in, but this requires getting a good build first
2021-12-07 13:03:03 -08:00
Matt Bierner
26b621a773
Don't reject status indicator promise
...
Fixes #138453
Looks like `withProgress` does not handle rejections. To dismiss the indicator, we can simply resolve the promise instead
2021-12-07 12:08:39 -08:00
Alexandru Dima
51d7dd1a73
Selective task provider activation using a new onTaskType:
activation event ( #137662 )
2021-12-07 17:43:38 +01:00
Alex Ross
95dcb89a92
Update grammars
2021-12-07 15:12:01 +01:00
Johannes Rieken
5c31535ea8
add more API rpc tests, https://github.com/microsoft/vscode/issues/115679
2021-12-07 09:22:48 +01:00
Matt Bierner
d07ee60829
Update markdown grammar
2021-12-06 18:13:39 -08:00
Jonathan Carter
1921071835
Added theme image support to the markdown preview ( #137820 )
2021-12-06 18:06:02 -08:00
Daniel Rosenwasser
4fb22d76cf
"Surround with" in TS/JS snippets ( #138565 )
...
* Preserve selected text in snippets to provide "surround-with"-like functionality.
* Add the same "surround with"-like functionality to JS snippets.
2021-12-06 18:01:09 -08:00
Matt Bierner
e88394000f
Fix markdown outline for cases without a space after #
...
Fixes #138027
2021-12-06 15:58:11 -08:00
Raymond Zhao
e40596a16c
Skip flaky updateImageSize suite
...
Ref #138499
2021-12-06 12:47:38 -08:00
Joyce Er
efd055b8ba
Refresh markdown preview on all file changes ( #138301 )
...
* Refresh markdown preview on all file changes
* Don't watch `https`, `http`, and `data` uris
2021-12-06 12:36:22 -08:00
Martin Aeschlimann
95a9378519
[json] add 'Clear schema cache' command. Fixes #138524
2021-12-06 16:56:17 +01:00
Ladislau Szomoru
bbede2dc0a
Add extension readme file
2021-12-02 17:07:55 +01:00
Logan Ramos
b395575f00
Address comments about ? operator
2021-12-02 09:55:53 -05:00
Martin Aeschlimann
75455fd428
update request-light. Fixes #136267
2021-12-02 15:44:56 +01:00
Alex Ross
e228f2a2b5
Add cancel to typescript promise rejection ( #138333 )
...
Fixes #138269
2021-12-02 15:21:29 +01:00
João Moreno
1af9ac1b8f
fixes #138274
2021-12-02 11:51:15 +01:00
Ladislau Szomoru
af8b6ad9f0
SCM - Introduce another open changes command got editor/command palette ( #138293 )
...
* Introduce another command got editor/command palette
2021-12-02 11:40:08 +01:00
Logan Ramos
29ea2755e8
Fix #137974
2021-12-01 12:06:39 -05:00
Ladislau Szomoru
d6f24e10d5
Fix regression related to git.scanRepositories
2021-12-01 09:20:41 +01:00
Robert Jin
e6c9ee0796
Update html-language-features to use doQuoteComplete
2021-11-30 17:50:47 +00:00
Johannes Rieken
257657fb23
fix https://github.com/microsoft/vscode/issues/137968
2021-11-30 15:21:56 +01:00
Martin Aeschlimann
cd34f23699
improve json cache log messages (for #101050 )
2021-11-29 23:28:48 +01:00
Martin Aeschlimann
92b20d483e
html custom data: open external uris with openTextDocument. For #135459
2021-11-29 22:21:30 +01:00
Raymond Zhao
dd56064202
Fix Emmet removeTag tests
...
Ref https://github.com/microsoft/vscode/issues/138063
2021-11-29 12:09:57 -08:00
Raymond Zhao
bdc04a9b22
Trim inner tag leading and trailing whitespace
...
Fixes https://github.com/microsoft/vscode/issues/138063
2021-11-29 11:24:10 -08:00
Raymond Zhao
db1f865720
Don't use empty lines when counting new indent
...
Polish for https://github.com/microsoft/vscode/issues/138063
2021-11-29 11:24:09 -08:00
Martin Aeschlimann
8c56f0cae8
[json/html/css] update services
2021-11-29 18:12:56 +01:00
Martin Aeschlimann
3d8b5674c7
[html] clean up request service: add CustomDataRequestService #135459
2021-11-29 11:25:21 +01:00
Henning Dieterichs
319529dc9d
Disable highlighting ambiguous characters for markdown.
2021-11-26 17:20:34 +01:00
Martin Aeschlimann
c67fd6e5cd
Merge pull request #137557 from sijakret/html-language-server/virtual-doc-support
...
html-language-features: text document provider support for customData.html
2021-11-26 11:52:06 +01:00
Martin Aeschlimann
f1455eabed
revert request changes & polish
2021-11-26 11:45:08 +01:00
Tyler Leonhardt
26fe37ca3d
Revert "Have setting the value trigger the filter. Fixes #137279 "
...
This reverts commit c1c103dee7
.
2021-11-24 15:08:35 -08:00
Jan Kretschmer
bb89815cfb
use regex, not Uri.parse, to detect custom scheme
2021-11-24 22:07:31 +01:00
Ladislau Szomoru
bfad20be9d
Extract remote source provider registry into the vscode.git-base extension ( #137656 )
2021-11-24 20:48:44 +01:00
Rob Lourens
d1640b7850
Merge pull request #137447 from grandeljay/remove-brackets-from-statements
...
Remove brackets from PHP statements
2021-11-23 10:53:25 -08:00
Jay Trees
336a6a5ac1
Fix typos
2021-11-23 08:12:27 +01:00
Jay Trees
60304bd046
Remove brackets from echo
2021-11-23 08:10:30 +01:00
Tyler Leonhardt
53e8f2c26e
handle 4XX errors differently from others
2021-11-22 16:20:47 -08:00
Tyler Leonhardt
33a6ac6639
simplify polling when getting a network error
2021-11-22 15:28:13 -08:00