st-tu-dresden / videoshop

SalesPoint sample application
Apache License 2.0
87 stars 246 forks source link

Document how to setup IntelliJ for Spring Boot DevTools #90

Closed martinmo closed 5 years ago

martinmo commented 5 years ago

As it happens to be, a lot of our students use IntelliJ. During the exercise session on tuesday I recognized that students using IntelliJ do not (automatically) benefit from the same DevTools experience as on Eclipse (with or without STS). As a workaround, everybody restarted the whole application even for small template changes. I hope this howto will help them setting up the IDE properly.

odrotbohm commented 5 years ago

After consulting the Spring team I got the advice that triggering Build -> Build project (or ⇧⌘F9) should be enough to trigger the restart.

martinmo commented 5 years ago

That's right, but it doesn't trigger automatically. For users coming from Eclipse, another simple solution might be to assign ⌘S to Build -> Build project. File -> Save doesn't exist anyway ;)

I figure that a whole readme only dedicated to deal with IDEA specifics is too much. I'll open another PR which just adds the Build -> Build project hint and some pointers to the main readme.