Update web resources via hotkey
Hi guys,
I have a dual-monitor setup with IntelliJ running on one side and Firefox on the other.
I work on CSS and HTML simultaneously. I can re-package the CSS file OR the HTML file via the hotkey for 'Compile'.
But how do I re-package BOTH files - without hitting F9 in each separately?
(just like I can check for "frame deactivation")
PS: I use XRefresh which automatically refreshes Firefox on file updates.
Cheers,
Stephanos
请先登录再写评论。
Could you please provide more details? Do you want to update static files or you're running an application server?
>
>
--
Nikolay Chashnikov
Software Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
Okay - to summarize:
But I want to update BOTH at the same time with only one key press.
How do I do that?
Define a macro and bind that to a keyboard accellerator?
Randall Schulz
Could you please provide more details?
I already am a user of AutoHotKey - so I guess it could be done (for example: F9 + 'Goto Next Splitter' + F9 + 'Goto Next Splitter').
But I still think IntelliJ should be able to do this natively! I mean multi-monitor setups are very common
...I wonder how other designers develop CSS+HTML with IntelliJ?
In case anyone is interested - here is my trivial script for AutoHotKey:
Assuming that 2 splitters are open, 'Compile' is tied to F9 and 'Goto Next Splitter' is tied to CTRL+ALT+RIGHT.
Now both resources are updated via F12 and XRefresh picks up the change :-)