Commit graph

95913 commits

Author SHA1 Message Date
Logan Ramos 4f03e1bc7f
Up distro 2022-04-15 10:18:42 -04:00
Rob Lourens a9288be67b Focus the editor on debug stop, by default. Fix #139950 2022-04-14 17:43:00 -07:00
Jackson Kearl 49d2821d44
add note about legacy config 2022-04-14 15:31:37 -07:00
Jackson Kearl b55d829608
remove unneeded cast 2022-04-14 15:31:37 -07:00
Tyler Leonhardt 52a394bdea
Introduce removeSessionByIToken to remove sessions that aren't in this._tokens yet. Fixes #145189 2022-04-14 15:21:54 -07:00
Matt Bierner cba0a0e460
Always encode paths dropped in md 2022-04-14 14:55:22 -07:00
Matt Bierner 50ea16198d
Remove the concat text document api proposal
Fixes #146781
2022-04-14 14:39:44 -07:00
Joe Previte ac00898e44
fix: compare origins in fetch requests against remote authority (#147467)
The previous implementation did not consider what would happen if
webview resources were served from the same domain. By first comparing
the requestUrl.orgin with the sw.orgin (similar to how it's done for
localhost), this is no longer a problem.

And since the requests have the same origin, authentication will never
be an issue as cookies will exist.
2022-04-14 14:26:15 -07:00
Matt Bierner cc74238173
Update to build VS Code using latest TS nightly (#146933)
* Fixing line height if drop into prompt wraps

* Use keybinding style for `shift` in overlay

* Update to build VS Code using latest TS nightly

* Fix compile error

* Bump TS

* Add constraint
2022-04-14 13:58:26 -07:00
SteVen Batten ab174654a5
improve select a different editor command (#147479) 2022-04-14 13:51:57 -07:00
Raymond Zhao c3d09dbabf
Polish language filter button implementation (#147461) 2022-04-14 13:48:06 -07:00
Peng Lyu a4334e4d05
Merge pull request #147470 from microsoft/rebornix/lazy-kernel
Experiment: proxy controller in notebooks
2022-04-14 13:43:54 -07:00
Tyler Leonhardt 5919378269
don't surface error on gets and remove microsoft secret migration. Fixes #146553 2022-04-14 12:18:33 -07:00
rebornix cb80d2cb1d
if resolve kernel failed, reset connection state 2022-04-14 12:10:15 -07:00
rebornix 7195f05a16
allow notebook cancel execution with proxy kernel. 2022-04-14 12:05:38 -07:00
Matt Bierner ed1eaf32f8
Use keybinding style for shift in overlay 2022-04-14 12:00:40 -07:00
rebornix 9fe5271dac
tweak install from marketplace entry on kernel quickpick. 2022-04-14 11:46:04 -07:00
Matt Bierner bf2a8fc564
Fixing line height if drop into prompt wraps 2022-04-14 11:30:46 -07:00
Matt Bierner f6985089f4
Improving UX for drop into prompt
For #142990
2022-04-14 11:22:32 -07:00
rebornix 30caa88a45
Merge remote-tracking branch 'origin/main' into rebornix/lazy-kernel 2022-04-14 11:21:41 -07:00
rebornix 3c9c0e36cd
Use SELECT_KERNEL_ID other than string literal 2022-04-14 11:20:53 -07:00
rebornix 280050dba5
💄 2022-04-14 11:19:50 -07:00
rebornix f20a0f2a10
extract exthost/mainthread proxy kernels. 2022-04-14 11:10:48 -07:00
SteVen Batten 53411d55c5 fixes #147468 2022-04-14 10:58:20 -07:00
Matt Bierner b84d1d9d18
Fixing capabilities for drop into
- Copy logic into notebook and file editor since they override `capabilities` from `AbstractResourceEditorInput`
- Remove unneeded override
2022-04-14 10:49:07 -07:00
Rob Lourens f2e6fe3b86 Show value on lazy variables after icon. Fix #135147 2022-04-14 10:11:17 -07:00
rebornix ec30263535
Merge remote-tracking branch 'origin/main' into rebornix/lazy-kernel 2022-04-14 10:09:45 -07:00
rebornix 61095a1347
notebook controller or id 2022-04-14 10:07:49 -07:00
Matt Bierner 6c759218a8
Scope drop into editor to specific editors (#147425)
* Scope drop into editor to specific editors

As part of #142990, I added support for dropping dragged files from the desktop into an editor by holding shift. To help users discover this feature, we also show a prompt in the editor overlay when dragging

However there are a number of editor types that don't actually support drops. The welcome view for example. Readonly editors should also not support dropping. In those cases, it is confusing the show the `hold shift to drop into editor` prompt

This change adds a new editor capability (`CanDropIntoEditor`) which signals that the editor does support dropping into the editor. I then enable this new capability on writable files, webviews, and notebooks

* Making suggested changes
2022-04-14 10:03:25 -07:00
SteVen Batten 8a58b6585e fixes #147458 2022-04-14 09:26:57 -07:00
SteVen Batten a598007c54
Merge pull request #146951 from microsoft:sbatten/newEditor
Update language around new file
2022-04-14 09:01:28 -07:00
SteVen Batten cb175da74f try closing editor before running command 2022-04-14 09:00:13 -07:00
SteVen Batten 48c5674d07
Merge branch 'main' into sbatten/newEditor 2022-04-14 08:29:19 -07:00
SteVen Batten 697bc2a30d
Keep composites open when last visible composite is removed (#147309)
* fixes #142610

* remove commented code
2022-04-14 08:24:43 -07:00
Benjamin Pasero 8b5f0cdd24
local history - store entries periodically too 2022-04-14 16:11:17 +02:00
Logan Ramos db30f3d981
Change TabChangeEvent variable names 2022-04-14 09:43:53 -04:00
Johannes Rieken 35c34e1a9a
add TabGroupChangeEvent-event which is similar to the TabChangeEvent (#147443) 2022-04-14 09:08:28 -04:00
Johannes c4dd43dd79
💄 2022-04-14 14:53:24 +02:00
Johannes 8ced95d76a
when showing peek, reveal the range including the "after line" so that the whole peek view is visible, https://github.com/microsoft/vscode/issues/147448 2022-04-14 14:07:00 +02:00
Benjamin Pasero ac6b490b2d
retr (#147442) 2022-04-14 11:34:22 +02:00
Benjamin Pasero 8b04a1acf9
lifecycle - show pending operations on shutdown in dialog 2022-04-14 11:30:48 +02:00
Johannes 4ea02deebd
ignore text document version whenever that document is marked as being created, fixes https://github.com/microsoft/vscode/issues/146964 2022-04-14 11:04:35 +02:00
Sandeep Somavarapu 69225f5efe
inline extensions scanner 2022-04-14 12:59:15 +05:30
Johannes Rieken a8f5fc20e0
Merge pull request #147422 from amanasifkhalid/snippet-transform-case 2022-04-14 09:26:50 +02:00
Benjamin Pasero 17b1eae984
docs 2022-04-14 09:24:47 +02:00
Joao Moreno c1eefb0170
add macOSTest job
Co-Authored-By: @TylerLeonhardt
2022-04-14 09:09:07 +02:00
Benjamin Pasero e34318c359
Web API change (#147392)
* for #147368

* preserve API
2022-04-14 08:18:51 +02:00
Benjamin Pasero 55759234d7
preload - revert retry logic which does not seem to help 2022-04-14 08:14:40 +02:00
SteVen Batten a7a7f209ad add context menu to layout control 2022-04-13 18:14:17 -07:00
Rob Lourens f64927b52f Use a real button for lazy variables. Fix #143602 2022-04-13 17:19:07 -07:00