Commit Graph

135264 Commits

Author SHA1 Message Date
Aaron Munger dd0856ddda only add listeners when enabled (#255914) 2025-07-14 20:36:35 -07:00
Justin Chen 437775d103 first pass checkpoints inline in chat (#254564)
* first pass checkpoints inline in chat:

* add undo redo buttons back

* quieter version

* functionally, we are good here. lots to clean up asdfasdfasdfasdfafdasf

* nice, some cleanup poggersgit add .git add .

* better css

* cleanup

* remove extra instance service
2025-07-14 18:13:16 -07:00
Kevin Cui 48459215fd fix: cannot display MARK Underlined in minimap (#226116)
Fixed: #226114

After testing, there are no issues in Firefox, but in Chrome, lines with a lineWidth less than 0.3 will not be displayed. Some lines won't show if it is less than 0.4. It will only display normally if it is greater than or equal to 0.4.

Codepen Test: https://codepen.io/blackhole1/pen/QWXmGYB

Signed-off-by: Kevin Cui <bh@bugs.cc>
2025-07-14 23:23:29 +00:00
Alexandru Dima 5830db645d Fix that pasting no longer goes through the type command on Firefox (#255912)
Fix that pasting goes through the `type` command on Firefox

When pasting on Firefox, I have observed that there is no `paste` event, but only an `input` event. I don't know why this would happen, but I found that the `inputType` property on `input` events can be used to determine insertions caused by pasting.
2025-07-14 23:12:52 +00:00
Jose-AE e9df78f747 Fix Jittery editor mouse wheel zoom when setting window.zoomLevel = 1 (#227916) 2025-07-14 21:38:37 +00:00
Wes Higbee 034724ad11 Allow highlighting multiline selections and allow to control max length (#228982)
* add editor option for multiline selection highlights
* make max length configurable for selection highlighting
* 💄
2025-07-14 21:38:26 +00:00
Duncan 902041a0aa Vertical pipe characters should terminate URLs (#232460) 2025-07-14 23:32:13 +02:00
Joakim Berglund 43f3e3ad45 CamelCase first word if not acronym (#229797) 2025-07-14 21:21:47 +00:00
Kaidesuyo 81e10ad4f2 fix: Incorrect webWorkerExtensionHost startup process on vscode desktop (#234505) 2025-07-14 21:21:29 +00:00
Remco Haszing 4846a42822 Add RTL support based on decorations (#255455)
* Add RTL support based on decorations

This adds RTL support to Monaco editor. A line can be marked as RTL
using decorations. Decorations can now specify a text direction. For
every line, the decorations on that line are counted which specify the
text direction. If there are more RTL decorations than there are RTL
decorations, the line is considered RTL.

If a line is RTL, the content is aligned to the right side of the
screen, taking the scrollbar into account.

If text content matches the text direction, pressing a left or right
arrow key, moves the cursor into the same direction. If the content is
of the inverse direction, the cursor is moved into the opposite
direction.

The `Home` key moves the cursor to the start of the line. In case of
RTL, this is the right.

The `End` key moves the cursor to the end of the line. In case of RTL,
this is the left.

These cursor movements also work for multi selections.

Both RTL and LTR work with or without text wrapping, even with the
advanced text wrapping strategy.

* Move `TextDirection` to `model.ts`

* Avoid busting the viewport decoration cache

* Remove `RenderLineOutput.containsRTL`

* Fix RenderLineInput.equals

* 💄

* Keep optimized code paths in case of LTR

* Do not increase the scroll width when revealing boxes on RTL lines

* Adjust unit tests

* More unit test fixing

---------

Co-authored-by: Alexandru Dima <alexdima@microsoft.com>
Co-authored-by: Ladislau Szomoru <3372902+lszomoru@users.noreply.github.com>
2025-07-14 21:21:02 +00:00
Bhavya U 83e0858c7b Find the correct chat widget before setting input on click (#255877)
* Find the correct chat widget before setting input on click

* fix: update chat widget input handling to focus on the correct widget
2025-07-14 21:20:38 +00:00
Benjamin Christopher Simmonds 92d3278fb7 add preceeded flag (#255891) 2025-07-14 20:27:07 +00:00
dylanchu c758ad40aa TerminalTaskSystem: Fix addtion arguments for string command (#251201)
Co-authored-by: Anthony Kim <62267334+anthonykim1@users.noreply.github.com>
Co-authored-by: Megan Rogge <merogge@microsoft.com>
2025-07-14 12:58:37 -07:00
Benjamin Pasero 48c6ecdf71 Terminal size cannot keep maxmium after switching to editor and switching back (#255276) (#255880) 2025-07-14 19:31:36 +00:00
ttttotem 7629bf7079 Horizontal dragging auto-scroll (#235174)
* move right working

* move right working

* stop working

* start and stop working

* smoothen highlighting

* scale by horizontal scroll speed by char width

* linting

* Reduce code duplication

* 💄

---------

Co-authored-by: Rhodri Rees <rhodri.rees@gigaclear.com>
Co-authored-by: 2373655r <56081534+2373655r@users.noreply.github.com>
Co-authored-by: Alexandru Dima <alexdima@microsoft.com>
2025-07-14 19:30:07 +00:00
Aaron Munger f5f8c4e447 fail early when too deep in recursion (#255840)
* fail early when too deep in recursion

* put info in the error stack
2025-07-14 12:05:58 -07:00
Martin Aeschlimann 5df9f833e9 Revert "debt - make vscode.executeDocumentSymbolProvider very correct wrt what it returns (#251190)" (#255856)
This reverts commit f91d77fc7c.
2025-07-14 20:58:20 +02:00
Anthony Kim d91ebb6008 Add documentation to lsp provider completion items (#255867) 2025-07-14 11:37:12 -07:00
Christy 😺 4576aa4385 Enable viewing of worktrees under Repositories (#254992)
* init

* fix: correct configuration key for detecting Git worktrees

* Fixed misspelling of worktrees and populated worktree list

* exported parseGitWorktrees

* Replaced git commands with file system reader

* Removed trailing './git' from path

* Prevent errors when accessing empty worktree directory

* Enable worktree deletion

* code clean up

* Remove exposure to git extension

* labeling and minor fixes

* throw error when no worktrees created

* Error handling when getting worktrees

---------

Co-authored-by: bhavyaus <bhavyau@microsoft.com>
2025-07-14 11:27:00 -07:00
Alexandru Dima c068082c35 Build tweaks (#255857)
* Revert "remove unnecessary build step (#255764)"

This reverts commit 50bf321791.

* Add `enableCrossOsArchive: true`
2025-07-14 20:08:36 +02:00
dependabot[bot] 22d3ddecaf Bump brace-expansion from 2.0.1 to 2.0.2 in /extensions/json-language-features (#255769)
Bump brace-expansion in /extensions/json-language-features

Bumps [brace-expansion](https://github.com/juliangruber/brace-expansion) from 2.0.1 to 2.0.2.
- [Release notes](https://github.com/juliangruber/brace-expansion/releases)
- [Commits](https://github.com/juliangruber/brace-expansion/compare/v2.0.1...v2.0.2)

---
updated-dependencies:
- dependency-name: brace-expansion
  dependency-version: 2.0.2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-14 17:40:36 +00:00
Raymond Zhao f497e76c8e fix: AI search runs even when toggle is hidden (#255496) 2025-07-14 17:25:32 +00:00
dependabot[bot] 190ec3670c Bump brace-expansion from 2.0.1 to 2.0.2 in /extensions/npm (#255766)
Bumps [brace-expansion](https://github.com/juliangruber/brace-expansion) from 2.0.1 to 2.0.2.
- [Release notes](https://github.com/juliangruber/brace-expansion/releases)
- [Commits](https://github.com/juliangruber/brace-expansion/compare/v2.0.1...v2.0.2)

---
updated-dependencies:
- dependency-name: brace-expansion
  dependency-version: 2.0.2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-14 10:20:10 -07:00
Aaron Munger ce37a385e4 add layover to new cells correctly and dispose of listeners as cells are removed (#255490)
* add layover to new cells correctly and dispose of listeners as cells are removed

* cleanup
2025-07-14 08:43:11 -07:00
Benjamin Pasero d9d3f3c6ec fs - workaround failure to read a folder that is a subst drive (#252361) (#255821) 2025-07-14 08:26:32 -07:00
Benjamin Pasero 1d7939acd6 Revert "fix - update constraint for command options validation" (#255773)
Revert "fix - update constraint for command options validation (#255339)"

This reverts commit 97dbf96bff.
2025-07-14 16:45:19 +02:00
Ladislau Szomoru 10abf5a6f6 SCM - Add contextValue proposed API for SourceControl object (#255338)
* Add contextValue proposed API

* Update names

* Fix documentation
2025-07-14 16:43:24 +02:00
Robo 421f2dcd32 chore: log keychain details when signing fails (#255799)
* chore: log available identities when signing fails

* chore: dump keychain used for signing
2025-07-14 16:42:15 +02:00
Benjamin Pasero cc41f037dc chat - show confirmation title in notification (#255813) 2025-07-14 14:42:10 +00:00
Benjamin Pasero 1af7f2d27a chat - improve notifications focus handling (#255811) 2025-07-14 16:34:44 +02:00
João Moreno 50bf321791 remove unnecessary build step (#255764) 2025-07-14 16:24:59 +02:00
Martin Aeschlimann 0c952e349a Tools in the mode file are not correctly applied after window reload (#255755)
Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>
2025-07-14 13:59:08 +00:00
Ofek 0d5814b319 Merge pull request #236809 from OfekShilon/sanitize_regex
Fix #4775: Escape user code before incorporating in a regex
2025-07-14 13:41:03 +00:00
Robo 0072e9c876 chore: enable verbose logs for windows electron smoketests (#255794) 2025-07-14 15:39:09 +02:00
João Moreno 1e2a31010d bump deemon (#255790) 2025-07-14 13:32:14 +00:00
João Moreno 398b4a9be6 build: restoring built-in extensions on windows should reuse other OSs caches (#255761) 2025-07-14 15:05:12 +02:00
Griffon Langyer 8de25f94a5 Merge pull request #231120 from rfon6ngy/patch-1
Allow \n to trigger a softwrap
2025-07-14 12:41:26 +00:00
Daniel Imms 46dba7218c Merge pull request #255147 from microsoft/tyriar/246731
Force accept function in dispatchKeybinding
2025-07-14 05:29:35 -07:00
RedCMD 552467841e Merge pull request #240609 from RedCMD/allowEmptyEndBracket
Fix empty end bracket error
2025-07-14 12:27:19 +00:00
Daniel Imms e979afe960 Merge branch 'main' into tyriar/246731 2025-07-14 05:18:02 -07:00
M Hickford 421fdcb353 Add editor action 'reverse lines' (#242926)
* Add editor action 'reverse lines'

* Respect the editor's selection

* Fix unit tests

---------

Co-authored-by: Alex Dima <alexdima@microsoft.com>
2025-07-14 12:03:11 +00:00
野迂迂 94ff97a142 Merge pull request #253868 from mortalYoung/feat/minimap
feat: editor.minimap.autohide support scroll
2025-07-14 11:51:19 +00:00
Benjamin Pasero b50ac5ac92 Explore to support desktop notifications when in agent mode (#251621) (#255643) 2025-07-14 11:45:53 +00:00
Sandeep Somavarapu 6a2aa04439 Implement #255368 (#255369)
* Implement #255368

* clean up

* fix the server call

* do not request latest version if resource does not exist

* fix tests
2025-07-14 21:29:55 +10:00
Benjamin Christopher Simmonds 673eadbf87 fixes https://github.com/microsoft/vscode/issues/255105 (#255760) 2025-07-14 10:59:35 +00:00
Benimautner 2b66877e0e Add inertial scrolling to scrollable elements (#244034)
* added inertial scrolling to scrollableElement

* fixed weird speed bug

* added _ as variable prefix

* added inertial scroll setting

* Make sure the timeout is disposed correctly and default to inertial scroll false

---------

Co-authored-by: Alex Dima <alexdima@microsoft.com>
2025-07-14 09:21:10 +00:00
João Moreno ff529acdac fixes #255743 (#255746) 2025-07-14 09:14:16 +00:00
Martin Aeschlimann 6bffcf080e fix enablement of mcp tool sets and tools (#255739) 2025-07-14 08:38:53 +00:00
Justin Wang b4d1fec915 Add commit_id option to ServeWebArgs for specific client version (#255494)
* Add commit_id option to ServeWebArgs for specific client version

* Don't start serve-web update checker if given commit-id
2025-07-14 06:12:36 +00:00
Joyce Er cd20192782 fix: make chat input placeholder less cryptic (#255601) 2025-07-13 09:24:25 -07:00