Commit graph

95599 commits

Author SHA1 Message Date
Akat b499467f9f
fix(markdown): avoid considering link references/sources in code sections (#146826) 2022-04-07 14:50:37 -07:00
Logan Ramos 108baab0c6
Fix GDPR typings and compilation 2022-04-07 17:07:23 -04:00
Henning Dieterichs 9898ceaee2
Enables bracket pair colorization by default. 2022-04-07 22:40:47 +02:00
Alexandru Dima e49c5b9eb9
Merge pull request #146968 from dlech/patch-10
Fix editor eating ContextMenu key when contexmenu is disabled
2022-04-07 22:38:03 +02:00
Alex Dima 80e81c66c0
Deactivate extensions after tests are run (#96090 , #146944) 2022-04-07 22:27:14 +02:00
Alex Dima e02a7747eb
Move terminate() to IExtHostExtensionService 2022-04-07 22:23:38 +02:00
Matt Bierner ad78a1cdfe
Enable drop into editor for notebooks (#146966)
Fixes #146961

This makes two changes:

- For drag over, make sure the cellDnd sees the event before the editor widget does (using `useCapture`). This lets us avoid showing the drop into indicator when dragging notebook cells

- For drag_over and drop events, don't do anything if a cell is not being dragged. This lets us drop other things into code cells
2022-04-07 13:18:41 -07:00
SteVen Batten 4e1b02fdd0
fixes microsoft/vscode-internalbacklog#2816 2022-04-07 15:30:40 -04:00
Alex Dima 0e9a835187
update distro 2022-04-07 21:00:50 +02:00
Alexandru Dima f115682b7d
Merge pull request #147015 from microsoft/alex/vscode-textmate-7.0.0
Adopt `vscode-textmate@7.0.0`
2022-04-07 20:55:55 +02:00
Logan Ramos d21ed189d1
Revert "Update GDPR typings to allow for top level metadata. (#146943)"
This reverts commit f1e2e9990b.
2022-04-07 14:53:26 -04:00
Logan Ramos f1e2e9990b
Update GDPR typings to allow for top level metadata. (#146943)
* Update gdpr typings

* Try out new typing
2022-04-07 14:23:27 -04:00
Alex Dima c58ccc6a3e
Merge remote-tracking branch 'origin/main' into alex/vscode-textmate-7.0.0 2022-04-07 20:14:25 +02:00
Alex Dima e2b873e1af
Revert "Fixes #146529 by canceling the completion session on explicit cursor moves."
This reverts commit 29eb316bb9.
2022-04-07 20:01:22 +02:00
Alex Dima da6d913b75
Update to vscode-textmate@7.0.1 2022-04-07 19:47:53 +02:00
Benjamin Pasero 3d46635560
editor - placeholder tweaks 2022-04-07 19:00:27 +02:00
Benjamin Pasero 80c13ff14f
smoke - try to mitigate hanging close (#146803) 2022-04-07 17:48:59 +02:00
Rob Lourens 3a90a6a46d Add dropdown to stop/disconnect button for additional actions. Fix #134412 2022-04-07 08:41:09 -07:00
Benjamin Pasero cd4cff30e5
Update editor placeholder (#146997)
* update placeholder

* simplify

* use $

* hide icon when height is little

* Polish text

Co-authored-by: Miguel Solorio <miguel.solorio@microsoft.com>
2022-04-07 17:40:59 +02:00
Henning Dieterichs 29eb316bb9
Fixes #146529 by canceling the completion session on explicit cursor moves. 2022-04-07 17:09:16 +02:00
Connor Peet 0de44f9786
variables: allow resolving extensionDir (#146274)
* variables: allow resolving `extensionDir`

This allows us to fix https://github.com/microsoft/vscode-remote-release/issues/5516#issuecomment-911597917

It enables a new replacement in the format `${extensionDir:<id>}` which
will expand to the filesystem path where the extension is stored. This
involved churn, since now resolution is always synchronous (where before
the terminal took a synchronous-only path.)

Additionally, changes were needed to inject this information in the
variable resolver. As part of this I made the extension host resolver
(used by debug and tasks) its own extension host service.

* fixup! preserve object key order in resolution, add extensionDir support

* fixup! address pr comments

* fixup! address pr comments

* fixup! address pr comments

* config: fix config replacement only working for first variable per line

* fixup! fix unit tests
2022-04-07 08:06:31 -07:00
Johannes 0fba8139ce
make transient inlay toggle mode a pure UI operation, https://github.com/microsoft/vscode/issues/128162 2022-04-07 16:58:32 +02:00
Alex Dima c397140b8d
Merge remote-tracking branch 'origin/main' into alex/vscode-textmate-7.0.0 2022-04-07 16:39:39 +02:00
Ladislau Szomoru a2f6254739
💄 Remove console.log 2022-04-07 16:39:20 +02:00
Alex Dima 9fe7dabbdb
Adopt vscode-textmate@7.0.0 2022-04-07 16:38:21 +02:00
Ladislau Szomoru cb1851d2dc
Second attempt to fix #121914 2022-04-07 16:38:01 +02:00
Jackson Kearl b26c7879d8
Tweak URI search tree iterator to support folder-level query parameters (#146859)
* Demo fix for #139383

* Add more direct testing

* Revert unneeded changes

* Add new option to uri TST iteratior to ignore queries and fragments
2022-04-07 06:46:37 -07:00
Ladislau Szomoru ef6f0ec6ab
Manually porting change from PR #127702 2022-04-07 15:33:12 +02:00
Anthony Stewart f31ac40273
Update the colouring of links in banner markdown (#140581)
* Update the colouring of links in banner markdown

* Adding underline styling too to match action links

Co-authored-by: Anthony Stewart <anthonystewart@google.com>
2022-04-07 15:09:14 +02:00
Johannes 7d0277ac21
dispose model, editor, and services in test 2022-04-07 15:00:48 +02:00
Anthony Stewart 583d7f3538
Create an empty div.message-actions-container when no actions provided (#140578)
Co-authored-by: Anthony Stewart <anthonystewart@google.com>
2022-04-07 14:56:38 +02:00
Henning Dieterichs 244e0653c3
On content change, first update tokens, then bracket pairs. 2022-04-07 14:39:42 +02:00
Henning Dieterichs 1f202b0f2e
Fixes bracket pair colorization token bug. 2022-04-07 14:34:31 +02:00
Alex Ross d3b7727fae
Allow hiding tooltips on custom tree view items (#146713) 2022-04-07 12:56:01 +02:00
Alex Ross d2663decf7
Show commment on last line of range and update internals (#146916)
Part of #146510
2022-04-07 11:09:38 +02:00
Johannes b12bb30381
don't do inline suggest completion inside words, https://github.com/microsoft/vscode/issues/146948 2022-04-07 10:45:44 +02:00
deepak1556 10ab34ddd8 chore: bump electron@17.4.0
Refs https://github.com/microsoft/vscode/issues/146403
2022-04-07 16:47:32 +09:00
Sandeep Somavarapu 4e69b30b4c
Merge pull request #146500 from microsoft/sandy081/alignExtensionsScanning
Align extension scanning
2022-04-07 11:19:11 +05:30
Jackson Kearl d1cb6c9692
Fix #146761 2022-04-06 22:27:45 -07:00
Sandeep Somavarapu 3f5efe7842
fix unit tests 2022-04-07 10:39:59 +05:30
David Lechner 6785675bf4
Fix editor eating ContextMenu key when contexmenu is disabled
The `EditorOption.contextmenu` setting is supposed to disable the context menu so users can provide their own implementation. However, it is eating the context menu keydown event so the user-defined context menu can only be activated with the mouse and not the keyboard.

This fixes the issue by checking the setting when the keydown event fires.
2022-04-06 19:28:43 -05:00
Raymond Zhao a3d53f7679
Add language-specific scope widget indicators (#146343)
Fixes #145716
2022-04-06 16:05:53 -07:00
Matt Bierner bba6c56123
Fix dropping image from webpage into markdown files 2022-04-06 14:27:41 -07:00
Matt Bierner 27759c6e03
Use limiter instead of custom batcher 2022-04-06 14:16:06 -07:00
Sandeep Somavarapu f2a538f59b
fix unit tests 2022-04-07 01:34:22 +05:30
John Murray 4aa15bc4e1
Add 'Evaluate in Debug Console' and 'Add to Watch' to palette (#146775)
* Add 'Evaluate in Debug Console' and 'Add to Watch' to palette, and make 'Run to Cursor' work from there

* revert unnecessary changes
2022-04-06 11:20:55 -07:00
Rob Lourens d675c045f8 Add additionalScrollHeight to search tree, fix #146935 2022-04-06 11:19:20 -07:00
Benjamin Pasero acc4c50ffa
smoke - skip flaky tests (#146800) 2022-04-06 19:36:17 +02:00
Benjamin Pasero 8e8b3026fc
tests - reduce spam and work 2022-04-06 19:34:41 +02:00
Johannes c6b42be3c6
more strict reuse of inline completion model 2022-04-06 18:43:41 +02:00