Commit graph

119904 commits

Author SHA1 Message Date
Robo 5e0394c8d1
fix: don't package detection script in legacy server (#208274)
* fix: don't package detection script in legacy server

* chore: address review feedback

* chore: rename download asset name
2024-03-21 14:11:57 +01:00
Aiday Marlen Kyzy d187a75687
Merge pull request #208299 from microsoft/plastic-swift
Add tests for auto-indentation feature area
2024-03-21 13:24:50 +01:00
Aiday Marlen Kyzy 055bf7b221
adding more tests 2024-03-21 13:06:55 +01:00
Benjamin Pasero 8a19756adf
[Bug] /var/folders/** files can't be excluded from search (fix #203872) (#208296) 2024-03-21 13:01:42 +01:00
Aiday Marlen Kyzy b1229cc440
Merge pull request #208294 from microsoft/aiday/incrementTestSuite
Add more tests to the auto indentation test suite
2024-03-21 12:37:02 +01:00
Aiday Marlen Kyzy 1fea7a23f0
increment the test suite 2024-03-21 12:04:48 +01:00
Aiday Marlen Kyzy 8fe4497ec3
Merge pull request #208234 from microsoft/aiday/indentationWithinCommentsTest
Test for incorrect indentation within comment
2024-03-21 09:53:46 +01:00
Aiday Marlen Kyzy 1403f05edd
Merge branch 'main' into aiday/indentationWithinCommentsTest 2024-03-21 09:39:04 +01:00
Justin Chen cefbd4fbe7
show preview label on code actions (#208252)
* show proper label on hovers

* absolute imports
2024-03-20 23:07:42 -07:00
Anthony Stewart 09d5f4efc5
Stop the cursor from jumping when changing prefix in QuickAccess - v2 (#204702)
* Revert "Revert "Stop the cursor from jumping when changing prefix in QuickAcc…"

This reverts commit 348e88dc00.

* Only keep the selection if the value is unchanged

---------

Co-authored-by: Tyler James Leonhardt <me@tylerleonhardt.com>
2024-03-21 00:17:17 +00:00
Rob Lourens 042c0893d9
Handle duplicate chat participant names (#208142)
* Enable duplicate chat participant names
#208103

* Register participants with an ID

* Update participant history in API

* Changes to dupe chat suggest widget, and fix serialize/deserialize

* Tweaks

* Test fixes

* Fix tests

* Test fixes

* Fix integration test
2024-03-20 16:44:03 -07:00
Tyler James Leonhardt a49fc50d7d
Bump distro (#208264) 2024-03-21 00:16:44 +01:00
Aaron Munger 7eb5c6cff3
cell diagnostic actions (#208261)
* add command to open cell error diagnostic quickfix menu

* add keybinding, filter actions

* context key for has cell diagnostics

* clear diagnostics on content change
2024-03-20 15:45:50 -07:00
Tyler James Leonhardt 78d4f34a94
Register toggle since it's a disposable (#208249)
Saw this in our unit tests when I was playing with depending on Checkbox.
2024-03-20 23:15:03 +01:00
Matt Bierner 288be7d337
Fix settings keys (#208253)
Fixes #207804
2024-03-20 22:21:55 +01:00
Fizz 06f1c12edb
Update IActionDescriptor.precondition desc (#176124)
* Update standaloneCodeEditor.ts

* Update comment and monaco.d.ts

---------

Co-authored-by: Alexandru Dima <alexdima@microsoft.com>
2024-03-20 21:09:24 +00:00
VLADIMIR VATSURIN 5af7860ca2
Fix file relative path link (#181475)
* Fix for file link with relative path

* Removed redundant comments

* Simplify fix to accomodate Windows paths

---------

Co-authored-by: Sidebail <vova.vatsurin@gmail.com>
Co-authored-by: Alexandru Dima <alexdima@microsoft.com>
2024-03-20 21:19:26 +01:00
Rob Lourens abd11f059e
Fix command buttons in 'push' (#208248)
Fix #207885
2024-03-20 21:16:30 +01:00
Ulugbek Abdullaev 92592894f7 rename suggestions: refactor: don't use any & change trace prefix 2024-03-20 20:26:37 +01:00
Ulugbek Abdullaev 52f8862304 rename suggestions: cancel rename suggestion providers if user started typing 2024-03-20 20:26:37 +01:00
Ulugbek Abdullaev fab256d903 rename suggestions: refactor: rename 'rename widget' accordingly 2024-03-20 20:26:37 +01:00
Ulugbek Abdullaev 67a3dd0cc2 rename suggestions: refactor: move selection computation where it belongs 2024-03-20 20:26:37 +01:00
Ulugbek Abdullaev 6efb7ca55b rename suggestions: refactor: formatting 2024-03-20 20:26:37 +01:00
Tyler James Leonhardt d6474a0560
Couple of styling updates to quick pick (#208242)
1. Separator descriptions no longer include opacity so that contrast ratio is satisfied
2. The separators are now a little taller so that they stand out compared to regular items
2024-03-20 20:23:04 +01:00
Bhavya U fb14b695a7
Fix accidently showing chat panel welcome (#208237)
* Fix accidently showing chat panel welcome

* Update distro commit ID
2024-03-20 19:52:20 +01:00
Adam Byrd c37edea794
Implement separate colors for primary and secondary cursors when multiple cursors are present (#181991)
* Add support for separate primary cursor color when multiple cursors are present
- Does not change the existing behavior when there's a single cursor. editorCursor.foreground and background are still used.
- Add editorCursor.multiple.primary.foreground and background theme colors for the primary cursor. Only used when multiple cursors exist. Fallback to editorCursor.foreground/background when theme colors aren't set.
- Add editorCursor.multiple.secondary.foreground and `background theme colors for non-primary cursors. Only used when multiple cursors exist. Fallback to editorCursor.foreground/background when theme colors aren't set.
Add cursor-primary and cursor-secondary html classes to target with cursor color styles. No new class is introduced in the single-cursor case.
- Currently does not affect overview ruler colors. editorCursor.foreground is still used, even when multiple cursors are present.

* Update overview ruler to use primary and secondary cursor colors
- This maintains the existing handling for colors being undefined. However, each of these colors have defaults do I'm not sure if it's actually possible for them to be undefined

* Fix formatting

* Fix compilation errors

* Fall back to the existing cursor colors (to avoid breaking existing themes)

---------

Co-authored-by: Alex Dima <alexdima@microsoft.com>
2024-03-20 19:24:59 +01:00
Aiday Marlen Kyzy 763ad71a17
Merge pull request #208228 from microsoft/aiday/addMoreTests
Create more auto-indentation tests
2024-03-20 19:02:52 +01:00
Aiday Marlen Kyzy 5e14e2e569
adding one more test for the incorrect indentation within comments 2024-03-20 18:57:31 +01:00
Aiday Marlen Kyzy 4b4af504a9
adding this potential regex pattern 2024-03-20 18:38:42 +01:00
Aiday Marlen Kyzy fe900ca88f
skipping additional test 2024-03-20 18:32:06 +01:00
Aiday Marlen Kyzy 3d71904882
adding only tests 2024-03-20 18:31:26 +01:00
Aiday Marlen Kyzy 0b391fa2d1
adding todo 2024-03-20 18:27:07 +01:00
Connor Peet 2ffe804c46
cli: allow specifying a server-data-dir and extensions-dir (#208225) 2024-03-20 18:09:51 +01:00
Tyler James Leonhardt cb9524cf4b
Allow separators to have tooltips & descriptions (#208224)
This allows the full-length separators to have tooltips and descriptions.

(They had support for tooltips already, but my refactoring to a tree broke that)

so really this just adds descriptions and fixes tooltips. Because of this, we now adopt the description in favor of the tooltip for QuickSearch
2024-03-20 10:09:14 -07:00
Hylke Bons abb6332a8c chore: Update codicons 2024-03-20 18:08:50 +01:00
Aiday Marlen Kyzy 997fa7f0d3
adding one more test 2024-03-20 17:57:12 +01:00
Aiday Marlen Kyzy 5cc65d29ab
arrow function 2024-03-20 17:41:07 +01:00
Tyler James Leonhardt 342d7a0c0c
Fixes #208207 (#208216)
Fixes https://github.com/microsoft/vscode/issues/208207
2024-03-20 17:25:02 +01:00
Tyler James Leonhardt 4f1d15d9da
Use correct colors for highlights (#208214)
I didn't realize there were 2 colors. This makes sure they're set correctly.

Fixes https://github.com/microsoft/vscode/issues/208213
2024-03-20 17:12:35 +01:00
Aiday Marlen Kyzy b329f9c2a5
Merge pull request #207587 from microsoft/aiday/autoIndentTestSuite
Auto-indent test suite
2024-03-20 17:00:33 +01:00
Benjamin Christopher Simmonds ab78ff55f4
Implement Display Protocol Detection (#208212)
display protocol
2024-03-20 17:00:23 +01:00
Aiday Marlen Kyzy 72d785f196
skipping the test 2024-03-20 16:29:35 +01:00
Aiday Marlen Kyzy 30227752a7
adding changes to tests 2024-03-20 16:20:26 +01:00
Sandeep Somavarapu ccdffd394b
do not allow installing workspace extension in untrusted workspace (#208206) 2024-03-20 15:46:28 +01:00
Aiday Marlen Kyzy 8a22be5ddc
skiping the manual test 2024-03-20 15:38:50 +01:00
Alex Ross efb0960009
Fully reveal conversation when opening it (#208203)
Fixes #208202
2024-03-20 15:32:32 +01:00
Sandeep Somavarapu 1a97733c65
check if action exists (#208200) 2024-03-20 15:29:37 +01:00
Aiday Marlen Kyzy ab8fe9d628
Merge branch 'main' into aiday/autoIndentTestSuite 2024-03-20 15:00:19 +01:00
Marshall Roch 0142dbc319
fix "Extension [object Object] is not known" (#207764) 2024-03-20 13:51:18 +00:00
Adam Byrd 7f638be139
Change editor.action.focusNextCursor to reveal the primary cursor instead of all cursors (#182148)
* Split CursorControl.revealPrimary and IViewModel.revealPrimaryCursor into "reveal all" and "reveal primary" variants
- The original name was a lie. It wasn't revealing the primary cursor, it was revealing all cursors.
- Some things actually want to reveal the primary cursor specifically, such as editor.action.focusNextCursor. If the set of cursors do not all fit in the view and the primary cursor is not currently visible the primary cursor should be revealed.
- Other things want to reveal all cursors, such as cursorMove. However, there's likely room for improvement here as well: if the set of cursors do not all fit in the view and none of them are visible the closest cursor should probably be revealed.
- All existing locations have been updated to use "reveal all" which maintains the exact same behavior as before. Locations that want to use the primary variant will be updated in a separate commit.

* Update editor.action.focusPreviousCursor and focusNextCursor to reveal the primary cursor

---------

Co-authored-by: Alexandru Dima <alexdima@microsoft.com>
2024-03-20 13:50:22 +00:00