Commit graph

77305 commits

Author SHA1 Message Date
rebornix 5b943120a1 fix focus/selection after cell deletion 2021-02-22 13:02:05 -08:00
rebornix 6d41b4e1ce embed primary into selections. 2021-02-22 12:12:02 -08:00
rebornix e54948aa8f fix output on pastedcells 2021-02-22 12:07:13 -08:00
rebornix ed08a14111 selections[0] is primary. 2021-02-22 10:16:57 -08:00
rebornix e427e5280c fix tests. 2021-02-21 23:25:47 -08:00
rebornix 2104d28a32 fewer changes. 2021-02-21 23:23:13 -08:00
rebornix c38aa5a341 file cleaning. 2021-02-21 23:13:03 -08:00
rebornix cbcec2e1b4 support setting selections with either handle or index. 2021-02-21 23:00:46 -08:00
rebornix cfd62b3e2d reduce use of selection handles. 2021-02-21 22:33:33 -08:00
rebornix dea95d3e4f map handles to cellrange in UI. 2021-02-21 22:24:20 -08:00
rebornix 1e0adc0da5 unnecessary null -> undefined. 2021-02-21 19:47:27 -08:00
rebornix 6e3e72705a Merge remote-tracking branch 'origin/main' into rebornix/nb-selections 2021-02-21 19:36:38 -08:00
rebornix de956ce8bd differenciate selection and focus. 2021-02-21 19:35:26 -08:00
Jackson Kearl 11cd76005b Fix dep cycle 2021-02-20 06:05:37 -08:00
Matt Bierner 719256e1f1 Don't scroll when clicking on a markdown cell
Fixes #116923

Clicking should only focus the cell, not also scroll to reveal it
2021-02-19 18:09:29 -08:00
Matt Bierner f1551b6e7e Extract the generic message out from FromWebviewMessage 2021-02-19 17:38:23 -08:00
Matt Bierner 94f8212e2c Add more specific contribution for notebook markdown renderers 2021-02-19 17:35:57 -08:00
Matt Bierner 4feadc3998 Fixes #112164 2021-02-19 17:22:38 -08:00
Matt Bierner 9a7da51af2 Make new markdown renderer better match old one's styling 2021-02-19 17:21:43 -08:00
Matt Bierner 75c39b01f1 Note that __vscode_notebook_message can only be true for webview messages from webview 2021-02-19 17:21:43 -08:00
Matt Bierner d24ad98e31 Convert to switch/case
This makes the logic more clear
2021-02-19 17:21:43 -08:00
Connor Peet 8b72fdc3e9
testing: unit test err 2021-02-19 17:14:45 -08:00
Jackson Kearl c3a45004a0 Pull from exp service to determine defaul startup editor value 2021-02-19 17:11:09 -08:00
rebornix e8966ecaa9 notebookeditor.selections 2021-02-19 17:03:33 -08:00
Connor Peet a0e24147e0
testing: remove duplicate extension and internal IDs
Fixes #117084
2021-02-19 16:57:29 -08:00
Tyler James Leonhardt 513c68ac8e
fix powershell 7 64bit not showing in 32bit vscode on 64bit Windows (#116986)
* powershell 7 not showing in 32bit vscode on 64bit Windows
Fixes #116032

* make enum const
2021-02-19 15:45:37 -08:00
Rachel Macfarlane 78707e2d79 Fix #117098 2021-02-19 14:57:06 -08:00
Matt Bierner c74bc68f0f Hide markdown preview cells when they are folded
Fixes #116918
2021-02-19 13:34:51 -08:00
Anton Volokha 6e08e45246
Fix issue #116591 (#116885)
* Fix Extension README not correctly displaying HTML

* Supports common html attributes

* Remove extra attributes

Co-authored-by: Anton Volokha <antonvolokha@gmail.com>
2021-02-19 13:16:31 -08:00
Connor Peet bfa04d48c8
testing: comp error 2021-02-19 13:10:43 -08:00
Connor Peet 36dd567011
testing: make reveal in test explorer work
Fixes https://github.com/microsoft/vscode/issues/117073
2021-02-19 12:46:56 -08:00
Connor Peet 095b565283
testing: do not show test decorations in diff editors
Fixes https://github.com/microsoft/vscode/issues/117072
2021-02-19 12:46:55 -08:00
Ted Spence 5ba8f6e7ec
Fix webview focus issues that prevent cut/copy/paste when opening files with a quick pick (#116899)
* Enable issue service dialog to launch when remote extension host fails to connect

* Prevent delayed focus change from setting _focused

A webview can be sent a delayed focus change.  These delayed focus changes can sometimes be received after many things have happened to focus.

An example is issue #116897 - if you use a quick pick to jump away from a webview, the webview may sometimes receive notifications that it has regained the focus after the quick pick closes.

This change prevents the webview from incorrectly thinking it has obtained focus.

* Update issueService.ts

* Update issueService.ts
2021-02-19 12:29:08 -08:00
Jean Pierre 5d2c9bf299
Consolidate wrapWithAbbreviation and wrapIndividualLinesWithAbbreviation in one command (#116603)
fixes #109191, fixes #116738
2021-02-19 11:33:47 -08:00
Connor Peet e66f74e0c2
testing: test feedback for decorations
Fixes https://github.com/microsoft/vscode/issues/117019
2021-02-19 11:12:47 -08:00
Raymond Zhao d29d7e023b Add ! as stylesheet trigger character for Emmet, fixes #117020 2021-02-19 18:47:48 +00:00
isidor 68a4faad81 linkDetector: fix tests 2021-02-19 18:58:02 +01:00
isidor bd00c624a8 skip test to unblock build 2021-02-19 18:25:36 +01:00
Ladislau Szomoru 2b230e4b26
Azure DevOps build task to download built-in extension details (#116938) 2021-02-19 18:10:40 +01:00
Daniel Imms 6d45122282 Improve seconds logging 2021-02-19 09:10:06 -08:00
Raymond Zhao ee820dffbf
Update smoke test README (#115582) 2021-02-19 09:05:11 -08:00
isidor f6894202fe debug console: better hover text for tunneled uris
#116037
2021-02-19 17:28:19 +01:00
Benjamin Pasero eeff347cac tabs - do not trigger relayout from updateBreadcrumbsControl (#112630) 2021-02-19 17:19:11 +01:00
Johannes Rieken 61df1625ef assert no RPC leakage in notebook tests 2021-02-19 17:05:25 +01:00
Johannes Rieken 3723081d63 separate vscode.NotebookEditor from ExtHostNotebookEditor 2021-02-19 17:05:25 +01:00
Benjamin Pasero dc120dedc1 tabs title - 💄 height compute 2021-02-19 17:01:38 +01:00
Alex Ross f85b50f749 Change filter on filter view when view visiblity changes
Fixes #116815
2021-02-19 16:46:04 +01:00
isidor a3fc4ce540 remove console.log 2021-02-19 16:29:34 +01:00
isidor d050858b5d fix tests 2021-02-19 16:13:58 +01:00
João Moreno 2ca2792a65
fix smoketest 2021-02-19 16:03:01 +01:00