Open HTML file launches it as file:///
Tried some of the steps here http://devnet.jetbrains.net/message/5449237#5449237
How do I set this up in WebStorm? Coming from a VS Studio environment where all I had to do was to point to my localhost url, hoping this is easy in WS too?
Please sign in to leave a comment.
Hi Mats,
Yes -- you just need to define one deployment entry (Settings | Deployment) and mark it as Default for this project -- that's where URL will be taken from when opening files in browser.
If I view this thread as guest then login, it shows me 'Thread not found', just a heads up.
I'll try this shortly, thanks! What about 'Go to line', could not find that in any menu and in the PhpStorm/WebStorm cheat sheet for Mac it says CMD+L, which does not work.
Ok, found the menu option (I was looking for 'Go to line...' and it just said 'Line' :)). Is there no default keybinding for it?
Check and change if required: Settings | Keymap | Main Menu | Navigate | Line ...
One more thing, to type pipe char |, on a Swedish keyboard on a Mac the key combo is Alt+7 which in WebStorm is mapped to some command. How can I find and unbind which command it is? So far I've been copy pasting pipes, getting tired of that now :)
P.S.
Quite likely it will be assigned to "Main Menu | View | Toolbars | Structure"
I still haven't been able to resolve the file:/// issue. Can't find the deploy settings in the preferences. Any guidance on this?
Also your forums are still broken when logging in.
An unexpected error has occurred
Settings | Deployment -- it's quite hard to miss.
If you still having hard times finding it -- use quick search (the input box on top left corner of the Settings screen) -- it will filter the settings for you.
Alternative way of finding such settings screen -- use "Help | Find Action...", type "Deployment" (without quotes) and choose "Settings" entry from the result list.
P.S.
Do not forget to mark your deployment entry as Default for this project.
There is nothing in my Preferences called Deployment.
Attachment(s):
Screen Shot 2012-10-04 at 10.59.45 AM.png
In this case please go to Settings | Plugins -- make sure that "Remote Hosts Access" plugin is enabled (it is bundled plugin and enabled by default).