简体   繁体   English

IntelliJ更新框架在每次运行或调试Web应用程序后显示

[英]IntelliJ Update Frame Showing after every run or Debug web application

I am running IntelliJ IDEA 14.0 ultimate 64 bit .i started a spring mvc project from default template with jetty application server. 我正在运行IntelliJ IDEA 14.0终极64位 。我从默认模板启动了一个带有jetty应用服务器的spring mvc项目。 In Edit configuration i unchecked the Show Dialog every time i run/Debug the project . 在编辑配置中,每次运行/调试项目时,我都会取消选中Show Dialog。 在此输入图像描述

But every time i run/Debug the project i see this annoying Dialog box 但每次我运行/调试项目时,我都会看到这个恼人的对话框 在此输入图像描述

I their any way to stop this dialog every time i run/Debug project in intellij? 我每次在intellij中运行/ Debug项目时都以任何方式停止此对话框?

Settings "On Update action" , that you showed on screenshot will work only for Upadate project( ctrl+f10 ). 您在屏幕截图中显示的“On Update action”设置仅适用于Upadate项目( ctrl+f10 )。 For execute update you can press ctrl+f10 or click on icon (blue circle arrow) on left toolbar of bottom panel. 对于执行更新,您可以按ctrl+f10或单击底部面板左侧工具栏上的图标(蓝色圆圈箭头)。

在此输入图像描述

In this case IDEA will work as specified in settings, and dialog will be not shown, if you disabled "Show dialog" checkbox. 在这种情况下,IDEA将按设置中的指定工作,如果禁用“显示对话框”复选框,则不会显示对话框

Note, that IDEA will always show this dialog when you will try Run( shift+f10 ) or Debug( shift+f9 ) for application, which already running. 请注意,当您为已经运行的应用程序尝试运行( shift+f10 )或Debug( shift+f9 )时,IDEA将始终显示此对话框。

Restart and redeployment of project can take a lot of time. 重启和重新部署项目可能需要很长时间。 But when you want just update resources, or classes (without changes of interfaces), you don't need to restart project, because container (Thomcat, Jetty etc) can apply this changes "on fly". 但是,当您只想更新资源或类(不更改接口)时,您不需要重新启动项目,因为容器(Thomcat,Jetty等)可以“在运行中”应用此更改。 That's why IDEA offers you this options, for save your time, and make your work more convenient and effective. 这就是IDEA为您提供此选项的原因,可以节省您的时间,让您的工作更加便捷有效。

So, to avoid showing of "Update" dialog you can: 因此,为了避免显示“更新”对话框,您可以:

  1. Execute updating of the project ( ctrl+f10 ), with disabled "Show dialog" checkbox. 执行项目更新( ctrl+f10 ),禁用“显示对话框”复选框。

  2. Stop( ctrl+f2 ) current project running and Run( shift+f9 ) or Debug( shift+f10 ) it again. 停止( ctrl+f2 )当前项目正在运行并再次运行( shift+f9 )或Debug( shift+f10 )。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM