Commit Graph

102032 Commits

Author SHA1 Message Date
Matt Bierner 4eef476a4f Remove old notebook editor api proposal (#164504)
All consumers should now be on the finalized api

Fixes #151661
2022-10-24 14:40:53 -07:00
Raymond Zhao 52f46cc600 Change focusedRowBorder colour for Settings editor (#164508)
Fixes #164507
2022-10-24 14:37:46 -07:00
Daniel Imms f95bfdae3c Merge pull request #164401 from hughlilly/comma-splice-fixes
Fix comma splices in descriptions in `src/vs/workbench/contrib/terminal/common/terminalConfiguration.ts`
2022-10-24 14:21:30 -07:00
Matt Bierner a8c16a0d82 Try to reduce size of completions DTO (#164087)
JS/TS can return a lot of completions. I noticed that just parsing this was taking a bit of time, so I tried to reduce the message size with the following changes:

- Inline the command properties on `ISuggestDataDto`
- Drop the `title` and `tooltip` from the command since we don't use these
- Shorten the delegate command name
- If using an `$ident` command, don't send over the command arguments since the arguments are always `[$ident]`
- Make commit characters a string instead of an array

Here's an example of a dto for a completion item before:

```
{"x":[2,0],"a":"$","b":4,"e":"15","i":0,"k":[".",",",";","("],"m":{"$ident":867,"id":"_vscode_delegate_cmd_l9g7z48t","title":"","arguments":[867]}}
```

And after:

```
{"x":[1,0],"a":"$","b":4,"e":"15","i":0,"k":".,;(","n":11,"o":"__vsl9g7vfno"}
```

For global completions in a JS/TS file, this makes the completion response a little over 40% smaller.
2022-10-24 14:16:52 -07:00
Matt Bierner 0c6cc3a886 Let markdown strings specify a list of commands that they allow (#163915)
* Let markdown strings specify a list of commands that they allow

Fixes #163913

* Fix name
2022-10-24 14:15:44 -07:00
Peng Lyu e88053d97d Third party notices and distro update. (#164502) 2022-10-24 14:02:26 -07:00
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
Hugh Lilly c22980c585 change “amount of” to “number of" 2022-10-25 09:29:04 +13:00
Hugh Lilly a3890d7383 Merge branch 'main' into comma-splice-fixes 2022-10-25 09:27:00 +13: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
Hugh Lilly c147e2daa8 Merge branch 'main' into comma-splice-fixes 2022-10-25 09:11:10 +13: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