![]() Let’s say you want to run mvn validate on a particular Maven subproject - simply click Project and select a Maven module. Here is another trick: with Run Anything, you can easily define the execution context. As you type, you’ll see the list of suggestions for command completion. A quicker wayĭouble-press Ctrl and start typing your tool command, for example, mvn or gradle (it can also be npm or yarn or other tools depending on your IntelliJ IDEA project and enabled plugins). These approaches work well, but they require you to open tool windows or dialogs and use the mouse to navigate to the command you want. You can also specify the tool commands in your run configurations. IntelliJ IDEA lets you run build tool commands, such as Maven goals or Gradle tasks, using the dedicated Maven or Gradle tool windows. This is where Run Anything really shines. To debug your app, hold Shift while pressing Enter. Just as for opening a project, double-press Ctrl and start typing the name of a run/debug configuration. Run Anything can expedite this operation. When you run it, you have to explicitly select a configuration from the list, which can be time-consuming. If you like to customize your app startup, you may have a bunch of run/debug configurations. In IntelliJ IDEA, you can run and debug your app in a number of ways. ![]() If you can’t remember the name, just type open to view the list of all recent projects. Click the name of the project that you want to open. You’ll instantly see the list of suggestions. With Run Anything, all you have to do is double-press Ctrl and start typing your project name. Can you open it without taking your hands off the keyboard? A quicker way You probably go to the main menu, click File | Open Recent and select your project from the list, which can take a while. How do you usually open recent projects in IntelliJ IDEA? Let’s embrace the new way of running anything! Open recent projects It combines the simplicity of a command line with the flexibility and power of the IntelliJ IDEA GUI. It also lets you chain command arguments, define context, browse the list of suggestions, and preview help for some commands.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |