Commit graph

99234 commits

Author SHA1 Message Date
Logan Ramos
cf42408123
Support multiple partial registrations to resolver (#156672)
* Revert "Revert "Support multiple partial registrations to resolver (#155859)" (#156157)"

This reverts commit 2af49c5bea.

* Fix perf issue

* Fix tests

* Support opening merge via resolver

* Ensure merge editor has an id
2022-08-02 14:42:26 -04:00
Matt Bierner
3a5a458643
Clear markdown diagnostics when file is closed (#156912) 2022-08-02 20:32:02 +02:00
Joyce Er
13e4a97bf1
Add perf marks for auto resuming edit sessions (#156309) 2022-08-02 11:28:02 -07:00
Matt Bierner
424fe151f1
Add patch for enabling new TS plugins on web approach (#149186)
* Add patch for enabling new TS plugins on web approach

https://github.com/microsoft/TypeScript/pull/47377

To run plugins on web, we need to shim out `dynamicImport`. This is done in a file call `tsserverWeb.js`, which is added by the linked PR

* Update for new files names
2022-08-02 20:00:22 +02:00
Alex Ross
2d5a77a478
Create a new API proposal to move openTunnel into (#155835)
First, just create the new proposal and don't delete the old proposal. This gives users of the proposal a chance to move off of the old on.
2022-08-02 13:44:56 -04:00
Megan Rogge
ba30d11869
skip flaky tests to investigate (#156906) 2022-08-02 19:38:05 +02:00
John Murray
e7426f3a73
Issue Reporter: add link to guidance on wiki (#73512) (#156139) 2022-08-02 19:33:24 +02:00
Peng Lyu
2bdfa39fab
[main]: Update list support find context key name (#156905)
Fix #156878. Update list support find context key name

Co-authored-by: Connor Peet <connor@peet.io>
2022-08-02 10:19:20 -07:00
Tyler James Leonhardt
2842ae2481
Make sure non-matching characters aren't included in highlights (#154537) 2022-08-02 09:51:09 -07:00
Aiday Marlen Kyzy
e93a125ac7
Extracting the CSS to a separate file (fixes #156876) (#156890)
Extracting the CSS to a separate file.
2022-08-02 18:15:14 +02:00
Aiday Marlen Kyzy
f236be6a6d
Adding the click event to the dom.addDisposableListener. Fixes #156879. (#156891)
* Adding the click event to the dom.addDisposableListener. Fixes #156879.

* Register the disposable
2022-08-02 17:35:25 +02:00
Connor Peet
a3d2c539fe
testing: clean up and compact test result storage (#156834)
* testing: clean up and compact test result storage

This PR does several chore things around test results:

- Removes the persistence of test messages, which should reduce the
  size of stored results significantly (we only keep the state). This
  is the same as what IntelliJ does with some cursory testing, and I
  think it makes sense.
- Brings back some of the notion of 'outdated' tests, so previously
  executed tests are shown in a more muted color. This is useful since
  they no longer are "full" results, and are instead just messages.
- Previous results are no longer 'restored' to the extension host on
  boot, which directly fixes #151147
- Compacts the storage of terminal output: we'll now only keep the first
  100 bytes of any terminal output associated with the test, and read
  from the disk on-demand when the full message is viewed.

Later I want to make terminal messages fancier (see the #terminal channel).

* fixup! remove unused imports
2022-08-02 08:27:25 -07:00
Megan Rogge
d2bab15175
fix task reconnection issues (#156699) 2022-08-02 08:23:35 -07:00
Aiday Marlen Kyzy
3495573dec
Increasing the character limit to 500 (#156880) (#156884) 2022-08-02 16:57:29 +02:00
Sandeep Somavarapu
56c7ffabc9
clean up vsixs (#156893)
* Fix #156696

* - clean up created vsixs
- fix installing vsixs in local from remote
2022-08-02 15:51:43 +02:00
Rob Lourens
58f0a069f9
Add telemetry comments (#156827)
* Add telemetry comments. Fix microsoft/vscode-internalbacklog#2762

* Remove unused usePcre2 attribute

Co-authored-by: Logan Ramos <lramos15@gmail.com>
2022-08-02 09:14:46 -04:00
Benjamin Pasero
b4cc8ddac2
debt - do not run long running ops in web on shutdown (#156735)
* debt - do not run long running ops in web on shutdown

* fix tests
2022-08-02 09:14:08 -04:00
John Murray
f7aa4b1596
Correct initial window size on Windows secondary display with different scaling factor (#146499) (#155589)
* Correct initial window size on Windows secondary display with different scaling factor (#146499)

* 💄

Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>
Co-authored-by: Benjamin Pasero <benjamin.pasero@gmail.com>
2022-08-02 13:09:37 +02:00
Sandeep Somavarapu
dac86fc197
Fix #156696 (#156866) 2022-08-02 12:39:20 +02:00
Aiday Marlen Kyzy
35ab68698a
Sticky scroll should not cover scrollbar and minimap (fixes #156570) (#156869)
* Sticks namespace {} to the sticky scroll widget too. Fixes https://github.com/microsoft/vscode/issues/156611.

* No longer need the verification model.getLineContent(start) !== '' with the latest changes. Fixes https://github.com/microsoft/vscode/issues/156616.

* Set the width of the sticky scroll so the widget is not over the minimap. Works on resize too. Only for minimap placed on the right.

* Sticky scroll should not take into account the vertical scrollbar (takes into account the minimap side as well). Fixes https://github.com/microsoft/vscode/issues/156570.
2022-08-02 10:46:55 +02:00
Peng Lyu
fded572606
Re #155587. Move undo/redo to unit tests. (#156849) 2022-08-02 09:28:37 +02:00
Joyce Er
6e935e3f36
Present Continue Edit Session options in sorted order (#156860) 2022-08-02 09:27:53 +02:00
Benjamin Pasero
0ea1cfd5d2
🆙 distro (#156863) 2022-08-02 08:45:25 +02:00
Sandeep Somavarapu
f0207c0abb
Merge pull request #156792 from microsoft/sandy081/extensive-sparrow
use the profile from current or last active window
2022-08-02 08:44:49 +02:00
Matt Bierner
df9ecf06cd
Build VS Code using latest TS version (#156819)
Pick up latest TS for building VS Code
2022-08-01 22:57:14 -07:00
Benjamin Pasero
359d3d4742
🆙 playwright@1.24.2 (#156715)
* 🆙 pw

* distro
2022-08-02 07:54:38 +02:00
Ping
8bd41544ee
Fix isStandalone when PWA entering fullscreen (#156424)
Fixes https://github.com/microsoft/vscode/issues/156347
2022-08-02 07:20:42 +02:00
Benjamin Pasero
0fffd354d3
Sandbox: Enable on Insiders by default (fix #156440) (#156733)
* Sandbox: Enable on Insiders by default (fix #156440)

* fix tests
2022-08-02 07:18:44 +02:00
Matt Bierner
887536f500
Include directory of notebook in local resources roots (#156852)
Fixes #156815

This is also how the markdown preview operates: 3b549009fe/extensions/markdown-language-features/src/preview/preview.ts (L442)
2022-08-02 03:57:02 +02:00
Miguel Solorio
96dac9e2ae
Adjust margin in getting started (#156845)
Adjust margin
2022-08-01 17:35:13 -07:00
Tyler James Leonhardt
13066d79e3
up timeout to 5min (#156846) 2022-08-01 17:15:52 -07:00
Matt Bierner
cf43717e18
Pick up new md grammar (#156844)
Also updates themes to better handle https://github.com/microsoft/vscode-markdown-tm-grammar/issues/4
2022-08-01 17:13:55 -07:00
Tyler James Leonhardt
a7cd732b7f
ignore query and fragment of trustedDomains (#156841) 2022-08-02 01:45:44 +02:00
Tyler James Leonhardt
6f8b946d70
Remove locale and include download count (#156823) 2022-08-01 14:41:08 -07:00
Matt Bierner
f0434c0960
Pick up TS 4.8 for JS/TS extension (#156828) 2022-08-01 13:59:07 -07:00
Peng Lyu
f31a88e161
Remove move cell integration test (#156825)
* Remove move cell integration test

* 💄

* test didn't really run locally
2022-08-01 16:54:49 -04:00
John Murray
f9bee281e0
Show Issue Reporter window in taskbar (#130497) (#156141) 2022-08-01 13:37:27 -07:00
Logan Ramos
d32b92bd7a
Make comment and owner required by default (#156822) 2022-08-01 16:05:57 -04:00
Peng Lyu
f4433141c7
Move off asPromise (#155920)
* Troubleshoot asPromise

* Update batch edit api

* Update workspace edit

* fix #156663

* 💄
2022-08-01 21:09:41 +02:00
Matt Bierner
cf4922392c
Use flat and coalesce (#156817) 2022-08-01 11:25:38 -07:00
Matt Bierner
97c8a97261
Include globally enabled TS Server plugins when reporting issues (#156510)
We're seeing a lot of crashes caused by TS Server plugins (usually those that come from extension). This will be easier to track down if we also include the enabled plugins when reporting issues
2022-08-01 10:44:46 -07:00
Matt Bierner
4eef7a94e1
Tell users about enabled TS plugins on crash (#156514)
We've been seeing a fair number of reported issues about TS Server crashes that are caused by plugins contributed by extension. This change adds info to the error message about enabled global plugins so users can try disabling them

Other changes:

- Use `JS/TS` instead of Typescript since the server is used for javascript too (a common source of confusion)
- Fix some missing checks to `_isPromptingAfterCrash` and some extra guards that were causing some crashes to now show this message
- Use `crashed` instead of `died unexpectedly`
2022-08-01 10:44:33 -07:00
Semesse
b511de5fa3
Skip collapsed state check for nested children when dropping files in explorer (#156759)
fixes #156746
2022-08-01 13:32:03 -04:00
Svante Boberg
d5de9523ed
Cleanup disposed terminals (#156326)
Terminals spawned in extensions are added to a map, but no cleanup was
being done. This causes memory leaks when js cannot garbage collect
the disposed terminals.
2022-08-01 10:04:45 -07:00
Babak K. Shandiz
2150470804
🎁 Add option to disable script hovers in package.json files (#156752)
* ⚙️ Define `npm.scriptHover` configuration parameter

Signed-off-by: Babak K. Shandiz <babak.k.shandiz@gmail.com>

* 🌐 Add localized description for `npm.scriptHover` config parameter

Signed-off-by: Babak K. Shandiz <babak.k.shandiz@gmail.com>

* 🎁 Respect `npm.scriptHover` config parameter in `NpmScriptHoverProvider`

Signed-off-by: Babak K. Shandiz <babak.k.shandiz@gmail.com>
2022-08-01 09:43:31 -07:00
Daniel Imms
59cd6e48d8
Merge pull request #156807 from microsoft/tyriar/156806
Support default icon/color in folder scope
2022-08-01 09:34:32 -07:00
Daniel Imms
ca1c8c70e3
Support default icon/color in folder scope
Fixes #156806
2022-08-01 08:37:56 -07:00
Sandeep Somavarapu
ef65649326
do not report builtin extensions (#156793) 2022-08-01 16:29:23 +02:00
Sandeep Somavarapu
25fd5e204e
Fix #156698 (#156799) 2022-08-01 09:37:55 -04:00
Logan Ramos
519f9b51f3
Bump distro + update labels (#156685) 2022-08-01 15:35:32 +02:00