What is the simplest way to view results at WebStorm? - webstorm

Suppose I have changed html file. What is the best way to view results? Am I able to view results right in IDE (WebStorm)? Or I have to open browser by using Alt-F2?

WebStorm doesn't have internal preview, so you need to verify the results in the browser. You can keep it running and just switch to the window and refresh the page, in WebStorm you can enable an option to save files automatically on frame deactivation.
Update: see also the new instant preview feature.

Still doesn't as, of 5.0.2, allow for in IDE browser windows, you you have to keep flipping back to browser to see changes, which is a tad sucky. No idea why they don't have this, its not exactly an unknown technique.

Related

I need to get weather info from a website in C++

Well, I want to make a little console application that can get the weather and all its stats to show up in a little box, and I need to get this from a website, I'm thinking something like weather.com, and I need to do it in C++. I need it to simply grab some weather stats from the site and post them in a list on the console screen, in real time, or at least with a refresh button. Is this even possible or do I need to learn some java to do this?
Try feeds from news channel. Or popular Yahoo website API FOR WHETHER
Hey APIs are not in C or C++ specific(with some exception). You can directly download webpage where you can see whether report. Then press F12 & find under which HTML tag it lies. Then open that web page using socket API. THIS IS JUST SINGLE LINE CODE. for finding that tag you need string functions. Then copy & paste work. Also use threads to update time & date & obviously whether report.
I have an application which has nothing to do with the weather.. however those customers are interested in seeing the weather in a box just like the person who asked for this... in worse case I will call a bash script curl wttr.in and translate the output to nice graphics from Oxygene icons at iconarchive.com.
Who has a better solution?

CiviCRM CiviMail Images are relative URLs

When using the CiviMail WYSIWYG to compose a mailing, clicking the image insert option and then choosing "browse server", then uploading an image and inserting it - results in a broken image in the sent email because it uses a relative URL for the image.
Given that this is CiviMail and its sole purpose is to send out mailings, it seems like this behavior should be gleaned and replaced prior to sending? Is there an extension or way to configure it to fix this? I recall this being an issue previously, but had thought this was resolved for 4.5. Anyone know if there is a way to configure without jumping into the wysiwyg's direct code and overriding?
the editor is used in multiple locations besides civimail
Might want to check see if the wysiwyg editor has a setting that decides between relative vs absolute urls. might want to tweak that setting and see if it fixes things

Can imacros clear ALL history, cache and cookies

Is there a way to clear all cache and cookies (equivalent of pressing ctrl+shift+del in firefox and selecting every checkbox) using imacros?
I know about the CLEAR command but I have found that it doesn't clear everything. Thank you.
Use the CLEAR command so that times of website response measurements are not influenced by using local cache data:
The code "CLEAR" without quote actually deletes all content. Make sure you do not run this function in incognito mode. This is because incognito do not delete content in as much as it doesn't save. But some sites can still pick your data on incognito mode. To make your script clear all data, run the script in a normal mode.

Webstorm: save only open tab vs. save all tabs?

I'm new to webstorm since I started my latest job, and I'm finding some features difficult to adapt to. In particular, the fact that it forces you to save all open changes in all tabs at once is problematic.
I have a somewhat organic method of development, swapping between HTML and LESS frequently until I reach a point where I want to save the files and see what my work has accomplished. Whenever I save an open HTML doc, it saves the incomplete LESS that I just left mid-thought as well, and pops up a compiler error. Is there any way to force webstorm to only save the active tab?
(Aside: Please don't suggest I adjust my mindset or my workflow to adapt to my environment. Not only is that poor usability, it would require me to override an instinct that was developed for good reason: when you reach a milestone, you save it lest something bad happen. Leaving an unsaved doc open makes my eye twitch.)
This has been (sort of) implemented in v7.0. You'll need to dig into Settings > Menus and Toolbars to add "Save Document" to the program menu, and Settings > Keymap if you want to assign a keyboard shortcut (and disable Ctrl+S for Save All).
You may also want to tick "Mark modified tabs with asterisk" under Settings > Editor > Editor Tabs.
Note: You will not be warned if you exit without saving your changes.

Compiled coffeescript preview side by side

Is there a way to see generated javascript all the time?
Of course there's a 'Preview compiled coffescript' command that will open modal window.
not exactly the thing I'm looking for.
Also you always can split window vertically and have both .coffee and .js opened. But then, it won't change automatically when you navigate to a different coffeescript file.
And I'm hoping to have a side panel that maybe supports source maps too.
Possible?
No, but you can file a feature request here:
http://youtrack.jetbrains.com/dashboard#newissue=yes
It might be useful for other languages too: TypeScript, Less, Sass, etc