AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
![]() ![]() You can also export the settings to a ZIP archive and import it later to other IDE instances. ![]() If you want to share project settings between already existing projects, you can use the Settings Repository or the Settings Sync plugin. This means that you can set the new default structure for your projects.įrom the main menu, select File | New Projects Setup | Structure. You can configure project structure settings not only for the current project, but for all projects that you will be creating later. For more information, refer to Libraries. To configure a project library, in the Project Structure dialog, click Libraries. Project-level libraries are available for all modules with a project. The output paths may be redefined at the module level. In these subdirectories, individual output directories will be created for each of your modules. In this directory, the IDE creates two sub-directories: Click the icon to select the output directory. Project compiler outputĬompiler output path is the path to the directory in which IntelliJ IDEA stores the compilation results. Refer to Preview features policy for additional information about preview features support in IntelliJ IDEA. In some cases, you can select the Preview language level that allows you to use preview features as described in Java Language Specification. If you don't manually configure the target bytecode version for your compiler ( Settings | Build, Execution, Deployment | Compiler | Java Compiler), it will be the same as the project language level.įor each module, you can configure its own language level. This makes the bytecode compatible with Java 8, while inspections make sure you don't use constructs from Java 9. For example, you can use the JDK 9 and set the language level to 8. Language level can differ from your project SDK. Language level defines coding assistance features that the editor provides. For more information on SDKs and how to work with them, refer to SDKs.įor Gradle projects, refer to Gradle JVM selection and for Maven projects, refer to Change the JDK version in a Maven project Project language level To view or edit the name and contents of the selected SDK, click Edit. For the detailed instructions on how to set up the project JDK, refer to Set up the project JDK. To develop Java-based applications, you need a JDK (Java Development Kit). If the necessary SDK is installed on your computer, but not defined in the IDE, select Add SDK | 'SDK name', and specify the path to the SDK home directory. Project SDKĪn SDK is a collection of tools that you need to develop an application for a specific software framework. Alternatively, from the main menu, select File | Project Structure or press Control+Alt+Shift+S. To change the project structure settings, click on the toolbar and select Project Structure. These settings include SDKs, project compiler output paths, and libraries that are available for all modules within a project. Project structure settings are stored together with other project files in the. ![]()
0 Comments
Read More
Leave a Reply. |