send2terminal icon indicating copy to clipboard operation
send2terminal copied to clipboard

Send to embedded terminal

Open eraf2135 opened this issue 6 years ago • 10 comments

Is it possible to send to the embedded intellij terminal?

eraf2135 avatar Oct 22 '18 07:10 eraf2135

Unfortunately, there is no platform API to do so. I agree it would be great to support this feature.

holgerbrandl avatar Apr 30 '19 10:04 holgerbrandl

Tried to look for a ticket on JetBrains issue tracker, found one issue:

https://youtrack.jetbrains.com/issue/IDEA-243179

sirex avatar Jun 23 '20 22:06 sirex

I'm still not aware of a general Intellij platform API to support this feature. I think that Jetbtrains is using internal APIs only to send code e.g. to the python console.

holgerbrandl avatar Jun 24 '20 07:06 holgerbrandl

Is this still not possible?

acrodrig avatar Oct 20 '22 18:10 acrodrig

Not that I know of. It's still missing as a general feature of the ide. They seems to have learnt the lesson in Fleet IDE but not sure if this insight will be backported to Intellij.

holgerbrandl avatar Nov 07 '22 20:11 holgerbrandl

Recording a macro and assigning it a keyboard shortcut did it for me.

image image

suyogwani11 avatar Nov 28 '22 03:11 suyogwani11

Thanks for sharing this workaround

holgerbrandl avatar Nov 28 '22 13:11 holgerbrandl

Recording a macro and assigning it a keyboard shortcut did it for me.

image image

@suyogwani11 is this workaround still working for you? When I try it will not paste anything into the terminal. Thanks!

acrodrig avatar Sep 04 '23 21:09 acrodrig

Yes. It still works

suyogwani11 avatar Sep 05 '23 02:09 suyogwani11

I was able to make it work with Ideavim and the following macro:

image

antonmry avatar Jun 05 '24 17:06 antonmry