Commit graph

97008 commits

Author SHA1 Message Date
Daniel Imms b6171f3de4
Fix terminal profiles smoke tests
This if statement needs to be run even if it was the active group, otherwise
active group index remains at 0 when there are no terminals which causes
problems when a new terminal is created.

Part of #150541
2022-05-27 09:20:34 -07:00
ilumer 2bc5ddab6c fix node version check 2022-05-27 23:30:50 +08:00
Logan Ramos 134df57c2b
Update some milestones in notebooks (#150545) 2022-05-27 15:21:56 +00:00
Daniel Imms 1ca00ca53a
Merge pull request #150543 from microsoft/tyriar/150541
Fix active group if closing a terminal above the active group
2022-05-27 07:58:13 -07:00
Daniel Imms 4996b8660d
Merge pull request #150542 from microsoft/tyriar/150526
Handle file:// uri links in terminal ending with :line:col suffix
2022-05-27 07:55:56 -07:00
Daniel Imms d07084f754
Fix active group if closing a terminal above the active group
Fixes #150541
2022-05-27 07:48:44 -07:00
Daniel Imms aa511389cc
Handle file:// uri links in terminal ending with :line:col suffix
Fixes #150526
2022-05-27 07:34:29 -07:00
Benjamin Pasero 23cbd089ed
show keybindings in quick open help (#150538) 2022-05-27 13:59:10 +00:00
Benjamin Pasero caa14794bb
Default the workspace name to the folder name first added. (fix #149531) (#150535) 2022-05-27 09:17:42 -04:00
Benjamin Pasero 3ae18f4f80
Description is cut off when tabs are disabled and space is narrow (fix #150533) (#150534) 2022-05-27 09:16:53 -04:00
Benjamin Pasero 66092b1cde
enable stable smoke tests (#150532) 2022-05-27 09:16:34 -04:00
Sandeep Somavarapu a5852779de
remove sponsor action from header 2022-05-27 14:58:15 +02:00
Sandeep Somavarapu 2e38d32074
show sponsor button in additional details 2022-05-27 14:52:57 +02:00
Benjamin Pasero 6682d2f3fd
New window opens behind existing windows (fix #149394) (#150530) 2022-05-27 12:51:19 +00:00
Sandeep Somavarapu 449fb5bb95
- publisher sponship link from extension
- show sponsor action in extension editor
2022-05-27 13:52:18 +02:00
Matt Bierner 5c77ef5850
Fix default copy paste (#150495)
Currently `editor.experimental.pasteActions.enabled` breaks pasting in editors that don't have a paste provider

This change fixes this by:

- Fix the `defaultPasteEditProvider` to return edits with the correct type
- Don't actually register `defaultPasteEditProvider`. This means that we can skip a bunch of logic if only the `defaultPasteEditProvider` is active for an editor
2022-05-27 10:22:11 +02:00
Matt Bierner 6428d0fc7d
Support TS's includeInlayVariableTypeHintsWhenTypeMatchesName setting (#150489)
From https://github.com/microsoft/TypeScript/pull/48529

Let users control is variable type inlay hints are suppresed if the variable name matches the type name, such as:

```ts
const range = new Range();
```
2022-05-26 16:00:04 -07:00
Daniel Imms e2adf980b1
Merge pull request #150494 from microsoft/tyriar/148109
Update xterm
2022-05-26 15:47:03 -07:00
Matt Bierner fd19b8567e
Mark notebookContentProvider proposal as deprecated (#150493)
For https://github.com/microsoft/vscode/issues/147248

Marks the top level types in this file as deprecated. Also hooks up `registerNotebookContentProvider` to report deprecated API usage
2022-05-26 22:40:06 +00:00
Matt Bierner 336f860e1b
clip -> clipPath (#150492)
This migrates us from the deprecate `clip` css property to the modern `clip-path` property

As part of this, we also have to switch to `polygon` to define the rectangular clip path
2022-05-26 15:34:12 -07:00
Daniel Imms cf49893c1a
Update xterm
This brings in fixes to search xtermjs/xterm.js#3834 and xtermjs/xterm.js#3831

Fixes #148109
2022-05-26 15:30:11 -07:00
Daniel Imms 6e5089c5aa
Merge pull request #150488 from microsoft/tyriar/150478_2
Disable linux shell integration smoke tests
2022-05-26 15:11:07 -07:00
Matt Bierner 97dddde1f7
Disable notebook clipping (#150490)
Fixes #150238

Also regresses #116946  for notebooks. Will open a new issue to track this
2022-05-26 22:08:24 +00:00
Ladislau Szomoru 9bfd3c1d72
Revert "A full editor can be used as git commit message editor (#95266)" (#150487)
This reverts commit 97f8e66d74.
2022-05-26 14:06:23 -07:00
Daniel Imms e02bca0890
Disable linux shell integration smoke tests
Part of #150478
2022-05-26 13:53:30 -07:00
Peng Lyu 33a8212fd2
fix list view page up/down npe and add tests (#150476) 2022-05-26 12:58:18 -07:00
Joyce Er 944c736527
Don't autoselect a remote help item if there is more than one valid option 2022-05-26 11:55:29 -07:00
Daniel Imms 0cbb928c05
Merge pull request #150479 from microsoft/tyriar/150478
Skip error shell integration tests on Linux
2022-05-26 11:37:34 -07:00
Daniel Imms 8723d109a5
Skip error shell integration tests on Linux
Part of #150478
2022-05-26 11:25:33 -07:00
Daniel Imms 21a10ca06c
Merge pull request #150469 from microsoft/tyriar/150423
Use debug trap mechanism inspired by starship command
2022-05-26 10:20:29 -07:00
Daniel Imms fce27409fa
Use debug trap mechanism inspired by starship command
Fixes #150423
2022-05-26 09:57:30 -07:00
David Dossett 09c7f7d731
Ensure selected font color is applied to list rows (#150461) 2022-05-26 15:47:41 +00:00
Tyler James Leonhardt cc86b15a44
Enable grabbing translations from an alternate location for server distro/serverful scenarios (#150436)
* nls web story

* better handling of urls

* clean up code and don't do nls in dev

* use version instead of quality

* revert changes in workbench-dev.html

* update nls from changes in vscode-loader

* sanitize url a bit

* revert loader change
2022-05-26 08:19:15 -07:00
Daniel Imms 8873e262c6
Merge pull request #150192 from microsoft/tyriar/149324
Create bash explicitly on linux/mac in shell integration smoke tests
2022-05-26 07:48:48 -07:00
Daniel Imms b411370edd
Merge pull request #150456 from microsoft/tyriar/150453
Fix terminal find styles
2022-05-26 07:48:23 -07:00
Daniel Imms 20514b2dc3
Merge pull request #150214 from microsoft/merogge/task-tests
add task configuration tests
2022-05-26 07:43:01 -07:00
Tyler James Leonhardt 27e10113dc
improve configure display language & add clear display language preference (#150433) 2022-05-26 07:42:03 -07:00
Daniel Imms f86bbaa2a5
Fix terminal find styles
Fixes #150453
2022-05-26 07:36:10 -07:00
Daniel Imms add76598b1
Merge pull request #150420 from microsoft/tyriar/150419
Clear activation timeout if terminal is disposed
2022-05-26 07:16:08 -07:00
Matt Bierner 528ee1ae3d
Allow multiple entries with the same mimetype in dataTransfer (#150425)
Currently our data transfer implementation only allows a single entry of each mimeType. There can only be a single `image/gif` file for example.

However this doesn't match how the DOM apis work. If you drop multiple gifs into VS Code for example, the DataTransfer you get contains entries for each of the gifs.

This change allows us to also support DataTransfers that have multiple entries with the same mime type. Just like with the DOM, we support constructing these duplicate mime data transfers internally, but do not allow extensions to create them

As part of this change, I've also made a few clean ups:

- Add helpers for creating dataTransfer items
- Clarify when adding a data transfer item should `append` or `replace`
- Adopt some helper functions in a few more places
2022-05-25 18:29:28 -07:00
Matt Bierner e262c88fb1
Fix process.platform for picomatch (#150430)
The `picomatch` library currently checks `process.platform`. This check fails on web, which causes the markdown extension to not load

To fix this, I'm replacing `process.platform` with the string`'web'`
2022-05-26 01:28:46 +00:00
Peng Lyu 12cb993238
Create cell execution beforehand (#150410) 2022-05-25 17:30:39 -07:00
Daniel Imms 6844f0b7d1 Clear activation timeout if terminal is disposed
Fixes #150419
2022-05-25 16:01:25 -07:00
Daniel Imms 5fca335f5b
Merge pull request #150411 from microsoft/tyriar/150401
Prevent work for really long links
2022-05-25 15:42:45 -07:00
Alex Dima b180649a62
Fix unit tests on node 2022-05-25 23:23:43 +02:00
Alex Dima eb3dcea952
Adopt setTimeout0 which doesn't suffer from the 4ms artificial delay that browsers introduce when the nesting level is > 5 2022-05-25 22:56:37 +02:00
Megan Rogge e7833fe75c
show terminal find history placeholder on focus (#150409) 2022-05-25 13:38:11 -07:00
Daniel Imms d50d10809d
Merge pull request #150413 from microsoft/tyriar/148061
xterm@4.19.0-beta.52
2022-05-25 13:33:46 -07:00
João Moreno 3ed15398de
update endgame notebook (#150407) 2022-05-25 13:22:30 -07:00
Megan Rogge 22806eaa8e
re-enable terminal tabs test (#148966) 2022-05-25 12:54:31 -07:00