![]() If you want to use a custom configuration file instead of the default one, type its name in the field. Select the Spring facet from the list in the middle and click in the right-hand section. Let IntelliJ IDEA know which files are configuration files in your project to enable relevant highlighting and coding assistance:įrom the main menu, select File | Project Structure or press Ctrl+Alt+Shift+S to open the Project Structure dialog. If you do not want to use the default configuration file, or if you want to run your code in different environments, you can use custom configuration files defined in your project. Spring Initializr creates one default configuration file that may not always be sufficient for development. If you want the files to remain formatted as they are generated by Spring Initializr, open the IDE settings with Ctrl+Alt+S, select Languages & Frameworks | Spring | Spring Boot and disable the Reformat code option in the New Initializr Projects group. Spring Initializr generates a valid project structure with the following files:Ī build configuration file, for example, adle for Gradle or pom.xml for Maven.Ī class with the main() method to bootstrap the application.Īn empty Spring application configuration file: application.propertiesīy default, IntelliJ IDEA applies code formatting to the generated files.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |