Run highlighted commands using IDE

background

Sometimes when entering a command in the command line of IEDE, the following prompt will pop up, or the command has a background color. What's going on?

Insert image description here

Insert image description here

In fact, it is a reminder that you can use the functions of IDEA instead of the command line. For example, after using ctrl+enter or cmd+enter, you will use the function in IDEA

Direct enter operation means directly outputting the result of executing the command on the command line. However, if you press ctrl/cmd+enter as prompted, it will jump to the function in IDEA to execute your command.
Insert image description here

Guess you like

Origin blog.csdn.net/w8y56f/article/details/134345933