Commit Graph

1641 Commits

Author SHA1 Message Date
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
Aiday Marlen Kyzy
df2dd86b0c Merge pull request #197817 from microsoft/aiday/sparkleOnHover
Add a setting to make the sparkle appear on hover or always
2023-11-10 09:20:08 +01:00
Henning Dieterichs
f85a095fd2 Merge pull request #197652 from microsoft/hediet/b/pregnant-mink
Implements first iteration of multi diff editors.
2023-11-09 19:15:12 +01:00
Aiday Marlen Kyzy
c90a53543b polishing the code 2023-11-09 15:59:03 +01:00
Aiday Marlen Kyzy
fba876b51f adding setting to make the sparkle appear only on hover 2023-11-09 13:09:44 +01:00
Daniel Imms
dcdd8555dc Merge branch 'main' into tyriar/172742_sticky_scroll 2023-11-08 11:36:28 -08:00
Benjamin Pasero
f9b5584b73 aux window - reduce direct setInterval uses (#197741) 2023-11-08 16:09:30 +01:00
Alex Ross
43a6f0562f comment reply box background should have it's own color (#197738)
Fixes #196584
2023-11-08 15:41:03 +01:00
Daniel Imms
e2870f6765 Merge branch 'main' into tyriar/172742_sticky_scroll 2023-11-08 06:31:11 -08:00
Henning Dieterichs
3f0f51bde0 Fixes #197552 2023-11-08 10:20:42 +01:00
Henning Dieterichs
0f4505209d Merge branch 'main' into hediet/b/pregnant-mink 2023-11-08 10:04:46 +01:00
Benjamin Pasero
38db856f35 debt - use globalThis and remove deprecated globals (#197712)
* debt - use `globalThis` and remove deprecated `globals`

* fix build
2023-11-08 09:13:03 +01:00
Henning Dieterichs
090fd2c772 Implements first iteration of multi diff editors.
Co-authored-by: Ladislau Szomoru <3372902+lszomoru@users.noreply.github.com>
2023-11-07 16:51:38 +01:00
Benjamin Pasero
3453c4f9f0 aux window - avoid/flag more globals (#197614)
* aux window - avoid/flag more globals

* fix access from worker

* allow `queueMicrotask`

* more adoptions

* fix build

* avoid $globalThis
2023-11-07 12:52:20 +01:00
Daniel Imms
3cfbb33383 Fix most sticky scroll bg styles 2023-11-06 12:49:52 -08:00
Benjamin Pasero
912c2d98e3 aux window - ensure native host service is properly typed in all contexts (#197527) 2023-11-06 12:00:24 +01:00