How can I preview html page in server side?

I try WebStorm 1.0.1. When I try to preview a page. The IE always preview in file:/// protocol? How Can I config the WebStorm to preview page with http protocol? thank you.

3 comments

Hello mog hu,

You need to configure a server first (File | Settings | Deployment) and specify server URL for your project files.Then your action will open remote file.

Regards,
Kirill

PS You can also upload your project files to the server if you provide deployment path.

0

ksafonov wrote:

You need to configure a server first (File | Settings | Deployment) and specify server URL for your project files.Then your action will open remote file.


I assume Preview just uses whichever Deployment Web Server Configuration is marked as default?

d

PS, Having a Deployment configuration affect Preview is a little weird. I think we may need some refactoring of how servers and mappings work - http://devnet.jetbrains.net/thread/293285.

0

Please sign in to leave a comment.