mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-09-03 04:26:12 +08:00
Use proper product name for Intellij IDEA
This commit is contained in:
parent
2c829c7229
commit
b384f0360c
@ -23,8 +23,8 @@ added after the original pull request but before a merge.
|
|||||||
* Use the Spring Framework code format conventions. If you use Eclipse and you follow
|
* Use the Spring Framework code format conventions. If you use Eclipse and you follow
|
||||||
the ``Importing into eclipse'' instructions below you should get project specific
|
the ``Importing into eclipse'' instructions below you should get project specific
|
||||||
formatting automatically. You can also import formatter settings using the
|
formatting automatically. You can also import formatter settings using the
|
||||||
`eclipse-code-formatter.xml` file from the `eclipse` folder. If using IntelliJ, you can
|
`eclipse-code-formatter.xml` file from the `eclipse` folder. If using IntelliJ IDEA, you
|
||||||
use the http://plugins.jetbrains.com/plugin/6546[Eclipse Code Formatter Plugin]
|
can use the http://plugins.jetbrains.com/plugin/6546[Eclipse Code Formatter Plugin]
|
||||||
to import the same file.
|
to import the same file.
|
||||||
* Make sure all new `.java` files to have a simple Javadoc class comment with at least an
|
* Make sure all new `.java` files to have a simple Javadoc class comment with at least an
|
||||||
`@author` tag identifying you, and preferably at least a paragraph on what the class is
|
`@author` tag identifying you, and preferably at least a paragraph on what the class is
|
||||||
|
@ -1900,19 +1900,19 @@ Spring Boot plugin declaration, e.g.
|
|||||||
</plugin>
|
</plugin>
|
||||||
----
|
----
|
||||||
|
|
||||||
This normally works pretty well with Eclipse and IntelliJ as long as they have their
|
This normally works pretty well with Eclipse and IntelliJ IDEA as long as they have their
|
||||||
build configuration aligned with the Maven defaults (Eclipse m2e does this out of the
|
build configuration aligned with the Maven defaults (Eclipse m2e does this out of the
|
||||||
box).
|
box).
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
[[howto-reload-springloaded-gradle-and-intellij]]
|
[[howto-reload-springloaded-gradle-and-intellij-idea]]
|
||||||
==== Configuring Spring Loaded for use with Gradle and IntelliJ
|
==== Configuring Spring Loaded for use with Gradle and IntelliJ IDEA
|
||||||
You need to jump through a few hoops if you want to use Spring Loaded in combination with
|
You need to jump through a few hoops if you want to use Spring Loaded in combination with
|
||||||
Gradle and IntelliJ. By default, IntelliJ will compile classes into a different location
|
Gradle and IntelliJ IDEA. By default, IntelliJ IDEA will compile classes into a different
|
||||||
than Gradle, causing Spring Loaded monitoring to fail.
|
location than Gradle, causing Spring Loaded monitoring to fail.
|
||||||
|
|
||||||
To configure IntelliJ correctly you can use the `idea` Gradle plugin:
|
To configure IntelliJ IDEA correctly you can use the `idea` Gradle plugin:
|
||||||
|
|
||||||
[source,groovy,indent=0,subs="verbatim,attributes"]
|
[source,groovy,indent=0,subs="verbatim,attributes"]
|
||||||
----
|
----
|
||||||
@ -1937,10 +1937,10 @@ To configure IntelliJ correctly you can use the `idea` Gradle plugin:
|
|||||||
|
|
||||||
----
|
----
|
||||||
|
|
||||||
NOTE: IntelliJ must be configured to use the same Java version as the command line Gradle
|
NOTE: IntelliJ IDEA must be configured to use the same Java version as the command line
|
||||||
task and `springloaded` *must* be included as a `buildscript` dependency.
|
Gradle task and `springloaded` *must* be included as a `buildscript` dependency.
|
||||||
|
|
||||||
You can also additionally enable '`Make Project Automatically`' inside Intellij to
|
You can also additionally enable '`Make Project Automatically`' inside Intellij IDEA to
|
||||||
automatically compile your code whenever a file is saved.
|
automatically compile your code whenever a file is saved.
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user