Commit graph

119912 commits

Author SHA1 Message Date
Aiday Marlen Kyzy 20ef51faea
Merge branch 'main' into aiday/addingIndentationForIfForWhile 2024-03-21 17:07:51 +01:00
João Moreno e5515ac702
Adopt 1ES PT (#207844)
* extend 1es pipeline template

* oops

* fix template references

* argh

* hmm

* hm

* hm

* use outputs for compilation artifact

* this

* use 1ES.PublishPipelineArtifact@1 instead of publish

* more 1ES.PublishPipelineArtifact@1 adoption

* provide windows pool for sdl sources

* sdl

* fix pools

* fix macos

* disable sbom for intermediate artifacts

* use mariner linux

* try inline tsa options

* fix credscan

* hm

* sudo it

* more suppressions

* be explicit with SBOM build drop paths

* fix indentation

* fix file extensions

* fix cli sbom build drop paths

* fix more build

* fix unzip cli

* careful with _manifest in artifacts

* do not close file

* add logging

* debug

* use snapcraft container

* remove size check

* fix macos cli step

* fix snap permissions

* fix macos

* better logs

* fix snap

* more cred scan suppressions

* even more supressiong

* alpine-arm64: try using x64

* Revert "alpine-arm64: try using x64"

This reverts commit bf2003bf60.

* test docker

* I wonder

* logs

* hm

* fix indentation

* hm

* hm

* fix snap finds

* remove auth

* use hostArchitecture

* snap: limit find

* hm

* sudo

* Add validateToolOutput: None to the build pipeline

* bring back sdl-scan

* try all tools: true

* use release

* Update Azure Pipelines YAML file for Linux product build and test

* hm

* hm

* same for win32

* hm

* hm

* Revert "hm"

This reverts commit 1b9dcae85b.

* use branch

* fix template file

* fix template paths
2024-03-21 14:16:32 +01:00
Don Jayamanne e3cf2530e6
Include execution count in jupyter notebook diff (#208292)
* Include execution count in notebook diff

* Fix tests

* Misc changes

* Fix tests

* Fix more tests
2024-03-21 14:14:33 +01:00
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 62275bbca6
changing to round brackets inside of the regex pattern 2024-03-21 12:43:17 +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 5228f5a8b6
adding dollar sign at the end of the regex to match the full line 2024-03-21 12:13:20 +01:00
Aiday Marlen Kyzy 1fea7a23f0
increment the test suite 2024-03-21 12:04:48 +01:00
Aiday Marlen Kyzy bdf352fe4e
remove part of test 2024-03-21 11:28:47 +01:00
Aiday Marlen Kyzy d1e28c49f3
fixing the tests 2024-03-21 11:24:10 +01:00
Aiday Marlen Kyzy 32aaeac3d6
adding pattern for if for and while 2024-03-21 11:04:24 +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