Commit Graph

201 Commits

Author SHA1 Message Date
ermin.zem
bf9068c750 fix: fix editor progress position when enabled pinnedTabsOnSeparateRow (#195314)
* fix: fix editor progress position when enabled pinnedTabsOnSeparateRow

* fix: fix editor progress position

* fix: fix editor progress position

* fix: add commit to editor title progress style

* Revert "fix: add commit to editor title progress style"

This reverts commit 302ec88c9a.

* Revert "fix: fix editor progress position"

This reverts commit ec445b607c.

* Revert "fix: fix editor progress position"

This reverts commit cea64becfa.

* Revert "fix: fix editor progress position when enabled pinnedTabsOnSeparateRow"

This reverts commit 8f2c0e7022.

* feat: add --editor-group-tabs-height css variable to set progress bar position

* update height in lyout

* Remove setting redraws as already done elsewhere

* Remove 2px for progress bit height

---------

Co-authored-by: ermin.zem <ermin.zem@alibaba-inc.com>
Co-authored-by: BeniBenj <besimmonds@microsoft.com>
2023-10-23 12:14:58 +02:00
David Dossett
243e6cec50 Tweak text preformat foreground and background (#195821) 2023-10-17 22:18:28 +02:00
Benjamin Pasero
90aee6d79c voice - more tweaks to icon animation (#195681)
* voice - more tweaks to icon animation

* more tweaks
2023-10-16 12:16:59 +02:00
Bhavya U
1d7b8b8a43 Update color-registry (#194756) 2023-10-03 17:53:59 -07:00
Matt Bierner
10d94ba0f3 Pick up latest TS nightly for building VS Code (#194631) 2023-10-02 19:40:35 +01:00
Sandeep Somavarapu
20212f2b7b overlay gear on profile icon (#193806) 2023-09-22 15:08:24 +01:00
Benjamin Pasero
7d7dfa8f3e debt - refer to tab height also in code 2023-09-09 13:28:26 +02:00
BeniBenj
908d5f155d variable renaming 2023-09-06 15:20:49 +02:00
BeniBenj
2e33655e9c rename variables title height, added super methods 2023-09-06 10:39:10 +02:00
BeniBenj
09a9c0140e Support different tab heights 2023-09-04 18:00:07 +02:00
Aiday Marlen Kyzy
14c1d7c061 adding code changes 2023-08-28 15:04:43 +02:00
Aiday Marlen Kyzy
74a11f3d2b adding some working code, use classes instead 2023-08-28 14:25:26 +02:00
Henning Dieterichs
e5a07457e4 Improves moved code arrow rendering. 2023-08-22 18:16:39 +02:00
Benjamin Pasero
f19d123095 status bar - introduce kind and adopt (fix #184967) (#190947)
* status bar - introduce `kind` and adopt (fix #184967)

* adopt for extensions

* deprecate colors
2023-08-22 12:37:40 +02:00
David Dossett
cf4f089eef Add hover foreground for prominent status bar items (#190925) 2023-08-21 16:35:12 -07:00
David Dossett
c69eb8f67a Add status bar item hover foreground color (#190906)
* Add status bar item hover foreground color

* Use status bar item foreground instead
2023-08-21 10:42:37 -07:00
Henning Dieterichs
04dd69f669 Renders toggle state in action bar. Fixes #186403. 2023-08-14 18:45:24 +02:00
Aiday Marlen Kyzy
f7f8fea209 Merge pull request #187698 from microsoft/aiday/limitingWidthOfHover
Limiting the width of the content hover to the content inside
2023-08-14 14:28:14 +02:00
David Dossett
1b8729178c Remove background color for chat requests (#190297)
Don't use background color for chat requests
2023-08-12 07:58:25 -07:00
Alex Dima
684270ac2e Use consistent names for variables, fall back to defaults when wrapping is on 2023-08-11 17:39:24 +02:00
Alexandru Dima
6e7ea55068 Merge branch 'main' into aiday/limitingWidthOfHover 2023-08-11 17:17:07 +02: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
Aiday Marlen Kyzy
a31f703941 Making sticky scroll scrollable (#189466)
* work in progress make it scrollabel

* adding changes

* adding changes

* cleaning the code

* cleaning the code

* not usnig a vertical scrollbar

* scanning the dom node only on mouse over

* requires tweaking

* now the scrollbar can be used alongside the hovering on the sticky scroll

* setting handle mouse wheel to false in order not to scroll vertically inside of the scrollable element with wheel

* separated the line numbers and the actual line in order to be able to just move one of the scrollbars, the editor one and the line numbers remain the same

* cleanin the code

* we are able to make the full line appear

* the width is correctly updated on the width layout change of the editor

* only rendering when top scroll changed, not when horizontal scroll changed

* using the correct editor layout info, not the one saved in the constructor

* setting the linehtml node style width to 100% so that the whole line is covered, but still not covered after the end of the viewport

* changing the total width after rendering

* placing the color into sticky line number

* removing the direct setting of the colors

* adding the background color inside of sticky line number

* using the view zone in order to increase the scroll width of the editor

* placing the view zone at the very bottom of the file

* limiting the scrollable dom height to the height of the sticky widget lines node inside, so now the sticky widget works as before

* cleaning the code

* cleaning the code

* removing useless variable

* adding 100 pixels in order to see the end of the line

* removing the console logs

* putting back the check to what it was

* using the same string convention

* adding inheritance properties in order for the background color to be propagated

* cleaning the code

* cleaning the code

* using or instead of and in the zone accessos

* cleaning the code

* cleaning the code

* cleaning the CSS

* chaning the order of the CSS properties

* cleaning the code

* Improve rendering

* No need to resize the widget from the outside, the widget resizes itself

* placing the focus method inside of the sticky widget

* céeanig the code

* Minor tweaks

* Also update widget width when the scroll width changes

* Allow overlay widgets to pass in a minimum content width

* Also update the min content width if the position doesn't change

* defining method for mi content width in px

* updating the minimum content width

* adding setting in order to be able to control whether sticky scroll scrolling should be influenced by editor horizontal scrolling

* removing redundant new line

* Fix typo

* Extract code in a function

---------

Co-authored-by: Alexandru Dima <alexdima@microsoft.com>
2023-08-07 17:35:57 +01:00
Aiday Marlen Kyzy
398e46ca68 Make content hover text use full possible width (#187597)
* combinging the setting of max dimensions on the container and on the contents dom node

* adding the css variable in order to be able to specify the max width of the content inside

* cleaning the code

* changing the name of the variable

* cleaning the code

* placing the hover max width variable into the others category of vscode-known-variables json file

* defining a fall back value of 500 pixels

* inlinging the code

---------

Co-authored-by: Alexandru Dima <alexdima@microsoft.com>
2023-07-26 08:54:48 +02:00
Michael Lively
28e972e496 initial stickyScroll support for notebooks (#188323)
* stickyscrool wip. dom node + filler static content

* headers rendering. todo: too early, multiple headers

* css file movement + outline rework

* kernel css move

* pop-in fixed // css cleaned // setting added

* fix override

* low hanging fixes

* refactor to remove unnecessary layer

* section transition logic cleanup + other misc fixes

* whoops changed a little too much. todo: linesToRender thinking

* finalized logic

* nits

* def false

* Update zindex

* Fix font size

---------

Co-authored-by: Peng Lyu <penn.lv@gmail.com>
2023-07-20 15:50:39 -07:00
weartist
2fd4a2523e remove unnecessary code 2023-07-19 09:25:48 +08:00
weartist
75f5fc5073 fix spell 2023-07-18 17:23:58 +08:00
Aiday Marlen Kyzy
e1becd2eb8 cleaning the code, it works now 2023-07-12 12:49:48 +02:00
Henning Dieterichs
6bbb128304 Merge pull request #178112 from mwerschy/rainbow-indent
Implement indent guide colorization options.
2023-07-05 18:20:29 +02:00
Jacek Kopecký
b97d99f428 Add tabSizingFixedMinWidth setting (#185766) (#186058)
* Add tabSizingFixedMinWidth setting (#185766)

* Add forgotten case for wrapping tabs

* address feedback

---------

Co-authored-by: Benjamin Pasero <benjamin.pasero@gmail.com>
2023-06-26 14:58:37 +00:00
Henning Dieterichs
60b19b3dd8 Unchanged collapsed code improvements 2023-06-19 17:25:27 +02:00
Henning Dieterichs
b975405819 Diff Editor v2: Iterates on collapsed unchanged code feature. (#185499) 2023-06-19 12:41:17 +02:00
Johannes Rieken
72e2af69c9 joh/high loon (#185337)
* allow session creation to be cancelled

* define background colors, make sure to reshow after session is ready, reset selection style on hide
2023-06-16 16:45:44 +02:00
Aiday Marlen Kyzy
7dafe5df1d renaming the CSS variable names and the labels from interactive editor to inline chat 2023-06-08 14:41:41 +02:00
Aiday Marlen Kyzy
c529638000 renaming the content inside of inlineChat folder from IE to IC 2023-06-07 16:02:34 +02:00
Henning Dieterichs
aa88e727da Implements initial version of moved code detection. (#184336)
* Implements initial version of moved code detection.

* Fixes monaco.d.ts

* Fixes tests.
2023-06-05 08:50:55 -07:00
Johannes
946cdaa03c stub out cropped/expanded as CSS variables 2023-06-05 14:58:04 +02:00
Henning Dieterichs
46132523d0 Merge branch 'main' into rainbow-indent 2023-05-26 17:57:21 +02:00
Henning Dieterichs
397f2e7c34 First draft of diff editor v2. 2023-05-26 15:26:31 +02:00
Joyce Er
bc1090cc10 Initial share provider API and UI (#182999)
* Formalize share provider API

* i18n.resources.json

* Don't introduce a generic Success dialog severity
2023-05-22 15:32:43 -07:00
Jacek Kopecký
cbbd9220c2 Add settings for fixed-width tabs (#181729)
* Add settings for fixed-width tabs

This is meant at least partially to address #40290 and
is a continuation of the unfinished work from #40750.

* Only apply fixed width when the setting is on

* Implement chrome-like tab width behavior

Tabs shrink uniformly (down to a limit) but stay fixed-width
when the mouse is over the tab bar.

* Rename width setting to max width

* Make the ifs more readable

* Have event handlers only if the option is set

* 🎨

* Handle sizing artifacts present with wrapping tabs

To achieve this, it's best to remove the transition delay.

* Rename setting to apply only for fixed-sized tabs

* Set default fixed max tab width to 160px

* Minor code tweaks from review comments

* formatting

Co-authored-by: Benjamin Pasero <benjamin.pasero@gmail.com>

* Use disposable listeners

* Remove redundant check for last-in-row

* Apply fade gradient from shrink tabSizing to fixed

* Trying to make the code cleaner and understandable

* Remove transition

On advice of @bpasero, removed transition because
the editor doesn't really use transition that much.

* some cleanup

* fix typo

* Simplify workaround for the overflow issue

* 💄

* 💄

* Let the tabs fix their width before closing the editor

* 💄

---------

Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>
Co-authored-by: Benjamin Pasero <benjamin.pasero@gmail.com>
2023-05-22 15:32:52 +00:00
Rob Lourens
d052d3190f More "chat" renames (#182990)
* More "chat" renames

* More renames
2023-05-19 16:14:43 -07:00
Rob Lourens
27f30a3a5d Remove items from vscode-known-variables (#181561)
Remove items from vscode
2023-05-04 20:02:21 +02:00
Rob Lourens
2b470d47ee Fix chat list styles (#181543) 2023-05-04 18:51:57 +02:00
Johannes
94ce8894c0 remove the box, use background instead, make input part have the shadow 2023-03-28 18:10:52 +02:00
Pouya Kary ✨
e367f30db6 Fixes #177580 (#177581)
fixed the spelling in commentGlyphForground to commentGlyphForeground

Co-authored-by: Martin Aeschlimann <martinae@microsoft.com>
2023-03-24 05:05:14 +00:00
David Dossett
c89324c0b9 Reverse background colors on interactive session (#178165)
* Reverse background colors on interactive session

* Only apply borders to requests
2023-03-23 16:28:24 -07:00
Malte Werschy
439f7e5bcc Implement indent guide colorization options. 2023-03-23 08:19:21 +01:00
Martin Aeschlimann
3f5600c324 Improve stylelint variable checking (#178002) 2023-03-22 14:59:25 +01:00
Johannes Rieken
cbfa89a53e extract dedicated colors (#177992) 2023-03-22 11:36:48 +01:00