Commit Graph

1636 Commits

Author SHA1 Message Date
Benjamin Pasero
45dda0e1da debt - remove old style voice transcriber (#195883) 2023-10-18 14:42:02 +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
Benjamin Pasero
7a03774b96 speech - core service and extension API (#195365)
* speech - scaffold a basic core service for registration

* speech - scaffold a basic extension API for speech providers

* cleanup

* speech - improve API to work with events

* simplify

* better api

* cleanup
2023-10-12 14:53:01 +02:00
Rob Lourens
901ac65ea9 Implement chatAgent2 proposal (#194635)
* Add notes on chat agent API

* Add request ID to context

* variables

* Add partial implementation for another option for a chat agent API

* update

* Notes from api sync

* More notes

* Can invoke an agent and get the response

* Provide a real request

* Notes

* add `slashCommandProvider` - not yet hooked up

* add metadata properties inline, some comments

* some more notes

* Put the new API side-by-side with the old one

* Fix agent title in response

* Fix agent display

* Send slashCommand to request

* Hook up variables

* Get rid of package.json registration option

* Start to implement followups provider

* Add comment

* make it `slashCommandProvider` all the way, use updateAgent for updates icon, fullName, description

* update docs

* only ask for slash command completions when completing a slash-word

* use complex completion item label for command/agent completions

* add `promptText` to `IParsedChatRequestPart` so that some parts don't make it into the prompt (like agent and slash commands)

* only allow agent and slash command at the beginning of the prompt

* remove unused method

* some jsdoc, many renames so that stuff starts with `ChatAgent...`

* reduce `createChatAgent` to the minimum, let the rest be set via setters

* in the renderer know if an agent has slash command and follow ups, safes IPC calls

* use `iconPath` to align with other APIs

* more jsdoc and more obvious TODOs

* fix chat parser with "late" command

* handle error so that the request stops. where is the rendering tho?

* Show error message in response properly

* Don't blow up global / list

* Change proposal name

* Inline followup types

* fix type

* Remove brace in error msg

---------

Co-authored-by: Johannes <johannes.rieken@gmail.com>
2023-10-12 05:23:51 +02:00
João Moreno
a5d71aad39 Cleanup dependencies (#195026)
* move build dependencies to devDependencies

* build: bump tree-sitter

* dependencies cleanup

* remove leftover file
2023-10-09 09:34:15 +02:00
Tyler James Leonhardt
a27dc7725c Introduce localize2 function (#194750)
* Introduce `localize2` function

This is syntax sugar around:
```
{ value localize('id', "Hello"), original: 'Hello' }
```

That will now be returned when you do:
```
localize2('id', "Hello");
```

* fix merge conflic

* new source map due to updated deps
2023-10-04 12:57:38 -07: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
Matt Bierner
70139e827a Pick up latest TS nightly for building VS Code (#193534)
Required fixing a real typing error
2023-09-19 17:25:11 -07: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
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