Commit Graph

14148 Commits

Author SHA1 Message Date
Henning Dieterichs
d72cb889ed Uses inputActiveOptionBackground as default for actionBar.toggledBackground 2023-08-14 18:45:24 +02:00
Connor Peet
2d9cc42045 testing: menu contribution points around messages (#190298)
- Implements the proposal in #190277 by adding a `contextValue` to
  TestMessages added to test runs.
- Make the `FloatingClickMenu` reusable outside the editor, and uses
  it to implement a `testing/message/content` contribution point.

With this extensions can do things like:

![](https://memes.peet.io/img/23-08-68e2f9db-abc4-4717-9da6-698b002c481c.png)
2023-08-12 08:03:01 -07:00
Meghan Kulkarni
01d8f7d47c regex fix for codeql (#190211)
* regex fix

* added suppression comment
2023-08-11 10:24:32 -07:00
David Dossett
54902a3f0b Tweak slash command widget pill colors and padding (#190208)
* Tweak slash command pill colors

* Fix padding
2023-08-10 16:23:00 -07:00
Alex Ross
a7d7ad8797 Show Ports view when there's an onTunnel extension (#190202) 2023-08-10 14:23:00 -07:00
Alex Ross
c157930421 Merge pull request #190108 from microsoft/alexr00/freezeCpp
Freeze C++ grammar version
2023-08-10 03:19:41 +02:00
Daniel Imms
ccf15d3964 Merge remote-tracking branch 'origin/main' into tyriar/162950_3 2023-08-09 15:33:54 -07:00
Alex Ross
eb03486765 Freeze C++ grammar version 2023-08-10 00:30:24 +02:00
Vitaly
432aac18f1 [typescript] Better paths matching for move to existing file quickpick (#181231)
* Better paths matching for move to existing file quickpick

* fix resolving selected item

* fix: select file dialog point to existing file

* skip computing if
use coalesce

* Improve typings

---------

Co-authored-by: Matt Bierner <matb@microsoft.com>
2023-08-09 21:29:30 +01:00
Connor Peet
a0e56dcea7 forwarding: fix tearing down process too early (#190081) 2023-08-09 20:24:56 +01:00
Daniel Imms
5edcca3b38 Update terminal quick fix proposal
Part of #162950
2023-08-09 07:41:00 -07:00
Matt Bierner
388d3683ea Small cleanups in markdown drop/paste (#189985)
- Observer cancellation more places
- Create constants for mime types
- Making code more consistent to show duplication
2023-08-08 16:27:21 -07:00
David Dossett
caebd5c3a7 Tune secondary button colors (#189989) 2023-08-09 00:19:23 +01:00
Matt Bierner
8c7747252e Move drop/paste ids onto providers (#189961)
For #179430, #30066

This lets us call just the provider we are interested in
2023-08-08 14:44:03 -07:00
Connor Peet
71282c3d52 forwarding: add built-in tunnel forwarding extension (#189874)
* forwarding: add built-in tunnel forwarding extension

- Support public/private ports, which accounts for most of the work in
  the CLI. Previously ports were only privat.
- Make the extension built-in. Ported from the remote-containers
  extension with some tweaks for privacy and durability.
- This also removes the opt-in flag, by not reimplementing it 😛

Fixes https://github.com/microsoft/vscode/issues/189677
Fixes https://github.com/microsoft/vscode/issues/189678

* fixup! comments

---------

Co-authored-by: Raymond Zhao <7199958+rzhao271@users.noreply.github.com>
2023-08-08 22:00:03 +01:00
David Dossett
d1c4bf3fcb Add CSS vars for slash commands and tweak styling (#189965)
Add css vars for slash commands and tweak styling
2023-08-08 13:37:37 -07:00
David Dossett
c27bc0ff97 Fine tune editor widget backgrounds and border (#189957)
Fine tine editor widgets and border
2023-08-08 19:07:46 +01:00
Matt Bierner
39df243d21 priority -> yieldTo for drop/paste API proposals (#189881)
Move await from `priority` for drop/paste API proposals

For #179430, #30066

Switching to use `yieldTo` instead of `priority` to let an extension de-rank itself in the list of edits. `priority` was an arbitrary number while `yieldTo` gives more control over how the ranking takes place
2023-08-07 18:32:03 -07:00
Matt Bierner
4f66a0c2c1 Updating bundled and build TS versions (#189868) 2023-08-07 17:04:12 -07:00
David Dossett
299407db3d Fix invisible border and use new foreground color for quick pick separators (#189857) 2023-08-07 12:36:29 -07:00
Remco Haszing
e0485e9d8f Mark all .tsbuildinfo files as json (#189811)
TypeScript emits a `.tsbuildinfo` file whose file base name matches the
TypeScript configuration file. Typically this configuration file is
named `tsconfig.json`, meaning TypeScript will generate
`tsconfig.tsbuildinfo`. However, if the config file is named
differently, TypeScript will generate another `.tsbuildinfo` file.
2023-08-07 19:32:21 +00:00
Joyce Er
4083eeefc1 Preserve ref in desktop remote -> local clone (#189852) 2023-08-07 19:34:17 +01:00
Robo
ea490e5545 chore: update to Electron 25 (#188268)
* chore: update electron@25.3.0

* ci: update NodeTool version

* chore: update @types/node

* add more common types to layers checker

* chore: update debian dependencies

* chore: update rpm dependencies

* fix: use legacy dns result order of Node.js

* ci: remove deprecated always-auth npm config

Refs npm/cli@72a7eeb

* chore: update deb and rpm dependencies

* chore: update armhf rpm dependencies

* chore: update x64 debian dependencies

* chore: update x64 rpm dependencies

* chore: update electron@25.3.1

* chore: update electron@25.4.0

* chore: bump distro

* chore: bump distro

---------

Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>
2023-08-07 21:46:27 +09:00
David Dossett
83fc3ad9bd Replace transparent colors in Light/Dark Modern themes (#189585)
* Switch to solid colors in light modern and transform values to all caps

* Remove transparent values from workbench in dark+

* Finish merge
2023-08-04 10:34:09 +10:00
David Dossett
2bba361d30 Fix list backgrounds, editor hover widget, and quick pick colors (#189591)
* Fix editor hover widget background

* Remove list overrides and match quick pick background to editor widgets
2023-08-04 09:41:07 +10:00
David Dossett
f0e0d81e2c Revert scrollbar overrides in Dark Modern (#189593) 2023-08-04 00:26:48 +01:00
David Dossett
1d28efe34c Fix light modern list focus outline (#189590) 2023-08-03 16:11:41 -07:00
David Dossett
45efcb4d17 Fix markdown pre and quote styling (#189586) 2023-08-03 15:41:07 -07:00
David Dossett
f78157b2b5 Update badge colors in light/dark modern themes (#189503)
* Update badge background and foreground colors for Light/Dark Modern themes

* Fix hc-dark
2023-08-02 15:00:24 -07:00
Tyler James Leonhardt
cb38b1b567 Fire event when using non-localserver flow (#189493)
Fixes https://github.com/microsoft/vscode/issues/186558
2023-08-02 11:26:09 -07:00
Meghan Kulkarni
1e882b5626 Deprioritize pasteAsMarkdown (#189433)
* deprioritize

* fix tests

* cleaned up code
2023-08-02 10:41:18 -07:00
Daniel Imms
fa4b3238c9 Re-enable unit test with retries
Fixes #188375
2023-08-02 07:09:26 -07:00
Matt Bierner
665aa8a131 Update markdown grammar (#189420) 2023-08-02 06:47:09 -07:00
Aiday Marlen Kyzy
9c184b6007 Sort JSONC files on save (#188480)
* adding the initial code for sorting on save setting

* adding code, it is working, but how to get the text editor options

* cleaning the code

* making the callback synchronous, why does waitUntil not work

* removed unwated edit

* previously the check on is text edit instance was throwing an error, now checking manually that it is working

* chaning the return type of `getOptionsForDocument` to udnefined by default

* Convert to TextEdit instances

---------
2023-08-02 03:24:03 -07:00
Meghan Kulkarni
0e15feeb95 Fixed markdown regular expression (#189423)
* fixed md regex

* update shared.ts
2023-08-01 14:32:33 -07:00
Meghan Kulkarni
934cd52fa8 Links paste as plain text over markdown links (#189366)
* remove updateTitle

* fixed ranges and tests

* fix tests
2023-08-01 13:14:56 -07:00
Matt Bierner
909693076d Bump dompurify (#189368)
* Bump dompurify

Moving to 3.x which drops IE support

* Don't reference trusted types

* Restore esm export block
2023-07-31 17:52:21 -07:00
Meghan Kulkarni
12985b627a Links are not automatically pasted as markdown over valid urls (#189347)
* check if selected text is link
2023-07-31 16:24:48 -07:00
Meghan Kulkarni
1fcc384bae Automatic markdown pasting should escape parentheses (#189357)
auto link with mismatched parens
2023-07-31 23:01:01 +01:00
Matt Bierner
3cc82327b5 Bump TS versions (#189344)
Bumps TS version for building VS Code
Bumps bundled TS version
2023-07-31 20:13:11 +01:00
Meghan Kulkarni
ed59945156 Links with no authority are considered invalid (#189323)
* edit validateLink
2023-07-31 19:36:21 +01:00
Meghan Kulkarni
f7d59ef171 Links are not automatically pasted as Markdown link if nothing is selected (#189338)
update automatic pasting
2023-07-31 11:30:03 -07:00
Alex Ross
5f9fc780c2 Add snippets as a language (#185017)
* Add snippets as a language

* Snippets -> Code Snippets

* Add tests

* json.snippets -> json.comments.snippets
2023-07-28 09:21:56 -07:00
Alex Ross
41c7fc34e0 Update grammars (#189172) 2023-07-28 17:48:19 +02:00
Meghan Kulkarni
e731964e84 Automatic markdown link pasting off by default (#189100)
pasting as markdown link off
2023-07-27 23:11:51 +01:00
Meghan Kulkarni
070707dffc Smart pasting results in a new widget label (#189098)
* add and localize smart label
2023-07-27 22:30:46 +01:00
Meghan Kulkarni
b5a46136c4 Markdown link pasting does not encode or decode links (#188992)
* uris pasted with no encoding or decoding

* add tests for checking encoding
2023-07-27 20:13:03 +01:00
Alexandru Dima
f94dcb9ae0 Turn off aiQuickFix by default for stable (#189069) 2023-07-27 17:16:25 +01:00
Meghan Kulkarni
df16c16211 Smart markdown pasting does not occur in tilde code block (#189004)
smart paste checks ~~~ code block
2023-07-27 09:09:38 -07:00
Andrea Mah
b448b21744 update license for OSS Tool (#188988)
* fixes to license and auto-generated thirdPartyNotices
2023-07-27 08:41:35 -07:00