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
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
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();
```
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
* 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
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
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'`