简体   繁体   English

如何使用IntelliJ和GWT应用CSS更改而不必停止/重新启动程序

[英]How to apply css changes using IntelliJ with GWT without having to stop/restart program

When using IntelliJ to write a GWT application and testing in hosted mode is there any way to have a CSS change reflected in the execution of the program without having to stop and restart the application? 使用IntelliJ编写GWT应用程序并在托管模式下进行测试时,是否有任何方法可以在程序执行中反映CSS更改,而不必停止并重新启动应用程序? Stopping and restarting is such a slow process it makes one want to use java statements instead of css. 停止和重新启动是一个缓慢的过程,它使人们想使用Java语句而不是CSS。

You can use Run | 您可以使用Run | Update action (Ctrl+F10). 更新动作(Ctrl + F10)。

I generally use firebug for checking the CSS . 我通常使用firebug检查CSS。 I launch the application through intelliJ + firefox and using the firebug modify CSS till i get desired results . 我通过intelliJ + firefox启动该应用程序,并使用firebug修改CSS直到获得期望的结果。

This helped me in Intellij 13. In the menu choose 这对Intellij 13很有帮助。在菜单中选择

> Run
> Edit Configuration
> Select "Update resources on frame deactivation"

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

相关问题 如何使用CSS将更改应用于“选择”选项 - How to apply changes to “select” option using CSS 如何在GWT中生成颜色并在CSS中动态应用颜色 - How to generate colors in GWT and dynamically apply it in CSS 如何按顺序应用CSS更改? - How to apply CSS changes in order? 如何在GWT中使用CSSResource应用复杂的样式 - How to apply complex styles using CSSResource in GWT 在 GWT 中,如何在不使用 CSS 文件和不使用 UiBinder 的情况下创建样式 object 并将其与小部件相关联 - In GWT, how to create a Style object and associate it with a Widget WITHOUT using a CSS file and WITHOUT UiBinder 如何在不使用-webkit-transform的情况下在iOS上应用css转换? - How to apply css transform on iOS without using -webkit-transform? 如何在不使用 jquery 或 js 的情况下应用条件 css - how to apply conditional css without using jquery or js in react 我们如何将animations.css应用于GWT小部件? - How can we apply animations.css to GWT widgets.? 如何在不使用CSS的情况下停止在html电子邮件中重复背景图像? - How to stop repeating a background image in html email without using CSS? 使用窗口构建器放置文本框和其他gwt小部件后,如何使用css放置它们 - How do we position the text boxes and other gwt widgets using css, after having positioned them using window builder
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM