дзеркало
https://github.com/l0ng-ai/openidea.git
синхронізовано 2026-11-09 11:15:40 +02:00
fix(editor): Copy Reference and Paste as Plain Text in the editor's Copy / Paste Special menu (#1333)
The editor's Copy / Paste Special submenu only had Copy Path and Paste from History, so a class's fully qualified name couldn't be copied from the context menu although Copy Reference exists as an action. It now lists Copy Reference, Paste as Plain Text and Paste from History; the file path stays in the editor tab's Copy Path/Reference menu. Fixes #1261
Цей коміт міститься в:
1 джерело
19a245fa04
коміт
11932a87af
1 file changed
+2
-1
@@ -685,7 +685,8 @@ export class EditorController implements SlotHost {
|
||||
{
|
||||
label: "Copy / Paste Special",
|
||||
submenu: [
|
||||
{ label: "Copy Path", run: () => void navigator.clipboard?.writeText(slot.model.path) },
|
||||
{ kind: "action", action: "editor.copyReference" },
|
||||
{ kind: "action", action: "code.pasteAsPlainText" },
|
||||
{ kind: "action", action: "code.pasteFromHistory" },
|
||||
],
|
||||
},
|
||||
|
||||
Reference in new issue
Заблокувати користувача