How can I read data written to the project's terminal?

Answered

Hello!

I am writing a plugin that writes code changes, and for full functionality, I would like to also read what is happening in the terminal: user input commands and the  output of it

After a brief study of the SDK, it seems to me that the 'terminal' package is located in the internal API. Is there any accessible way to use it?

0
4 comments

What exactly do you mean with “the terminal”? The Terminal tool window? A run configuration output window? Please explain your use case in more detail.

0

Yann Cebron Thanks! I wouldlike to listen and record content changes for all tabs in the terminal (not execute anywhere) like DocumentListener. Is it possible via toolwindow only?

0

Sorry, I do not quite understand your last question. Could you please provide a screenshot from IDE of what you mean exactly? Thanks.

 

0

Please sign in to leave a comment.