Commit Graph

91770 Commits

Author SHA1 Message Date
Rob Lourens 354f700a32 Implement folded markdown cell hint
Fix #132690
2022-01-18 18:38:55 -08:00
Rob Lourens 125f46ebd5 Fix disappearing markdown fold button 2022-01-18 18:38:54 -08:00
Matt Bierner b39c8e9989 Avoid not null assertion and use joinPath 2022-01-18 16:42:42 -08:00
Matt Bierner 789bdb8189 Use more specific return type in provider 2022-01-18 16:42:42 -08:00
Matt Bierner c62c36dea3 Remove extra assertions 2022-01-18 16:42:41 -08:00
SteVen Batten 60b5c439a4 remove toggle panel alignment setting 2022-01-18 16:15:46 -08:00
Peng Lyu dbe2b5c216 Merge pull request #140940 from rchiodo/rchiodo/interactive_history
Fix history to be saved in the input instead of the editor
2022-01-18 16:03:01 -08:00
meganrogge f52de572e2 fix #140942 2022-01-18 17:51:51 -06:00
meganrogge 088d2e88cf fix #140939 2022-01-18 17:44:22 -06:00
Rich Chiodo effb086430 Fix history to be saved in the input instead o fthe editor 2022-01-18 14:01:24 -08:00
Sandeep Somavarapu 87b365f433 #114640 change machine name format 2022-01-18 22:47:38 +01:00
Ladislau Szomoru 41a1de64ed Handle Mac file system as case insensitive when comparing paths in the git extension. #138090 2022-01-18 21:45:25 +01:00
Matt Bierner 86e3a3a062 Restrict vscode-file requests to main window (#139140)
* Restrict vscode-file requests to main window

This change tries to limit use of the vscode-file protocol to the main window.

While investigating this issue, I hit a bug: `CodeWindow` registers a `onBeforeRequestHandler` but can then be disposed of. When this happens, the handler remains active but any references to `this` inside of it now reference the disposed class.

To fix this, I've moved all the request filtering logic into `app.ts` instead and register it on the `defaultSession` instead of on a web contents.

Then to fix the original issue, I added logic that checks the routingId of the request against the routingIds of all known windows. Only windows with known routingIds are allowed to use `vscode-file`.

* Move logic into configure session

* Check processId

* Check BrowserWindow.getAllWindows instead of just main VS Code windows
2022-01-18 12:43:47 -08:00
Daniel Imms 5bd31d3385 Re-render terminal tabs when visibility changes
Fixes #140547
2022-01-18 12:04:23 -08:00
Daniel Imms 0bbe8c9179 Polish shell integration setting wording
Fixes #140722
2022-01-18 11:45:35 -08:00
Daniel Imms 0380c9de84 Enable shell integation after reconnect
The first command will fail because the command start marker is missing,
this is an accepted limitation for now.

Fixes #140246
2022-01-18 11:39:38 -08:00
Daniel Imms 6cbccfa74b Don't enable shell integration on feature terminals
Fixes #140726
2022-01-18 11:34:08 -08:00
Rob Lourens 07b7831746 NotebookExecutionStateService - createCellExecution returns an execution object. For #125668 2022-01-18 10:14:24 -08:00
Alex Dima 62b0d5cb81 Add /~ as a layer template, adopt it, simplify and align code import rules (#140857) 2022-01-18 18:27:34 +01:00
Alex Dima aa86df2561 For each target, allow importing itself 2022-01-18 18:27:34 +01:00
Sandeep Somavarapu 066671a902 Fix #140838 2022-01-18 17:43:20 +01:00
Johannes Rieken d8aa91ff4b fix tests 2022-01-18 17:00:39 +01:00
Logan Ramos d582efc551 Fix #140624 2022-01-18 10:42:54 -05:00
meganrogge 71a41ee8a5 wrap just path with quotes #140784 2022-01-18 09:28:01 -06:00
Johannes Rieken dce829416d fix outline tests and api command test 2022-01-18 16:27:44 +01:00
Johannes Rieken 7d43c30a31 fix compilo 2022-01-18 16:18:35 +01:00
Sandeep Somavarapu efcf42f9bb do not throw compatibility error if installing a specific version 2022-01-18 16:18:06 +01:00
meganrogge b2e67db85f fix #140784 2022-01-18 09:17:00 -06:00
Sandeep Somavarapu cc64c6acd5 Merge pull request #136314 from jeanp413:fix-136313
Install extension with version using workbench.extensions.installExtension
2022-01-18 15:57:19 +01:00
Sandeep Somavarapu 8df0645d3c - Use IExtensionsWorkbenchService to install extension
- Clean up
2022-01-18 15:52:57 +01:00
Sandeep Somavarapu 184d94fa91 Merge branch 'main' into pr/jeanp413/136314 2022-01-18 15:16:49 +01:00
Sandeep Somavarapu 66e97d1e90 Merge pull request #136992 from TwitchBronBron/faster-extension-version-picker
Fix perf issue for InstallAnotherVersionAction
2022-01-18 15:09:45 +01:00
Johannes Rieken 519638efac add more jsdoc and api todos, https://github.com/microsoft/vscode/issues/16221#issuecomment-264527520 2022-01-18 15:09:19 +01:00
Johannes Rieken f30e6a710d make trace provider logging more minification friendly 2022-01-18 14:47:05 +01:00
Sandeep Somavarapu 0ea68e251b remove unnecessary return 2022-01-18 14:46:41 +01:00
Sandeep Somavarapu 829409e798 check for seen versions 2022-01-18 14:45:28 +01:00
Johannes Rieken 83c05e80ce Merge pull request #140096 from ShafinKhadem/snippet-end-undo 2022-01-18 14:41:37 +01:00
Sandeep Somavarapu c0f7c9e313 clean up 2022-01-18 14:38:00 +01:00
Sandeep Somavarapu 32912d3f27 Merge branch 'main' into pr/TwitchBronBron/136992 2022-01-18 14:35:00 +01:00
Johannes Rieken 870f9d8023 drop outline model from cache when text model has been disposed, https://github.com/microsoft/vscode/issues/140661 2022-01-18 14:33:46 +01:00
Johannes Rieken ca73e748cf don't clone outline model and simply share marker data, https://github.com/microsoft/vscode/issues/140661 2022-01-18 14:14:53 +01:00
Sandeep Somavarapu 5ce14fdcf5 add logging 2022-01-18 14:09:30 +01:00
Sandeep Somavarapu c016a58cbf fix default installed extensions view sizing 2022-01-18 14:02:41 +01:00
Johannes Rieken 7718b8ef72 make token to race against mandatory optional, https://github.com/microsoft/vscode/issues/140557 2022-01-18 13:38:56 +01:00
Johannes Rieken 56a830bc68 on ext-host race selection ranges, workspace symbols, and document symbols against cancellation, https://github.com/microsoft/vscode/issues/140557 2022-01-18 13:33:07 +01:00
Johannes Rieken 57eaad7de3 on the ext-host, race call and type hierarchy against cancellation so save bandwidth, https://github.com/microsoft/vscode/issues/140557 2022-01-18 13:25:20 +01:00
Johannes Rieken 19e3ef41bd In the ext-host, race goto-symbol features against cancellation, https://github.com/microsoft/vscode/issues/140557 2022-01-18 13:08:25 +01:00
Ladislau Szomoru 28910095e7 Add statusLimit telemetry 2022-01-18 11:17:50 +01:00
Joao Moreno dbde3101cb more bump 2022-01-18 11:05:50 +01:00
Joao Moreno 37ae63bd5e bump timeout 2022-01-18 11:01:17 +01:00