Commit Graph

1206 Commits

Author SHA1 Message Date
Tyler James Leonhardt
4e81df7ea9 Tear down the Authentication monolith (#206495)
* Tear down the Authentication monolith

Major changes:
* Turn the usage functions into a proper service `AuthenticationUsageService`
* Pull out the access data stuff into its own service `AuthenticationAccessService`
* Pull out things that make sense as actions `ManageTrustedExtensionsForAccount` `SignOutOfAccount`
* Pull out random registry stuff into a proper authentication contribution
* Pull out everything else that is extension specific into its own class (and eventually it should be in MainThreadAuthentication)
* Have the new `AuthenticationService` return a provider instead of having specific methods for getting the `label` or `supportsMultipleAccounts`

* fix tests

* fix tests
2024-02-29 05:41:11 -08:00
Justin Chen
490b0caf30 update variables via test-documentation script (#206379)
update variables via  script
2024-02-27 21:33:37 +01:00
Matt Bierner
920a3a701e Pick up latest TS for building VS Code (#206264) 2024-02-26 19:56:20 +01:00
Benjamin Pasero
fc18e59421 Allow to dictate by voice into the text editor (fix #205263) (#205264) 2024-02-15 13:05:23 +01:00
Hylke Bons
07446f6211 chat: Use alternating request/response color 2024-02-13 23:21:39 +01:00
Megan Rogge
d560d78a8d Merge pull request #205019 from microsoft/merogge/rename
AudioCue, Alert -> Signal (Sound, Notification) renaming
2024-02-12 14:40:49 -06:00
Alex Ross
69fd227084 Set settings directly from the release notes (#204832)
* Set settings directly from the release notes
Fixes #204338

* Fix build
2024-02-12 19:46:00 +01:00
meganrogge
3886cb8c43 Merge branch 'main' into merogge/rename 2024-02-12 12:11:11 -06:00
meganrogge
5ff3ac1084 first pass of renaming 2024-02-12 10:34:25 -06:00
ermin.zem
c2df354c9f chore: update vscode known variables (#204568)
Co-authored-by: ermin.zem <ermin.zem@alibaba-inc.com>
2024-02-12 16:01:52 +00:00
Rob Lourens
cda51f6ab4 Replace chat "command followups" with command button content (#204512)
* Delete CommandFollowups and make inline chat use its own types for command followups

* Add command button, render it properly

* Manage the lifecycle of commands from chat command buttons

* Handle stale session command in type converter

* Fix
2024-02-06 18:37:22 +01:00
Hylke Bons
7513cee97b multiDiffEditor: Card style + update colors (#203499)
* multiDiffEditor: Card style + update colors

---------

Co-authored-by: Henning Dieterichs <hdieterichs@microsoft.com>
2024-02-02 17:24:13 +01:00
Johannes Rieken
8ba046adbe print heap stats instead of memory usage (#203959)
* print heap stats instead of memory usage

* ensure no hanging on to service

---------

Co-authored-by: João Moreno <joao.moreno@microsoft.com>
2024-02-01 11:37:19 +01:00
Benjamin Christopher Simmonds
2c5286826b Merge pull request #203681 from microsoft/benibenj/ytterbic-rooster
Added Tab Drag and Drop Indicator
2024-02-01 09:01:41 +01:00
Matt Bierner
0404d17da6 Fix nls build script on line such as localize2(...) ... localize(...) (#203851)
For #203842

I believe we need to apply the patches in character order. Otherwise the line ends up corrupted after the patching
2024-01-31 01:40:20 +01:00
BeniBenj
a78b270441 💄 2024-01-30 12:49:32 +01:00
Connor Peet
0f323440e5 eng: allow css nesting via postcss plugin (#203726)
* eng: allow css nesting via postcss plugin

CSS nesting has landed in most browsers at this point, but we don't want
to break users who are still stuck on old browser (mainly older iOS
devices.) This PR adds a postcss plugin to the build process that
de-nests nested CSS.

The plugin required a newer version of postcss as well, so I have
updated that and a couple other modules to their latest versions.

* update build's package.json versions too
2024-01-29 11:19:37 -08:00
Aiday Marlen Kyzy
c75fdbd711 Adding colors from running scripts/test-documentation.sh (#203661)
adding colors
2024-01-29 10:59:52 +01:00
Johannes
b7d1c336ee grrrrr 2024-01-26 16:39:19 +01:00
Johannes
a6f9e08a42 make language service a local var, dispose when new file contents are computed, terminate worker pool 2024-01-26 16:33:54 +01:00
Johannes
4e231448f8 those JS files... 2024-01-26 16:20:23 +01:00
Johannes
5abe782c37 log memory usage after each mangling step
https://github.com/microsoft/vscode/issues/202720#issuecomment-1912208685
2024-01-26 16:09:47 +01:00
Rob Lourens
0955a9d9d5 Add background color to chat agent icon so it doesn't overlap copilot icon (#203256) 2024-01-23 15:52:56 -08:00
Johannes Rieken
236d5dc072 sha256 over md5 (#202985)
* `sha256` over `md5`

* add missing JS file
2024-01-22 14:40:18 +01:00
Connor Peet
e244acbb17 testing: avoid large hovers in test coverage, show inline counts instead (#202944)
Closes #202600

I still have a hover to make the "toggle line coverage" action visible, not sure a better place to put that...
2024-01-21 05:38:46 +00:00
Johannes
335b2d5fd4 quick voice should wrap when getting too long 2024-01-19 15:29:42 +01:00
Matt Bierner
fa989a17f1 Switch to non-deprecated overload for rename (#202755) 2024-01-18 20:48:54 +01:00
Michael Lively
309915ba0c Nb Sticky Scroll z-index & css fixes (#201837)
* no absolute positioning, scrolltop compute based on sticky lines.

* remove z-index var

* compute re-write, remove init, reduce pop-in

* dispose delayer

* remove debounce

* edge case for cell 0 header, next animation frame instead of debounce

* add delayer back, further improve pop in

* remove unused param, update testing snapshots
2024-01-18 11:05:54 -08:00
Sandeep Somavarapu
c005fc38a9 fix #197345 (#202715) 2024-01-18 12:28:40 +01:00
Connor Peet
2e3df8a8b1 testing: coverage decorations in high contrast, better default behavior for position-only exts (#202676)
* testing: coverage decorations in high contrast, better default behavior for position-only exts

* update snapshot
2024-01-17 11:15:21 -08:00
Connor Peet
1c0c4726d3 testing: finish up coverage decorations (#202391)
* testing: finish up coverage decorations

- Adds an inline decorator for empty-range branches
- Adds hover information for inline coverage hovers
- Fixes the editor not handling decorations that get after/before
  content in `updateDecorationOptions`
- Adds an option `label` for branches
- A bunch of other misc tweaks to get coverage looking nice
- Keep decorations in sync if a user makes changes in editor

* update tests
2024-01-13 07:35:11 +01:00
Paul Köck
bb866cd345 Oh, it's already 2024 (#202344)
chore: update copyright year

Co-authored-by: deepak1556 <hop2deep@gmail.com>
2024-01-13 00:38:29 +00:00
Martin Aeschlimann
74f8c5cd89 Make the watermark editor labels themable (#202228) 2024-01-11 10:16:00 +01:00
Henning Dieterichs
ad18bb00ce Fixes #199351 2024-01-09 23:40:26 +01:00
Connor Peet
0e743a2d91 testing: add initial editor decorations
This is the first pass at decorations in-editor. This PR doesn't
actually register the contribution, as it's not ready for selfhosting
yet. This PR creates decorations that look like this. The idea is that
coverage decorations in the glyph margin will always be visibile when
there's coverage, and users can get coverage in their code via hover or
shortcut, with the intention of making coverage unobtrusive and easy to
run all the time.

![](https://memes.peet.io/img/24-01-8e61f4db-f115-4732-affe-59dea879a335.png)

The notable thing is that there is now a third glyph margin row. I
reworked some of the editor code to handle this.

![](https://memes.peet.io/img/24-01-f400369f-650c-4303-be65-e65903f8ad17.png)

Some open questions:

- The glyph margin coverage wants doesn't need to be full-width, should
  we add a new 'leftmost' glyph lane instead that's thinner?
- Adding breakpoints in files with coverage is a little annoying since
  the breakpoint hint widget can expand the glyph margin on lines with
	coverage, and jump back over otherwise. Probably we should never
	decrease the number of lanes shown whenever the cursor is over the
	glyph margin.

		![](https://memes.peet.io/img/24-01-79b53dd9-6fca-41dd-87b5-a113f9c25efb.gif)
2024-01-08 16:11:42 -08:00
Aiday Marlen Kyzy
16894205b6 Changing from outputEditor to outputView (#201290)
changing outputEditor to outputView
2023-12-20 17:14:32 +01:00
Connor Peet
64c8c3fe98 eng: hint if rate limit error is reached on preinstall (#200993)
* eng: hint if rate limit error is reached on preinstall

Fixes #194790

* compile
2023-12-15 18:49:51 +01:00
Aiday Marlen Kyzy
d19f384e1a Merge pull request #200251 from microsoft/aiday/outputViewStickyScroll
Setting a different color for the output view
2023-12-13 16:09:20 +01:00
Aiday Marlen Kyzy
d3d984d0ca registering two new colors for outputEditor and outputEditorStickyScroll background colors 2023-12-08 18:04:05 +01:00
Aiday Marlen Kyzy
14d593fb5f Adding colors vscode-editorStickyScroll-border and vscode-editorStickyScroll-shadow (#200239)
* adding two more colors

* rewording text and making the border color null
2023-12-08 17:25:59 +01:00
Aiday Marlen Kyzy
b5ad415b68 adding new color for sticky scroll inside of the panel 2023-12-08 15:05:20 +01:00
Aiday Marlen Kyzy
797f78fb64 wip 2023-12-07 17:30:32 +01:00
易良
1ac14a7f70 fix: console format of fetchUrl (#198909)
* fix: console format of fetchUrl

* compile

---------

Co-authored-by: Benjamin Pasero <benjamin.pasero@gmail.com>
2023-12-05 07:43:00 +00:00
Aiday Marlen Kyzy
b49fc606c5 definining a new color for the lightbulb ai icon 2023-11-29 16:07:41 +01:00
Connor Peet
e0ef3fcd18 testing: initial test coverage UI (#198812)
This continues on the coverage API I started a few years ago. It adds
initial integration where a "Show Test Coverage" tree item is shown in
the Test Results view, which then opens a dedicated Test Coverage view.
The Test Coverage view is a fairly basic tree view following the draft
design, with further improvements to come.

The 'bars' widget is also built in a reusable way such that it can be
integrated into the explorer, as this was a popular ask both inside and
outside the team.

For #123713.
2023-11-22 07:08:34 -08:00
João Moreno
e469272e45 remove inline sourcemaps from build files (#198842) 2023-11-22 14:05:46 +01:00
João Moreno
87e7f8b5e1 replace node-fetch with native fetch (#198408)
* replace node-fetch with native fetch

* fix dep version

* handle terminated error from fetch

* more error handling
2023-11-16 17:29:35 +01:00
Ladislau Szomoru
9a207df841 SCM - adjust statistics badge border when item is selected/focused (#198367) 2023-11-15 15:07:09 -08:00
Ladislau Szomoru
5fcda6b8c5 SCM - improve statistics badge (#198353) 2023-11-15 13:31:00 -08:00
Dipta Mahardhika
6518c0099c chore: rename color var for comment input box (#197950)
* chore: rename color var for comment input box

also change the default color to inherit from input.background

* Keep using peekview title background and update editor too

---------

Co-authored-by: Alex Ross <alros@microsoft.com>
2023-11-13 13:25:08 +00:00