[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.tools.pdt] Running an html file

Hi,

This a newbie question.

I have installed XAMPP 1.7.0 and Eclipse PDT 2.0 all-in-one in Windows XP.

If I create a php file in Eclipse PDT (let's say, test.php), the right-click menu lets me easily run it in the local server (right-click Run as > PHP web page) and it works OK (http://localhost/test.php)

But if I create a html file in Eclipse PDT (let's say test.html), the right-click menu only shows the "Run Configurations" option. I have create manually a new configuration, and it works OK, but I would like that Eclipse would have done it automatically.

Is there an easy way of telling Eclipse to run the html file in the local server, without having to create the run configuration for each html file?

Thanking you in advance,
Barto