Keyboard shortcut to navigate between project errors In WebStorm/PhpStorm - intellij-idea

How to use the keyboard to navigate between Project Errors in WebStorm or PhpStorm?
Namely - TypeScript errors that appear in the "Project Errors" panel.
I know how to navigate between errors in the current file (with F2), but couldn't find a way to navigate to the next error displayed in the "Project Errors" panel with the keyboard.

Related

Change home directory for opening projects in IntelliJ

I've been searching around and confused with the results here as the others here in stackoverflow are saying its not possible or is via the vmoptions file. But all I wanted was just simply change the projects home directory showing when I'm opening my projects as I have to navigate too many folders just to get to my directory where all my projects are. Hence I'm posting this question.
To do so, after opening IntelliJ with any existing project,
Go to File > Settings / Ctrl + Alt + S
On the left pane, navigate to Appearance & Behavior . System Settings
Find the Project Opening section, and then click the folder icon to find the directory to set the new home directory for opening projects.
Click Apply
Then you'd now be able to automatically navigate to this directory whenever trying to open your projects folder.

WebStorm - can I expand folder in sidebar in one click?

Can I just expand folder in one click like Atom and VSCode?

open file outside of project in Intellij IDEA

Would specifically like to edit /etc/hosts without leaving the Intellij window. How can I open this file while working on some arbitrary project in Intellij?
Clicking on the File menu (Left hand corner) then clicking Open does the trick, just like most applications.
To set a shortcut for that File Open click you can click on File then settings (Ctrl+Alt+S) and then under Keymap search for File Open. Right click open and you should see the add shortcut dialog. I'm a bit surprised there isn't a default shortcut for this.

How to run .html File from WebStorm

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.

XCode won't set my iPhone as active scheme

I only wanted to see how my app behaves on first launch, so I deleted it from my iPhone(iOS 4.3), now XCode would show "iOS device" as the active scheme, and when I manually select my iPhone from the list, I get an error (scrolling from the top of the screen) saying Could not launch “project1” No such file or directory (/Users/portal/Library/Developer/Xcode/DerivedData/project1-cfjhjgezzcapwoadaivpptyywptu/Build/Products/Debug-iphoneos/project1.app/project
What might have happened?
I CAN install the app on my iPod (iOS 6) though.
Delete your derived data directory for this project, by doing the following steps:
Close the project, but keep Xcode opened. Go to "Organizer" -> Projects. On the left side, select your project and then click the "Delete" button for the derived data.
Once it's gone, open up the project, run a Product -> Clean and try to redeploy.
If the 'delete' button is greyed out, click on the little arrow to the right of the derived directory path (this will open up Finder). Shut down Xcode, and then send that directory to the trash. Restart Xcode, run a Product -> Clean on the project and try to redeploy.