We do unit tests via .html files so that we can interact in a web form also. We also just run the dojo test runner.
I have been able to run the .hml file from Aptana but when I try webstorm for the first time, never tried it, love this IDE, I see that when in my .html file the run button at the top is disabled.
So how do I run an .html file that's got markup and javascript from WebStorm and have it come back and hit my debug points inside Webstorm? Does webstorm scrape in what you see in FireFox also or do you have to keep toggling back and fourth such as when you step to the next debug point, tab back to the browser to see the results...or is there a nice way in webstorm to see the markup in runtime at the same time?
All in all I am just trying to get this .html file to run that's got javascript in it and some Dojo runner, etc. in it since I'm using Dojo in this .html file.
Either just open it manually or allow debug from localhost port.
So appearnetly it's not obvious to open a file in WebStorm there is a row of icons that appear in the top right corner of the text editor pane.
You have to hold SHIFT down when clicking the supported/installed browsers icons hidden there, or it will open in the deployment's location (via FTP server settings etc).
Try ALT-F2 for Preview file in... from "View" menu.
Related
I have started using Intellij and I am trying to find a feature that was in eclipse. I often navigate to a file either through the code or through a CTRL-N search. When I have the file I found open, I want to see which project and which folder of the project the file is in. I found a way to open the file in Windows Explorer which tells me what I want but I would rather stay in intellij and see the folders on the left expanded to the location of the file. Does this exist in intellij?
Thanks
On the heading of Project Explorer panel their will be a circle with 4 lines inside it.
Press that it will take you to the place where you file is inside the project
Image upload not working thats why explaination
I'm using PHPUnit to run tests in PhpStorm. The tests source folder has been set that when right clicking the folder, PhpStorm runs all the tests in that folder. However there is one folder of tests that I don't want to run when right clicking "run tests".
I've removed that folder from the testsuite in the phpunit.xml so that it doesn't run specific tests from the terminal, however they still run when right clicking on the folder.
Is there any way to exclude a folder from the test sources in PhpStorm or is it simply not possible?
If you don't need specific files, but you don't want to completely remove them, you can temporarily exclude these files from the project. Excluded files are ignored by code completion, navigation and inspections.
To exclude a file, you need to mark it as a plain text file. You can always return excluded files to their original state.
Right-click the necessary file in the directory tree of the
Project tool window.
Select Mark as Plain Text from the menu. Plain text files are
marked with the plain text icon icon in the directory tree.
To revert the changes, right-click the file and select Mark as from the menu.
Here is the source : https://www.jetbrains.com/help/idea/creating-and-managing-modules.html
Peace !
Recently my client switched from Eclipse to Intellij. In both IDEs I was editing SCSS files externally and running "compass watch" in terminal. This worked great in Eclipse. immediately after compiling SCSS file I was able to simply refresh browser and see the changes.
In Intellij it takes up to 30 seconds to see the changes, or if I enable "synchronize files on frame activation" I have to switch to browser first, then back to Intellij, and then back again to browser in order to force refresh. Third option is to manually sync "css" folder, which is not convenient. I had a same issue when I was editing and compiling SCSS files in Intellij.
How can I force Intellij to detect CSS file change faster?
I've found the solution.
Open "Settings / File Watchers" and go to SCSS. Make sure that field "Output paths to refresh" has the same value for the output as "Arguments" field.
For example, this is my setup:
Arguments:
--no-cache --update $FileName$:$FileParentDir$\css\$FileNameWithoutExtension$.css
Output paths to refresh:
$FileParentDir$\css\$FileNameWithoutExtension$.css
I used http://getbootstrap.com/customize to build a customised colour scheme and the like and then downloaded the .zip using the button at the bottom of the page.
I see there's a config.json in that .zip; how do I plug that back into http://getbootstrap.com/customize if I want to further customise my bootstrap setup at a later date?
The Bootstrap Customizer currently lacks that feature. It's an open feature request:
https://github.com/twbs/bootstrap/issues/11004
That said, if you note the URL that your browser navigates to after clicking the "Compile and Download" button (e.g. http://getbootstrap.com/customize/?id=9652496), going back to that URL later will auto-load your settings. There's another open issue about having the Customizer include that URL in the generated files; see https://github.com/twbs/bootstrap/issues/9951
Today,I installed fedora20 on my computer and then downloaded the Intellij idea13, but when I execute the file by double clicking, there is no response. But it works well in a terminal with ./idea.sh.
Thanks, I need your help!
I'm not a fedora user but the following may help you to understand the problem.
When you double-click an item from the file manager, the default application for that type of file is loaded.
That depends on the configuration for the specific MIME type (which is application/x-sh).
There's a big chance that the default application for .sh files is set to gedit or kwrite depending on the desktop environment. The Intellij Idea installer is binary file and maybe the application is failing to load.
Have you tried right-clicking the file and select the option 'Open in Terminal'? The context menu may also show something like Execute or Launch.