Commit graph

117640 commits

Author SHA1 Message Date
Sandeep Somavarapu 2d01e64a05
do not register command twice (#202088)
#199744 do not register command twice
2024-01-09 16:56:29 +01:00
Johannes Rieken 6bd246028a
some API notes (#202087) 2024-01-09 16:41:03 +01:00
Martin Aeschlimann 1e9f54e202
Linked editing causing uncaught exception (#202085) 2024-01-09 16:21:10 +01:00
Benjamin Simmonds 6d9bf2113d
Fix click focus glitch (#202084)
fix click focus glitch
2024-01-09 16:11:38 +01:00
Alex Ross bbec320f5d
Fix memory leak in tree (#202080)
Part of #200015
2024-01-09 15:48:10 +01:00
Johannes Rieken 77ca6ccd41
Joh/mysterious-octopus (#202079)
* debt - don't use extra buttons for accept/discard hunk

* - inline chat history shouldn't loop
- preserve the initial value and restore it

fixes https://github.com/microsoft/vscode-copilot-release/issues/671
2024-01-09 15:43:26 +01:00
Megan Rogge 66bf39bd4e
Merge pull request #202029 from microsoft/merogge/suggested
improve understanding of follow up question
2024-01-09 08:29:14 -06:00
Henning Dieterichs 70f5e0883a Implements #199291 - Multi Diff Editor: Identify Input With Source, Reload File List Dynamically 2024-01-09 15:06:29 +01:00
Alex Ross 6d9541fff6
Try out a new Go grammar (#202070) 2024-01-09 14:11:19 +01:00
Sandeep Somavarapu 26a486aee8
fix #195436 (#202069) 2024-01-09 12:48:55 +01:00
Ladislau Szomoru 9808d4e655
SCM - rename incoming/outgoing menu contribution (#202068) 2024-01-09 17:04:27 +05:30
Alex Ross 429c689545
Allow tunnel factory providers to opt out of protocol support (#202067)
Part of #201465
2024-01-09 12:28:19 +01:00
Ladislau Szomoru b87ba01926
Git - swap file sides when previewing a stash (#202063) 2024-01-09 11:55:16 +01:00
Johannes Rieken 4759837ec9
chore - rearrange bits (#202062) 2024-01-09 11:36:47 +01:00
Johannes Rieken 8adf59fc00
fix https://github.com/microsoft/vscode/issues/193124 (#202061) 2024-01-09 11:19:35 +01:00
Robo fb76955440
chore: update electron@27.2.1 (#202053)
* chore: bump electron@27.2.1

* chore: enable code cache support for custom standard schemes

Refs 267cbc841e

* chore: remove --ms-enable-electron-run-as-node

Removed in favor of f842ead6bc

* chore: update distro
2024-01-09 08:33:34 +01:00
Matt Bierner 06bad2c05f
Clear selection on paste edit apply (#202049)
Switches to use a snippet to ensure that existing editor selections are cleared when paste edits are applied
2024-01-09 07:51:28 +01:00
Matt Bierner 284e949dac
Pick up latest TS for building VS Code (#202047) 2024-01-09 07:48:18 +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
Matt Bierner 7452aaa51d
Don't enable notebook copy if active element is not in the notebook dom (#202035)
Fixes #201178

Fixes copying text from the chat window when a notebook editor is active
2024-01-08 14:31:37 -08:00
Andrea Mah d2a02721bd
Add icon support for quickpick custom button (#201913) 2024-01-08 23:25:55 +01:00
RedCMD 0a71ec927c
Change lowercase l to uppercase L. asp-vb-net.tmLanguage.json (#201981)
* Change lowercase `l` to uppercase `L`. `asp-vb-net.tmLanguage.json`

`.tmLanguage.json` is the common file extension for JSON TextMate
while `vb` is currently using `.tmlanguage.json`

* Rename file.

* Remove EOF newline >:(

---------

Co-authored-by: Martin Aeschlimann <martinae@microsoft.com>
2024-01-08 22:10:59 +00:00
Martin Aeschlimann 851b39876e
[json] don't use md5 (#201971) 2024-01-08 21:50:59 +01:00
Ladislau Szomoru 891a17ab57
Git - move "Open Commit" command from core to the git extension (#202042)
* Initial implementation

* Move the command to the git extension

* Add missing enablement property
2024-01-08 13:39:07 -07:00
Matt Bierner 88a6ed6d9b
Only show paste as html when it is explicitly requested (#202039)
Fixes #202013
2024-01-08 13:32:02 -07:00
Ladislau Szomoru 66023e11e6
Git - 💄 clean-up summary generation (#202036) 2024-01-08 11:50:42 -08:00
Logan Ramos e1f8dddce9
Handle empty paste array (#202038) 2024-01-08 11:48:16 -08:00
meganrogge 06f465d7ae
localize 2024-01-08 13:18:14 -06:00
Matt Bierner fbb656b4d2
Add new pasteAsText command (#202033)
Fixes #187507
2024-01-08 11:14:50 -08:00
Gayan Perera 217d2acf63 Make sure dependent breakpoints updates are sent to DA before continue 2024-01-08 20:12:56 +01:00
Megan Rogge 4ceb4ff491
Update src/vs/workbench/contrib/chat/browser/actions/chatAccessibilityHelp.ts 2024-01-08 13:12:28 -06:00
Gayan Perera 7eea54545e Only update breakpoint when OK is clicked. 2024-01-08 19:44:37 +01:00
Ladislau Szomoru 83f9d6b3a2
SCM - 💄 make sure scm action ids are unique (#202030) 2024-01-08 11:30:05 -07:00
Rob Lourens 0d856184a3 Capitalize labels 2024-01-08 15:16:45 -03:00
Connor Peet 53c8f84911
debug: fixup debug aux window position properly (#202027)
fixup debug toolbar properly
2024-01-08 10:16:27 -08:00
meganrogge 1fb00310ef
tweak 2024-01-08 12:05:08 -06:00
meganrogge ceec92c7fa
fix #200083 2024-01-08 12:03:11 -06:00
Logan Ramos b5d2084dfb
Fix reveal in explorer (#202026)
Fix reveal in exporer
2024-01-08 18:54:25 +01:00
Benjamin Simmonds ed046a7e9d
Merge pull request #201225 from microsoft/benibenj/stickyScrollFocus
Added sticky scroll focus functionality to tree
2024-01-08 18:26:01 +01:00
Sandeep Somavarapu affed727e3
fix #176433 (#202022) 2024-01-08 18:22:14 +01:00
Ladislau Szomoru 322931b0fc
Git - Only show "All Changes" node if there is more than one incoming/outgoing commit (#202021) 2024-01-08 17:45:44 +01:00
BeniBenj dc029abccd
focus navigation fix 2024-01-08 17:40:19 +01:00
Matt Bierner 1a7ec6aea2
Fix code block in notebook markdown rendering (#201748)
Fixes #201731
2024-01-08 08:33:55 -08:00
Alexandru Dima cea4eee18a
Use sha256 (resolves CodeQL warning) (#201978)
* Use sha256 (resolves CodeQL warning)

* check in JS file too
2024-01-08 17:03:22 +01:00
Benjamin Simmonds 545eb1dabe
Fix for displaying icons when icon theme is disabled (#201709)
* fix #201700

* predefined-file-icon
2024-01-08 16:29:36 +01:00
Johannes Rieken 880eee6a96
print warning about reused action ids, fix view action duplication (#202000)
* print warning about reused action ids, fix view action duplication

* remove debug code

* make tests happy-ish
2024-01-08 16:27:32 +01:00
Aiday Marlen Kyzy 6eed4af2d4
Add colors to the output editor in the sidebar with CSS (#201292)
* removing the registration of theming participant and instead adding the css rules into output.css

* removing the imports which we no longer need
2024-01-08 16:11:02 +01:00
Johannes Rieken 683c7f5172
fix https://github.com/microsoft/vscode/issues/201825 (#202012) 2024-01-08 16:04:57 +01:00
BeniBenj 9d161efa98
tabindex calls blur() to early 2024-01-08 15:37:51 +01:00
Johannes Rieken cc7a0865e4
update notebook (#201998) 2024-01-08 14:57:05 +01:00