IDEA 2018.1 版本的 SpringBoot 的快速请求功能找不到

2018-04-09 15:41:37 +08:00
 CrazyMelody
看新特性演示的那个,会自动检测 springboot 接口,然后在左侧出现一个运行按钮,点击直接构造请求的,找了半天没有啊
3234 次点击
所在节点    Java
2 条回复
Guozi1989
2018-04-09 17:10:59 +08:00
先把应用起起来。
sqsgalaxys
2018-04-09 21:50:07 +08:00
1. Create Spring Boot Run Configuration in the Run/Debug Configurations dialog
2. Activate the Enable JMX agent checkbox in the Run/Debug Configurations dialog
3. In your pom.xml add a dependency to spring-boot-starter-actuator
For more information please refer to our Help:
https://www.jetbrains.com/help/idea/spring-boot.html#access-http-request-mappings-from-the-editor

参考:https://blog.jetbrains.com/idea/2018/01/whats-new-in-intellij-idea-2018-1-eap-4/

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/445384

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX