Commit graph

99253 commits

Author SHA1 Message Date
Peng Lyu
7833aade5a
Separate notebook kernel and api test (#156946)
* Separate notebook kernel and api test.

* no need to test reopen dirty document
2022-08-03 07:03:10 +02:00
Benjamin Pasero
f86beb18e8
Increase timeout of web unit tests (#156894)
* Windows: some Firefox web tests are timing out randomly (#155760)

See if this is a fundamental issue or really Firefox is slower.

* mention issue
2022-08-03 06:55:58 +02:00
Matt Bierner
0c7d70ea4f
Remove IDataTransfer type (#156934)
We can use the standard dom DataTransfer type instead
2022-08-03 03:46:57 +02:00
Matt Bierner
c48d775f05
Remove ReadonlyMapView (#156927)
This types does not appear to be used anywhere
2022-08-03 03:46:22 +02:00
Justin Chen
e369a2bca0
Enabled Code Action Widget by default + disabled action hovers
* added disabled hover

* code cleanup on disabled option hovers

* removed comments

* widget enabled by default

* code cleanup and fix on build

* clean up on css removed unused importants

* small patch for css rules

* minor refactor on codeactionitems
2022-08-03 02:18:11 +02:00
Megan Rogge
9f8e6e9a51
.then -> await (#156634) 2022-08-03 02:10:36 +02:00
Megan Rogge
f1c0f68fb5
enable task reconnection by default and fix for windows (#156909)
* set task reconnection to true when there are 0 and check problem matchers not isBackground

* enable by default
2022-08-03 02:10:22 +02:00
Matt Bierner
342394d1e7
Use optional chaining for more method calls (#156938)
This rewrites code such as:

```ts
if (thing) {
    thing.method();
}
```

To the more concise:

```ts
thing?.method();
```

This was done using a simple find replace. I tried to keep the change pretty conservative so it only touches simple cases like above
2022-08-03 01:56:56 +02:00
Matt Bierner
c07ff2eb1d
Remove types.isArray (#156930)
This function was simply calling Array.isArray
2022-08-03 01:53:57 +02:00
Megan Rogge
c95adcfda2
clear decorations on window reload (#156924) 2022-08-02 16:48:38 -07:00
Peng Lyu
418b944396
debt: move insert command towards unit tests. (#156929) 2022-08-03 01:42:53 +02:00
Connor Peet
c9df538b06
build: apply built-in ext cache to the rest of the pipeline (#156939) 2022-08-02 16:26:17 -07:00
Connor Peet
ca48c64699
build: cache built-in extensions to avoid rate limiting (#156918) 2022-08-03 00:27:16 +02:00
Matt Bierner
8b27dcb1f8
Pick up latest markdown language service (#156933) 2022-08-02 23:31:58 +02:00
Peng Lyu
4b551dab35
Turn on notebook document test. (#156932) 2022-08-02 23:20:00 +02:00
John Murray
7e400c7137
Provide valid markdown-specific default for editor.quickSuggestions setting (#156686) (#156689)
Co-authored-by: Matt Bierner <matb@microsoft.com>
2022-08-02 13:51:41 -07:00
Megan Rogge
5f8c264b4f
add separation to task detection notification (#156919)
fix #156287
2022-08-02 13:49:54 -07:00
Matt Bierner
e3267b75c6
Fix onDidDeleteMarkdownDocument not hooked up (#156913) 2022-08-02 22:18:08 +02:00
Matt Bierner
1097f3e440
Use finalized vscode-languageserver version (#156910)
Use finalized vscode-languageserver build
2022-08-02 15:51:07 -04:00
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