Commit graph

78076 commits

Author SHA1 Message Date
Matt Bierner
567b82a0f9 Reduce padding of new markdown cells in notebook
#117493
2021-03-04 20:07:15 -08:00
Matt Bierner
38ac13bc83 Slightly reposition the folding indicator for cells
For #117493
2021-03-04 20:07:15 -08:00
Matt Bierner
99f2b830a1 Improve drag and drop indicators for custom markdown cells in notebooks
Fixes #118002
2021-03-04 20:07:15 -08:00
Matt Bierner
354a0a2620 Disallow dragging the outer markdown cell for rendered markdown cells
It seems like we want all drag events to get channeled through the webview in this case
2021-03-04 20:07:15 -08:00
Matt Bierner
a34ed4b0d7 Make markdown cells span full width of editor
Previously we left a large gap on the right side
2021-03-04 20:07:15 -08:00
Rob Lourens
60d600b366 Fix showing wrong name for files in search after rename
Fix #117778
2021-03-04 19:36:34 -08:00
Matt Bierner
1c7ced625a Update dimensions of webview element when it is shown again
Fixes #117735
2021-03-04 18:54:40 -08:00
Matt Bierner
72995bcb80 Mark property as readonly array
Caller should never modify this array directly
2021-03-04 18:42:55 -08:00
Matt Bierner
28b7345808 Improve documentation for WebviewService 2021-03-04 18:42:55 -08:00
Matt Bierner
9fa1800b97 Make the webview icons manager disposable 2021-03-04 18:42:55 -08:00
Matt Bierner
5bff5459d1 Move webview icons from generic webview service to the webview workbench service
WebviewIcons are only used for webview panels
2021-03-04 18:42:55 -08:00
Matt Bierner
acdcb64a6c Throw error if a webview is double registered 2021-03-04 18:42:55 -08:00
Matt Bierner
487296741f Don't require lazy webview to be passed to WebviewInput
The WebviewOverlay is already lazy, so we dont need an extra level of laziness when creating webviews
2021-03-04 18:42:55 -08:00
Matt Bierner
344f329dd4 Make reviveWebview take an options bag instead of parameters
It is easy to mess up the order of arguments. Use an options bag to prevent this
2021-03-04 18:42:55 -08:00
SteVen Batten
79ff1ec91b gate on feature flag 2021-03-04 17:53:46 -08:00
SteVen Batten
aca4cb1298 workspace trust telem 2021-03-04 17:49:44 -08:00
Matt Bierner
0f97504942 Fix output padding/margin for diff notebook editors
Fixes #118096
2021-03-04 17:11:05 -08:00
Miguel Solorio
9f395ddb93
Update Codicons 7e0f377891 2021-03-04 14:16:53 -08:00
Matt Bierner
0eca51a2da
Mark selected markdown previews in notebooks (#117947)
* Mark selected markdown previews in notebooks

Fixes #117706

Our current approach to marking selected cells will not work for webview backed markdown preview cells. This PR makes the webview track the selection state of each markdown cell so that we can properly style the selected cells inside the webview

* Adding supprot for decorations for markdown cells
2021-03-04 14:09:50 -08:00
Miguel Solorio
191d332413
Add offset to button focus (fixes #117909) 2021-03-04 14:01:51 -08:00
meganrogge
8a81f4149d add warning log if webgl cannot be loaded 2021-03-04 16:26:51 -05:00
Megan Rogge
6abc478020 Update src/vs/workbench/contrib/terminal/browser/terminalInstance.ts
Co-authored-by: Daniel Imms <daimms@microsoft.com>
2021-03-04 16:26:51 -05:00
meganrogge
8b1ddde4f5 move disposal to end so measureRenderTime gets called 2021-03-04 16:26:51 -05:00
meganrogge
920b8b3193 store suggestedRendererType to avoid retrying webgl if it's thrown an error unless the setting gets changed 2021-03-04 16:26:51 -05:00
meganrogge
e9a748131c use storageService 2021-03-04 16:26:51 -05:00
meganrogge
bab447271a measure render time if webgl throws and canvas set 2021-03-04 16:26:51 -05:00
meganrogge
b619d92639 use canvas if webgl throws 2021-03-04 16:26:51 -05:00
Megan Rogge
e7ce70318f after webgl is disposed, don't retry to enable it unless the renderer type gets changed 2021-03-04 16:26:51 -05:00
Megan Rogge
ca83d009f3 Update src/vs/workbench/contrib/terminal/browser/terminalInstance.ts
Co-authored-by: Daniel Imms <daimms@microsoft.com>
2021-03-04 16:26:51 -05:00
Megan Rogge
d61adbfd92 part of #106202, make webgl renderer default, using dom if loading the add on throws 2021-03-04 16:26:51 -05:00
Connor Peet
1e5e33cd02
testing: fix unit test err 2021-03-04 12:13:02 -08:00
Connor Peet
d6b3bc68f1
testing: move types to classes instead of interfaces
Fixes #117373
Fixes #117381
Fixes #117384
2021-03-04 11:51:37 -08:00
Connor Peet
35aed33726
testing: improve RequiredTestItem api
Fixes #117384
2021-03-04 11:51:33 -08:00
Jackson Kearl
db06103f1b
Enable search in open editors checkbox by default 2021-03-04 11:34:05 -08:00
Sandeep Somavarapu
597c595852 fix overflow in command column 2021-03-04 20:21:57 +01:00
Daniel Imms
0150b020a1
Merge pull request #118121 from microsoft/tyriar/116467
Move local pty parts from ITerminalInstanceService into ILocalTerminalService
2021-03-04 11:18:40 -08:00
rebornix
2d4e671f73 update distro. 2021-03-04 11:16:40 -08:00
Sandeep Somavarapu
5b2865bc99 fix layout - do not consider header height 2021-03-04 20:01:04 +01:00
Sandeep Somavarapu
c6202bb3cc Adopt to use new table widget 2021-03-04 19:51:03 +01:00
Jackson Kearl
dd3f3f9d7f
Update issue scraper to use standard bot PAT and run every month 2021-03-04 10:46:52 -08:00
Daniel Imms
8465489bbd Fix unit tests 2021-03-04 10:38:54 -08:00
Daniel Imms
8fd1b97716 Merge remote-tracking branch 'origin/main' into tyriar/116467 2021-03-04 10:21:58 -08:00
Daniel Imms
12ab47ff86 Fix compile 2021-03-04 10:21:17 -08:00
Daniel Imms
c9ae209c80 Use safe process env from electron-sandbox 2021-03-04 10:13:23 -08:00
Daniel Imms
97cb1ff41d Register ILocalTerminalService 2021-03-04 10:02:50 -08:00
Daniel Imms
468d73edeb Fix compile 2021-03-04 10:00:47 -08:00
Daniel Imms
306bebf0f1 Move responsiveness check to local terminal service 2021-03-04 10:00:22 -08:00
Daniel Imms
3a1f4c402b Move terminal instance service methods to local terminal service
Part of #116467
2021-03-04 09:57:26 -08:00
Johannes Rieken
df863f912b
more context key doc 2021-03-04 18:27:18 +01:00
Johannes Rieken
5ba5f986b9 remove notebook dependency from build edits
Signed-off-by: Johannes Rieken <johannes.rieken@gmail.com>
2021-03-04 18:19:50 +01:00