Commit Graph

1125 Commits

Author SHA1 Message Date
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
Benjamin Pasero
c21b0e9d56 Merge branch 'main' into ben/voice 2023-08-24 06:21:19 +02:00
Ulugbek Abdullaev
e4bfe48d92 Merge pull request #190649 from microsoft/ulugbekna/insert-at-cursor-api
MappedEditsProvider API
2023-08-23 12:28:24 +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
Benjamin Pasero
9044b53c04 Merge branch 'main' into ben/voice 2023-08-22 06:39:23 +02:00
David Dossett
cf4f089eef Add hover foreground for prominent status bar items (#190925) 2023-08-21 16:35:12 -07:00
Benjamin Pasero
c2cd8a1f27 Merge branch 'main' into ben/voice 2023-08-21 20:12:55 +02: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
Ulugbek Abdullaev
c3a4fbbe8f add vscode.executeMappedEditsProvider command & use it to have integration tests for mapped-edits service 2023-08-21 13:00:50 +02:00
Benjamin Pasero
4947857427 Merge branch 'main' into ben/voice 2023-08-18 12:15:02 +02:00
Alex Ross
7cd34760d1 Add compiled file 2023-08-15 18:54:46 +02:00
yiliang114
ca333cd5ea chore: remove build output of compilation.js 2023-08-16 00:20:12 +08:00
yiliang114
75303d905e chore: remove build output of compilation.js 2023-08-16 00:19:05 +08:00
易良
036e8d4008 Merge branch 'main' into honest-spider 2023-08-15 23:07:15 +08: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
Benjamin Pasero
bb61acf43c Merge branch 'main' into ben/voice 2023-08-10 08:53:24 +02:00
Matt Bierner
8f4385d10c Use unique ident pool per mangling (#189959)
Fixes #189124
2023-08-08 23:26:50 +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
Benjamin Pasero
707bffbdae voice - scaffold a basic voice recorder service 2023-08-08 17:08:44 +02:00
yiliang114
818ae5029a fix: Close #189556, gulp task do not display task name 2023-08-08 14:02:41 +08:00
易良
119e89af66 Merge branch 'main' into honest-spider 2023-08-08 13:52:54 +08: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
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
yiliang114
76e25bad23 fix: Close #189556, gulp task do not display task name 2023-08-03 22:58:20 +08:00
Benjamin Pasero
cbdfe4e0b4 Removal of feedback control (fix #188960) (#189027) 2023-07-28 10:12:52 +02: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
Johannes
eeae481e47 set emit-target and libs to ES2022, avoid static-blocks, fix Error#cause conflict
https://github.com/microsoft/vscode/issues/185991
2023-06-30 11:43:19 +02:00
isidor
d47a27cfe6 still register workbench.enableExperiments 2023-06-27 15:01:06 +02:00
Isidor Nikolic
4b5db322fd Merge branch 'main' into isidor/courageous-yak 2023-06-27 10:32:23 +02:00
Tyler James Leonhardt
8245737e93 Use setUsePlainTextEncryption properly and allow control of password-store via argv.json (#186207) 2023-06-26 14:23:30 -07: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
Isidor Nikolic
6c24374696 Merge branch 'main' into isidor/courageous-yak 2023-06-26 15:46:13 +02:00
Johannes
56c917debf update SWC config to disable useDefineForClassFields 2023-06-23 12:55:32 +02:00
Benjamin Pasero
7190530d35 readonly - adopt readOnlyMessage for readonly mode (#185756) 2023-06-21 14:40:17 +02:00
Connor Peet
2138622b04 build: add watch/compile tasks for CLI (#182344)
* build: add watch/compile tasks for CLI

I spent time this morning working on the 'developer experience' of the
CLI in vscode, mainly getting the CLI to cross-compile chasing our
initial idea of having it auto-build in a devcontainer.

After some effort and disabling tunnels connections (to avoid having to
pull in OpenSSL which is a huge pain to cross compile), I was able to
get it to cross-compile from Linux to Windows, using the mingw linker.
I could probably figure out how to get macOS working as well with more
effort. However, I'm not a big fan of this, effectively it's one more
'platform' of build we need to support and test.

I think a better approach is downloading the latest compiled CLI from
the update server instead, as needed. That's what this PR does. It just
places the CLI where it _would_ normally get compiled to by cargo; so
far we don't need to do anything special outside of that.
A notice is shown to users if this fallback happens.

* update from review
2023-06-20 14:34:11 -07:00