MPS-extensions icon indicating copy to clipboard operation
MPS-extensions copied to clipboard

Make PlaintextPaster available via a paste action (Ctrl+V)

Open eugenschindler opened this issue 5 years ago • 1 comments

From mps-plaintextgen created by eugenschindler: DSLFoundry/mps-plaintextgen#41

Look in PasteAsJavaClass (URL: http://127.0.0.1:63320/node?ref=r%3Ac6bc30d1-d0d1-44c6-ba7e-90e78619615e%28jetbrains.mps.ide.java.actions%29%2F2872212824181502651) for a pointer on how to do this.

eugenschindler avatar Apr 07 '19 17:04 eugenschindler

Perhaps I'm missing something, but I don't see how the PasteAsJavaClass, PasteAsJavaMethods, and PasteAsJavaStatements are actually bound to a key combination (Ctrl/Cmd+V). And the PlainTextPaster has already been implemented as an plugin... It doesn't look like Jetbrains has provided the hooks to override the Ctrl+V paste command.

JoostvanPinxten avatar Jul 10 '19 20:07 JoostvanPinxten