You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -181 +184 @@ class ExecCommandPasteAction extends ExecCommandAction {
311
+
@@ -181 +219 @@ class ExecCommandPasteAction extends ExecCommandAction {
282
312
- precondition: EditorContextKeys.writable,
283
313
+ precondition: (require('vs/platform/contextkey/common/contextkey') as typeof import('vs/platform/contextkey/common/contextkey')).ContextKeyExpr.and(EditorContextKeys.writable, workbench.clipboardContextKey),
284
-
@@ -191 +194,2 @@ class ExecCommandPasteAction extends ExecCommandAction {
314
+
@@ -191 +227,2 @@ class ExecCommandPasteAction extends ExecCommandAction {
285
315
- order: 3
286
316
+ order: 3,
287
317
+ when: workbench.clipboardContextKey,
288
-
@@ -194,0 +199,26 @@ class ExecCommandPasteAction extends ExecCommandAction {
318
+
@@ -194,0 +232,26 @@ class ExecCommandPasteAction extends ExecCommandAction {
289
319
+
290
320
+ public async run(accessor, editor: ICodeEditor): Promise<void> {
291
321
+ if (editor instanceof (require('vs/editor/browser/widget/codeEditorWidget') as typeof import('vs/editor/browser/widget/codeEditorWidget')).CodeEditorWidget) {
0 commit comments