Commit Graph
124157 Commits
Author SHA1 Message Date
Benjamin Pasero 47f0356460 voice - strip out non-speech tokens 2023-08-09 10:54:33 +02:00
Johannes efb8eeb768 add SlashCommandMetadata 2023-08-09 09:30:12 +02:00
Johannes b435cca931 check for new type 2023-08-09 09:30:02 +02:00
Johannes fab678f998 Merge branch 'main' into joh/thoughtless-haddock 2023-08-09 09:17:18 +02:00
Benjamin Pasero 2eee37034d voice - reuse AudioContext 2023-08-09 07:53:03 +02:00
weartist 1c9d5ca9ff From focus Search to focus ToC 2023-08-09 09:53:06 +08:00
Connor PeetandGitHub bf9c810564 testing: improve experience for test-correlated console output (#189993)
Previously, console messages associated with a test were shown in the
Test Results tree view, and clicking them opened a simple text editor
stripped of ANSI codes

![](https://memes.peet.io/img/23-08-ca47357c-e9e6-49fb-bb60-80a65e49af6e.png)

This was not a great experience, and caused some problems.

Instead, we now have a "Show Output" message for each test with output
in a tree view, which opens terminal output from _just_ that test case.

![](https://memes.peet.io/img/23-08-c3e00702-4f56-4974-9a98-cedcdf26179f.png)

> Input: would selecting the test's range from the entire output be a better experience?

Like the full results terminal, this will stream in data as the test runs.
Additionally, clicking inline test messages now opens a real terminal
with that message selected.

![](https://memes.peet.io/img/23-08-dc4e3b0d-d85c-44ce-abe0-168ce11e8220.png)

cc @Tyriar regarding the new method in IXtermTerminal

Closes #187104 (supplanting the pain point with better ux)

Found a couple quirks with the DiffEditorWidget2 that I didn't catch
in the initial `@deprecated`-triggered migration in debt week
(#189992, #189975), please bear in mind during testing
that these are separate issues.
2023-08-09 10:24:35 +10:00
Daniel ImmsandGitHub 4ff37383cf Merge pull request #189720 from microsoft/tyriar/187082_2
Improve management of events/memory in terminal
2023-08-08 17:14:04 -07:00
Dave Dash e9018d58c9 Fish integration: Use -- in string to signify beginning of positional arguments
In some cases in VSCode + fish you can run a command like:

```
 echo 'hi                                                                                                               
                -- hi'
```

It's perfectly legitimate and will run in a normal terminal just fine.

However VSCode's shell extensions will raise an error:

```
string join: -- hi': unknown option

/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/contrib/terminal/browser/media/fish_xdg_data/fish/vendor_conf.d/shellIntegration.fish (line 1): 
string join ";" $argv
^
in command substitution
        called on line 65 of file /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/contrib/terminal/browser/media/fish_xdg_data/fish/vendor_conf.d/shellIntegration.fish
in function '__vsc_esc' with arguments 'E echo\ \'hi "" --\ hi\''
        called on line 72 of file /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/contrib/terminal/browser/media/fish_xdg_data/fish/vendor_conf.d/shellIntegration.fish
in function '__vsc_cmd_executed' with arguments 'echo\ \'hi\n\n--\ hi\''
in event handler: handler for generic event 'fish_preexec'

(Type 'help string' for related documentation)
```

The problem is `string` interprets the `--hi` as a switch.  By adding `--` we can negate that behavior and let `--hi` be treated as a positional argument.

See the [string documentation][s]

> Arguments beginning with - are normally interpreted as switches; -- causes the following arguments not to be treated as switches even if they begin with -. Switches and required arguments are recognized only on the command line.

[s]: https://fishshell.com/docs/current/cmds/string.html
2023-08-08 18:50:51 -05:00
Matt BiernerandGitHub 6e251255fb withNullAsUndefined(x) -> x ?? undefined (#189987)
Follow up on #189983

Replaces `withNullAsUndefined` with uses of `??`
2023-08-08 16:45:52 -07:00
Matt BiernerandGitHub 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 DossettandGitHub caebd5c3a7 Tune secondary button colors (#189989) 2023-08-09 00:19:23 +01:00
aamunger e2e587dfe5 add action to copy output text 2023-08-08 16:11:54 -07:00
Kartik RajandGitHub 7aee1d6c68 Merge pull request #189979 from microsoft/kartik/general-tarsier
Modify environment collection scope API based on feedback
2023-08-08 15:36:27 -07:00
Matt BiernerandGitHub ce417fac2a withUndefinedAsNull(x) -> x ?? null (#189983)
Replaces `withUndefinedAsNull` with the `??` operator
2023-08-08 15:31:32 -07:00
Matt BiernerandGitHub ce652fbb3a Enable sash for webview find widget (#189977)
Fixes #189648
2023-08-08 15:16:03 -07:00
Megan RoggeandGitHub e6fcbab20a Merge pull request #189950 from microsoft/merogge/help-dialog-screen-reader
wait for context view to hide so screen reader detects focus change
2023-08-08 15:08:41 -07:00
Justin ChenandGitHub 49ac847cc8 bugfix for actionWidget hovers (#189955)
* bugfixes on actionWidget.css

* added selector in ListWidget styling
2023-08-08 22:47:20 +01:00
Matt BiernerandGitHub 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
meganrogge 79c2fe4972 add hack comments 2023-08-08 14:37:24 -07:00
Kartik Raj 700de16f25 Rename doc 2023-08-08 21:31:50 +00:00
Matt BiernerandGitHub 8f4385d10c Use unique ident pool per mangling (#189959)
Fixes #189124
2023-08-08 23:26:50 +02:00
Kartik Raj 3b9cb42639 Modify environment collection scope API based on feedback 2023-08-08 21:22:56 +00:00
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
meganrogge 76a7173100 add toolbar and more 2023-08-08 13:48:33 -07:00
Daniel Imms f011814dfe Fix test compile 2023-08-08 13:44:47 -07:00
Raymond ZhaoandGitHub 2159f75d4b Fix node-gyp not found error (#189942) 2023-08-08 13:42:53 -07:00
Matt BiernerandGitHub 66f62899b8 Don't return editor object from command (#189083)
Fixes #188981

The editor pane can't be serialized so we shouldn't return it here
2023-08-08 13:39:08 -07:00
David DossettandGitHub 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
Raymond ZhaoandGitHub 42b4bf0670 Add Settings editor smoke tests (take 2) (#189867) 2023-08-08 13:01:53 -07:00
meganrogge f5eb72539e reorganize 2023-08-08 11:34:58 -07:00
meganrogge 29a451bcda make it easier to read 2023-08-08 11:31:58 -07:00
meganrogge 000f9f48ff fix syntax 2023-08-08 11:29:21 -07:00
David DossettandGitHub c27bc0ff97 Fine tune editor widget backgrounds and border (#189957)
Fine tine editor widgets and border
2023-08-08 19:07:46 +01:00
David DossettandGitHub a169f60aa7 Add border radius to action-widget (#189953) 2023-08-08 18:26:04 +01:00
Daniel ImmsandGitHub ef45e03cc0 Merge branch 'main' into tyriar/187082_2 2023-08-08 10:00:37 -07:00
meganrogge eb32c77b14 fix issue 2023-08-08 09:57:15 -07:00
meganrogge c448354dd7 allow context view to hide before showing next view so screen reader detects focus change 2023-08-08 09:43:40 -07:00
Tyler James LeonhardtandGitHub cc5a1085ba pass query to inner action to fix "Ask Chat" command (#189945) 2023-08-08 17:24:42 +01:00
Joyce ErandGitHub 98d1724530 Simplify untitled text editor hint (#189862)
* Simplify untitled text editor hint

* API plumbing

* Restore untitled hint after exiting inline chat
2023-08-08 08:41:56 -07:00
Johannes af667558ef Merge branch 'main' into joh/thoughtless-haddock 2023-08-08 17:27:19 +02:00
Benjamin Pasero 707bffbdae voice - scaffold a basic voice recorder service 2023-08-08 17:08:44 +02:00
Cody BeyerandGitHub 023a8ef56d adding azure-ai python packages (#189869) 2023-08-08 08:04:46 -07:00
Bhavya UandGitHub eff62cf95b Check for empty workspace first in StartupPage (#189859)
Check for empty workspace first
2023-08-08 08:01:05 -07:00
Daniel ImmsandGitHub 79a4385184 Merge pull request #189935 from microsoft/tyriar/171173
Correct API proposal link
2023-08-08 08:00:43 -07:00
Daniel Imms 3f20bf91ac Correct API proposal link
Part of #171173
2023-08-08 07:18:42 -07:00
Johannes RiekenandGitHub 2d89af3513 fix https://github.com/microsoft/vscode/issues/186477 (#189923) 2023-08-08 13:32:25 +01:00
Alexandru DimaandGitHub fffde1001a Merge pull request #189921 from microsoft/alexd/optimistic-swordtail
Improve mouse handling in sticky scroll
2023-08-08 14:21:35 +02:00
Johannes RiekenandGitHub a916301830 make sure to dispose listener (#189922)
fixes https://github.com/microsoft/vscode-copilot-release/issues/337
2023-08-08 14:17:59 +02:00
Alex Dima b4a505d304 Handle regular clicks with a separate mouse up listener 2023-08-08 13:12:45 +02:00