Connor Peet
8a44dee108
editor: support line number decorations
...
Supports setting a class name and hover message for line numbers
2024-01-11 14:02:19 -08:00
Ladislau Szomoru and GitHub
273e4b0d7b
SCM - Add scm.showChangesSummary setting ( #202256 )
...
* SCM - make "All Changes" node part of the API and add setting
* Cleanup configuration change listeners
* More settings cleanup
2024-01-11 17:21:05 +01:00
Henning Dieterichs and Henning Dieterichs
e6e8f301ba
Allows navigation_{number} for the multi diff context menu
2024-01-11 17:01:23 +01:00
Benjamin Pasero and GitHub
24899b4de9
zoom - use codicon to convey zoom status ( #202239 )
2024-01-11 16:03:56 +01:00
Sandeep Somavarapu and GitHub
4c92920ffe
fix #116191 ( #202249 )
2024-01-11 15:40:10 +01:00
Alex Ross and GitHub
2c2cc18333
Plus button to add a comment doesn't disappear when leaving the editor area ( #202248 )
...
Fixes #199342
2024-01-11 15:30:18 +01:00
Alex Ross and GitHub
b94a564c8a
Allow FileSystemProviders to set the read-only file message ( #202244 )
...
Finalize read-only message file system provider API
Part of #166971
2024-01-11 15:29:52 +01:00
Logan Ramos and GitHub
753024143d
Adopt ensureNoDisposablesAreLeakedInTestSuite ( #202245 )
2024-01-11 15:14:42 +01:00
Rob Lourens and GitHub
b8baf8e153
Merge pull request #202193 from microsoft/roblou/brief-cephalopod
...
Merge chat variables proposal into chatAgents2 proposal
2024-01-11 10:27:16 -03:00
Sandeep Somavarapu and GitHub
573c43c196
#200091 adopt ensureNoDisposablesAreLeakedInTestSuite ( #202241 )
2024-01-11 14:13:57 +01:00
Ladislau Szomoru and GitHub
8720ead44d
Git - adopt _workbench.openMultiDiffEditor command ( #202236 )
2024-01-11 12:21:17 +01:00
Henning Dieterichs and Henning Dieterichs
effbda690c
Fixes #187844
2024-01-11 11:56:31 +01:00
Henning Dieterichs and Henning Dieterichs
ad245888be
Sets scmResourceGroup and scmProvider context keys on multi diff editor when opened from scm view
2024-01-11 11:16:55 +01:00
Martin Aeschlimann and GitHub
c30c5b3e55
Adopt ensureNoDisposablesAreLeakedInTestSuite round 2 ( #202230 )
2024-01-11 11:13:26 +01:00
Martin Aeschlimann and GitHub
74f8c5cd89
Make the watermark editor labels themable ( #202228 )
2024-01-11 10:16:00 +01:00
Benjamin Pasero and GitHub
e34dc5f8a4
Queue and ResourceQueue issues ( fix #202136 ) ( #202190 )
2024-01-11 09:37:19 +01:00
Connor Peet and GitHub
c6f71bab2c
testing: initial visible in-editor coverage decorations ( #202205 )
...
Still needs polishing, but works and is unobtrusive
2024-01-11 07:31:52 +01:00
Michael Lively and GitHub
a45edfc415
Change font family for nb sticky scroll ( #202200 )
...
change font family for nb sticky scroll
2024-01-11 01:28:08 +01:00
Connor Peet
709db7827f
editor: include lane in GUTTER_GLYPH_MARGIN hover events
...
Also fixes handling of testing clicks and margin hovers which were not
aware of multiple lanes. Hover messages are now shown correctly and
tests no longer run if e.g. a breakpoint decoration on the same line is
clicked.
Note sure if this was the best way to do this, let me know.
2024-01-10 15:39:38 -08:00
Connor Peet
24963b3812
editor: fix decoration lane assignment with word wrap
2024-01-10 15:39:38 -08:00
Peng Lyu and GitHub
ebd680e7e8
Merge pull request #202191 from microsoft/rebornix/proposed-hummingbird
...
Restore focus back to cell when chat widget is dismissed
2024-01-10 15:32:11 -08:00
Matt Bierner and GitHub
8f32885359
Use markdown engine to enable/disable smart paste ( #202192 )
...
Fixes #188863
Fixes #188958
Fixes #188868
This is more reliable than using the regular expressions. However the regular expressions are still needed for inline elements
2024-01-10 14:32:58 -08:00
Rob Lourens
05548e8124
More type fixes, remove unneeded 'kind'
2024-01-10 19:28:57 -03:00
rebornix
112ffbd4c9
Merge remote-tracking branch 'origin/main' into rebornix/proposed-hummingbird
2024-01-10 14:21:58 -08:00
Rob Lourens
4aca61d43b
Fix
2024-01-10 19:20:29 -03:00
rebornix
7ca79f837f
Restore focus back to cell when chat widget is dismissed
2024-01-10 11:50:24 -08:00
rebornix
c83486e790
Add generate button to notebook toolbar
2024-01-10 11:44:53 -08:00
rebornix
4bac474bf6
Update widget layout
2024-01-10 11:42:44 -08:00
Rob Lourens
518fd1e0de
Merge chat variables proposal into chatAgents2 proposal
2024-01-10 16:42:29 -03:00
rebornix
89ccca8cfc
Allow notebook customize widget toolbar
2024-01-10 11:41:22 -08:00
Matt Bierner and GitHub
0bb69da87c
Add new smartWithSelection option for markdown links ( #202183 )
...
This becomes the new default while `smart` always smartly pastes, even with no selection
2024-01-10 20:01:52 +01:00
Johannes Rieken and GitHub
115155df62
Add test that asserts stream is done when the request is done ( #202184 )
...
test that asserts stream is done when the request is done
manifests fixing https://github.com/microsoft/vscode-copilot/issues/3345
2024-01-10 10:48:10 -08:00
Benjamin Pasero and GitHub
53d7995f47
ENOSPC though no workspace ( fix #201923 ) ( #202180 )
2024-01-10 10:46:33 -08:00
Connor Peet and GitHub
7dab57d216
ensureNoDisposables leaked in base/common code ( #202175 )
...
* ensureNoDisposables leaked in base/common code
* more
2024-01-10 19:28:26 +01:00
Matt Bierner and GitHub
39e866b964
Pick up latest markdown-it-katex ( #202178 )
2024-01-10 19:04:33 +01:00
Connor Peet and GitHub
f5952f92c0
monaco: improve handling of glyph margins ( #202102 )
...
* monaco: improve handling of glyph margins
In my previous PR #202048 , I added another glyph margin lane. However
I didn't realize in some cases the support I added was incomplete since
the rendering code did not fully handle an unbounded number of lanes.
Also, I noticed in existing issues with hover and click handling because
some parts of VS Code still assume there's at most a single glyph widget
visible. It is hard to determine which glyph widget is interacted with
without checking what classes are applied to the glyph element, which
is what most existing code does. And we probably shouldn't do that in
e.g. the MouseHandler to determine what glyph is being clicked on.
So in this PR I added a `GlyphMarginLanesModel` that contains the
information necessary for rendering. I also want to expose it in a place
that the MouseHandler or MouseTarget can get at, but I wasn't sure the
best way to do that, any suggestions @alexdima?
Implementation-wise I opted for a flag Uint8Array. A 1024 line file with
decorations on the last line, it would take 384 bytes to hold decoration
positions. I also tried out a Range array based implementation, but I
think this is faster (for cases where there are lots of decorations)
and much simpler, in exchange for higher memory usage in edge cases
(very long files with decorations near the end.)
* allow lanes to be persisted to avoid jumping bp icons
2024-01-10 09:07:40 -08:00
Connor Peet and GitHub
6fced49205
testing: update testingActiveProfile proposal to final implementation ( #202116 )
...
* testing: update testingActiveProfile proposal to final implementation
* update tests
2024-01-10 18:07:15 +01:00
Benjamin Pasero and GitHub
1e9f0887fb
window - push down static method to base ( #202162 )
2024-01-10 16:03:25 +01:00
Benjamin Pasero and GitHub
74da22bb03
ENOSPC though no workspace ( fix #201923 ) ( #202161 )
2024-01-10 15:49:48 +01:00
Benjamin Pasero and GitHub
b6d977789e
Screen cheese when reloading with a notebook in a floating window ( fix #201832 ) ( #202159 )
2024-01-10 15:48:23 +01:00
Johannes Rieken and GitHub
8ffbf09e31
Clear edit queue when request errors, tweak Queue/Limiter, tests ( #202157 )
...
* don't drag targetWindow all the way across all the layers
* add `ILimiter#clear`, add tests and define onDrain and clear behaviour
* fix compilo
* Queue/Limit - clarify onDrain timing, make sure it fires only once, add whenIdle
* chat - clear edit queue on error, adopt whenIdle
* add test to ensure progress edit stream stop on being cancelled
2024-01-10 15:27:09 +01:00
Benjamin Pasero and GitHub
ff7dcf2974
zoom - fix some issues ( #202158 )
2024-01-10 15:25:42 +01:00
Benjamin Pasero and GitHub
fc3df618cb
workspace.fs.delete useTrash option is not respected ( fix #201742 ) ( #202156 )
2024-01-10 15:22:40 +01:00
Louis Lazaris and GitHub
89eb2de093
Corrected CSS Hover Documentation text ( #202142 )
2024-01-10 13:42:16 +00:00
Louis Lazaris and GitHub
314c9891c3
Fixed some CSS terminology ( #202125 )
2024-01-10 12:44:25 +00:00
Sandeep Somavarapu and GitHub
572198c07d
add more logging ( #202139 )
2024-01-10 10:33:49 +01:00
Sandeep Somavarapu and GitHub
ba2f50ca50
fix #71846 ( #202132 )
2024-01-10 09:27:19 +01:00
Johannes Rieken and GitHub
ad68ddc7aa
allow to set/configure ariaLabel for IButton ( #202127 )
...
fixes https://github.com/microsoft/vscode/issues/201527
2024-01-10 13:19:44 +05:30
Sandeep Somavarapu and GitHub
dd7a20db89
fix #142478 ( #202126 )
2024-01-10 08:39:00 +01:00
Sandeep Somavarapu and GitHub
6bf996da2b
adopt ensureNoDisposablesAreLeakedInTestSuite ( #202121 )
...
#200091 adopt ensureNoDisposablesAreLeakedInTestSuite
2024-01-10 07:32:20 +01:00