![]() It's recommended that you use the directory-based format. Specify the name and location and select a format for the new project. Select the Create project from existing sources option and click Next. ![]() Otherwise, from the main menu, select File | New | Project from Existing Sources. If the Welcome screen opens, press Ctrl+Shift+A, type project from existing sources, and click the Import project from existing sources action in the popup. Use this type of import to create an IntelliJ IDEA project over the existing source code that is not necessarily an exported project. If you are using a framework plugin, refer to the corresponding documentation section. This section describes the functionality that is available out of the box. If you have been working with another project, select whether you want to open the new project in a new dialog or in the current one.įor instructions on how to get a project from version control, refer to Check out a project from a remote host (clone). For example, if you select Gradle, IntelliJ IDEA executes its build scripts, loads dependencies, and so on. The IDE pre-configures the project according to your choice. Select the necessary configuration and click OK. ![]() ![]() If the project that you are importing uses a build tool, such as Maven or Gradle, we recommend that you select the build tool configuration. If the IDE detects more than one configuration (for example, Eclipse and Gradle), it prompts you to select which configuration you want to use. When you import or clone a project for the first time, IntelliJ IDEA analyzes it. In the dialog that opens, select the directory in which your sources, libraries, and other assets are located and click Open. Otherwise, from the main menu, select File | Open. If you want to set custom settings while importing the project (for example, select another SDK or choose the libraries that you want to import), refer to Create a project from existing sources. This option imports the selected project to IntelliJ IDEA as is (opens it). Import and export projects Open a project (simple import)
0 Comments
Leave a Reply. |