简体   繁体   中英

IntelliJ IDEA Run applications

Excuse me, the Run applications of IntelliJ IDEA in the picture below have questions about variables. After the Run applications are running, will they save the previously executed variables like the JShell console of IntelliJ IDEA, and they can be used in the next execution?

在此处输入图像描述

I want to know whether Run applications has such a function, or only JShell console can do it.

If you click on the arrow present just after Current File , you will find an option called Edit Configurations . There you can add your own variables for running your application. And yes, you can save your configuration using the Save TEST_CLASS_NAME Configuration .

在此处输入图像描述

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM