0

I'm experimenting with Terminal Control Escape Sequences in my java program that allows me two print a string at any x,y coordinate on my terminal. But I can't test this on intelliJ's terminal.

I've already seen solution on other thread where they say to copy the command from intelliJ's console and then paste it on system terminal to run it, but it is very tedious and also I've to build every time on intelliJ first, and then try it out on system terminal.

Is there a way to for intelliJ to open system terminal and run program when I press run shortcut?

1
  • 1
    Set up a new debug target. I have used one called "Bash" in the past that creates a new terminal window to launch the app in (you have to use IntelliJ $ params to set additional command line parameters). If you are on windows, there may be something equivalent. Look in "Run | Edit Configurations..." menu. Commented Mar 31, 2019 at 13:53

1 Answer 1

1

IntelliJ IDEA doesn't support it out of the box, see https://youtrack.jetbrains.com/issue/PY-19938 and the linked requests.

You can create an external tool that will spawn a Terminal window for your OS and start your app in this window. All the required macros for the paths/classes are available in the IDE.

Sign up to request clarification or add additional context in comments.

2 Comments

Thanks for the response. I'll look into external tool and try to come up with one for my use case.
@Tanmay_vijay have you succeed?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.