holgerbrandl / send2terminal

Intellij plugin to send line or selection to terminal
BSD 2-Clause "Simplified" License
17 stars 2 forks source link

Send to embedded terminal #8

Open eraf2135 opened 6 years ago

eraf2135 commented 6 years ago

Is it possible to send to the embedded intellij terminal?

holgerbrandl commented 5 years ago

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

sirex commented 4 years ago

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

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

holgerbrandl commented 4 years ago

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.

acrodrig commented 2 years ago

Is this still not possible?

holgerbrandl commented 2 years ago

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.

suyogwani11 commented 2 years ago

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

image image
holgerbrandl commented 2 years ago

Thanks for sharing this workaround

acrodrig commented 1 year ago

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!

suyogwani11 commented 1 year ago

Yes. It still works

antonmry commented 5 months ago

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

image