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 +185 @@ class ExecCommandPasteAction extends ExecCommandAction {
270
+
@@ -181 +184 @@ class ExecCommandPasteAction extends ExecCommandAction {
273
271
- precondition: EditorContextKeys.writable,
274
272
+ precondition: (require('vs/platform/contextkey/common/contextkey') as typeof import('vs/platform/contextkey/common/contextkey')).ContextKeyExpr.and(EditorContextKeys.writable, workbench.clipboardContextKey),
275
-
@@ -191 +195,2 @@ class ExecCommandPasteAction extends ExecCommandAction {
273
+
@@ -191 +194,2 @@ class ExecCommandPasteAction extends ExecCommandAction {
276
274
- order: 3
277
275
+ order: 3,
278
276
+ when: workbench.clipboardContextKey,
279
-
@@ -194,0 +200,26 @@ class ExecCommandPasteAction extends ExecCommandAction {
277
+
@@ -194,0 +199,26 @@ class ExecCommandPasteAction extends ExecCommandAction {
280
278
+
281
279
+ public async run(accessor, editor: ICodeEditor): Promise<void> {
282
280
+ if (editor instanceof (require('vs/editor/browser/widget/codeEditorWidget') as typeof import('vs/editor/browser/widget/codeEditorWidget')).CodeEditorWidget) {
0 commit comments