Launch html page [message #95595] |
Mon, 23 March 2009 08:33  |
Eclipse User |
|
|
|
Originally posted by: nomail.nomail.it
Given a standard html page (.html, no php extension), how do I launch on
localhost server?
For php page, I use successfully Alt+Shift+x W
but it doesn't work for .html
Is there a way?
Rik.
|
|
|
Re: Launch html page [message #95839 is a reply to message #95595] |
Sat, 28 March 2009 12:59   |
Eclipse User |
|
|
|
Originally posted by: warren.tang.nospam.com
Rik wrote:
> Given a standard html page (.html, no php extension), how do I launch on
> localhost server?
>
> For php page, I use successfully Alt+Shift+x W
> but it doesn't work for .html
>
> Is there a way?
>
> Rik.
>
>
Right click on the file and select "Open with > Web Browser". Or input
the URL manually. I didn't find anther way.
|
|
|
Re: Launch html page [message #95913 is a reply to message #95839] |
Mon, 30 March 2009 07:55   |
Eclipse User |
|
|
|
Originally posted by: nomail.nomail.it
Uhm... Open With change permanently the way double click acts on that file,
and the next time I want to edit that file I must change again the option.
Should be great to have working "Run as" or ALT-Shift-X W as for PHP pages.
However, at the moment your solution is quicker that digit long path.
Thanks.
Rik.
"Warren Tang" <warren.tang@nospam.com> ha scritto nel messaggio
news:gql6v6$1p3$1@build.eclipse.org...
> Rik wrote:
>> Given a standard html page (.html, no php extension), how do I launch on
>> localhost server?
>>
>> For php page, I use successfully Alt+Shift+x W
>> but it doesn't work for .html
>>
>> Is there a way?
>>
>> Rik.
>
> Right click on the file and select "Open with > Web Browser". Or input the
> URL manually. I didn't find anther way.
|
|
|
Re: Launch html page [message #96010 is a reply to message #95913] |
Thu, 02 April 2009 07:00   |
Eclipse User |
|
|
|
Originally posted by: euthanasia_waltz.yahoo.co.jp.terra
You may be able to create external tools configuration.
(menu bar) Run > External Tools > External Tools Configurations
Create new launch configuration
Set browser path to Location (e.g. C:\Program Files\Internet
Explorer\iexplore.exe)
Set url to Arguments. (e.g.
http://localhost/${project_name}/${resource_name})
Select target file in PHP Explorer
Click External Tools button
|
|
|
Re: Launch html page [message #96084 is a reply to message #96010] |
Fri, 03 April 2009 17:05  |
Eclipse User |
|
|
|
Originally posted by: nomail.nomail.it
That's a better solution!
Still better should be avoiding the specification of exe, launching the
default browser, so I could still use eclipse + xampp all portable.
I'll search a bit... maybe using rundll32... let's see...
Thanks
"Toshihiro" <euthanasia_waltz@yahoo.co.jp.terra> ha scritto nel messaggio
news:cfdd42fd35fd2fd6ece6797b47cd5f97$1@www.eclipse.org...
> You may be able to create external tools configuration.
>
> (menu bar) Run > External Tools > External Tools Configurations
> Create new launch configuration
> Set browser path to Location (e.g. C:\Program Files\Internet
> Explorer\iexplore.exe)
> Set url to Arguments. (e.g.
> http://localhost/${project_name}/${resource_name})
>
> Select target file in PHP Explorer
> Click External Tools button
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.02101 seconds