Commit graph

102017 commits

Author SHA1 Message Date
Matt Bierner
6c3f161641
Remove liveshare specific registerContentProvider api (#164497)
Liveshare has migrated off of the content provider api
2022-10-24 22:39:28 +02:00
Andrea Mah
ed31e676b6
FolderMatch.hasFileUriDownstream() and RenderableMatch.name() have performance overhead (#164077)
* `FolderMatch.hasFileUriDownstream()` and `RenderableMatch.name()` have performance overhead
Fixes #164072
2022-10-24 13:11:29 -07:00
Matt Bierner
5b4f6744ab
Print warning when trying to use _allOutputItems proposed renderer property (#164496)
Add warning when trying to use _allOutputItems proposed property
2022-10-24 13:09:59 -07:00
Alexandru Dima
731f476b60
Allow passing in a mime-type to setModelLanguage (#164495)
Fixes microsoft/monaco-editor#3170: Allow passing in a mime-type to `setModelLanguage`
2022-10-24 13:03:09 -07:00
Daniel Imms
590729f278
Merge pull request #163958 from microsoft/tyriar/161622_bracket_queue
Defer bracket pair document parsing until it's actually used
2022-10-24 13:01:55 -07:00
SteVen Batten
867f45630f
try hybrid model for editor features menu (#164493)
fixes #158458
2022-10-24 12:56:55 -07:00
Connor Peet
93dec4a191
Merge pull request #164488 from microsoft/connor4312/parallelize-cli-build
build: parallelize cli build
2022-10-24 12:53:29 -07:00
Martin Aeschlimann
ce340cb52d
polish (#164487) 2022-10-24 12:30:16 -07:00
Logan Ramos
99ded44080
Cleanup tests (#164489) 2022-10-24 12:24:44 -07:00
Connor Peet
58f9a22ffb
Merge pull request #164480 from microsoft/connor4312/cli-macos-path
cli: fix code tunnel on macos
2022-10-24 12:14:56 -07:00
Leonardo Montini
526ea7d154
Auto detect indentation when pasting on an empty file (#156282)
Detect indentation

Co-authored-by: Alexandru Dima <alexdima@microsoft.com>
2022-10-24 21:06:57 +02:00
Matt Bierner
3bdea98630
Add api to get all mime typed data for an output item (#163974)
* Add api to get all mime typed data for an output item

For #163973

This adds an `allOutputItems` to the output item type. This is a list objects with a `mime` property and a `getItem` function. `getItem` returns a `Promise` that resolves to the item or to`undefined` if the item can not be resolved

* Delete _requests on resolve

* Prefix property with _ to mark as experimental
2022-10-24 12:04:10 -07:00
Jacek Kopecký
23a3c6ec3e
Address misplaced cursor (#159325)
* Remove ill-advised tweak

* Shift cursor back by 1px but leave text in place

* Always use `box-sizing: border-box`

Co-authored-by: Alexandru Dima <alexdima@microsoft.com>
2022-10-24 12:03:00 -07:00
Connor Peet
ed54a91fd0
build: parallelize cli build
Put all win and macOS builds on their own machine, since they take a minute.
Build the two GNU ARM builds together on an x64 machine, since they're
faster and can cross-compile in ~5 minutes.

This makes the CompileCLI step take a little less time than the VS Code
"Compile" step.
2022-10-24 12:01:03 -07:00
Don Jayamanne
ba822f2afa
Wait for preload scripts before loading renderers (#164406) 2022-10-24 11:33:00 -07:00
Connor Peet
beed9ac381
debug: activate auto launch onStartupFinished (#164481)
For https://github.com/microsoft/vscode-internalbacklog/issues/3209

We still need to activate it for every workspace, but since Daniel's
improvements to environment variable application a few months ago, using
onStartupFinished should be pretty safe and seamless.
2022-10-24 11:25:22 -07:00
yamachi
ce6aa98b4a
Fix auto-surround closes with an open character (#147187)
Co-authored-by: Alexandru Dima <alexdima@microsoft.com>
2022-10-24 11:24:16 -07:00
Connor Peet
578d59eb72
cli: fix code tunnel on macos 2022-10-24 10:55:22 -07:00
Raymond Zhao
1cae2c0b40
Use the word "applied" instead of "effective" (#164478)
This wording change brings the indicator text
in line with the Manage workspace trust view.
2022-10-24 10:50:15 -07:00
Daniel Imms
320d6012c3
Merge pull request #163947 from microsoft/tyriar/161622_suggest_layout
Run suggestWidget.showSuggestions and showDetails in an animation frame
2022-10-24 09:48:37 -07:00
Johannes
9ed5a10501
💄 2022-10-24 18:33:45 +02:00
Johannes
e127b4f0cd
also cancel RAF on dispose 2022-10-24 18:32:10 +02:00
Johannes Rieken
fec87f38cb
Analyse profiles in worker thread (#164468)
- profile renderer returns profile data
- analyse profiles in separate worker thread
- adjust renderer and extension host profiling
- adjust build scripts to build worker file
2022-10-24 17:42:54 +02:00
Matt Bierner
a033a32f09
Add placeholder types for fixing issues with TestInstantiationService (#164295) 2022-10-24 08:18:43 -07:00
Raymond Zhao
e63406a507
Add max height to hover (#164093)
Co-authored-by: Daniel Imms <2193314+Tyriar@users.noreply.github.com>
2022-10-24 08:16:41 -07:00
Matt Bierner
2ebd33426a
Clear characterSet instead of recreating it on every parameter hints update (#164195) 2022-10-24 08:04:36 -07:00
Joe Previte
30c0860d6e
fix: preserve process.execArgv (#161853)
This ensures flags like `--prof` are passed down to the vs code process so
we can profile everything.

To test this:
1. run `./lib/node --prof .`
2. in another terminal, run `ps -ejww`

You should see `--prof` next to every vs code process.
2022-10-24 16:51:22 +02:00
Henning Dieterichs
6e9e82b907
Merge pull request #164461 from microsoft/hediet/unwilling-cuckoo
Fixes telemetry bug by avoiding number in event name
2022-10-24 16:49:12 +02:00
Sandeep Somavarapu
9edbe61ff8
update distro (#164462) 2022-10-24 07:11:42 -07:00
Sandeep Somavarapu
8738045509
ability to configure PPE Url (#164460) 2022-10-24 07:07:59 -07:00
Omar Brikaa
feab94afad
Add keyboard shortcuts for scrolling horizontally (#162992)
* Initial horizontal scroll

* Use columns as unit in horizontal scrolling shortcuts

* Horizontal scroll value 2, remove shortcuts

* Unify Horizontal, Vertical scroll Directions and Units, determine the method

Co-authored-by: Alexandru Dima <alexdima@microsoft.com>
2022-10-24 16:05:54 +02:00
Alexandru Dima
28db47f5a7
Try to maintain the viewport start position stable when hidden areas change (#164456)
Fixes #161396: Try to maintain the viewport start position stable when hidden areas change
2022-10-24 16:02:19 +02:00
Henning Dieterichs
9e5ffe9602
Fixes telemetry bug by avoiding number in event name 2022-10-24 15:54:25 +02:00
Logan Ramos
62190e7501
Run extractor on PR (#164457) 2022-10-24 06:54:11 -07:00
易良
ac0c034066
fix: Close #164414, correct transparent transmission folder-uri (#164415) 2022-10-24 15:51:56 +02:00
Ladislau Szomoru
b757c8e3ca
Engineering - Pin macOS build agent (#164455)
Pin macOS build agent
2022-10-24 06:38:26 -07:00
Ladislau Szomoru
7bd27b4287
Git - getSCMResource() should also look at the merge group (#164450)
getSCMResource() should also look at the merge group
2022-10-24 06:27:56 -07:00
Henning Dieterichs
9812344420
Fixes #160462 (#164449) 2022-10-24 06:19:36 -07:00
Alexandru Dima
38b3b3179e
Don't dismiss hover by mouse movement if it is triggered from the keyboard (#164446)
Fixes #156729: Don't dismiss hover by mouse movement if it is triggered from the keyboard
2022-10-24 15:07:39 +02:00
Daniel Imms
f3b1ddb58c
Merge pull request #163836 from microsoft/tyriar/161622_editorStatus
Defer editorStatus model content and cursor position updates
2022-10-24 05:53:18 -07:00
Alexandru Dima
9739b76dbd
Do not show the dialog if the dialog is currently being shown (#164441)
Fixes #148454: Do not show the dialog if the dialog is currently being shown
2022-10-24 05:49:59 -07:00
Daniel Imms
2fd4a68016
Clear pending layouts when hiding 2022-10-24 05:40:16 -07:00
Daniel Imms
ce1d0bf999
Use MutableDisposable over plain IDisposable 2022-10-24 05:38:17 -07:00
Nikita R
6399d03878
Modify "*WordPart*" family of commands to respect kebab-case (resolves #158667) (#158672)
* Modify "*WordPart*" family of commands to respect kebab-case

* Write new tests for #158667 instead of modifying existing ones

* Fix tests

Co-authored-by: nikita-r <Nikita.Retyunskiy@outlook.com>
Co-authored-by: Alex Dima <alexdima@microsoft.com>
2022-10-24 14:30:05 +02:00
Daniel Imms
c03e6fa9c0
Merge branch 'main' into tyriar/161622_suggest_layout 2022-10-24 05:28:06 -07:00
Henning Dieterichs
f4d9b1d53d
Fixes #161998 (#164444) 2022-10-24 05:26:55 -07:00
Daniel Imms
3855af20f3
Parse lazily instead of in a timeout 2022-10-24 05:26:22 -07:00
Daniel Imms
728aefcf42
Merge branch 'main' into tyriar/161622_bracket_queue 2022-10-24 05:22:48 -07:00
Daniel Imms
9457f9a281
Remove store from derived events 2022-10-24 05:21:54 -07:00
Daniel Imms
6de5257b64
Merge branch 'main' into tyriar/161622_editorStatus 2022-10-24 05:19:09 -07:00