Reputation: 1480
Is there a way to Launch HTML and JS Files in a web browser in Eclipse PDT? Currently, it only launches PHP Files, else, the "Unable to Lauch" dialog appears? Thanks!
Upvotes: 0
Views: 1467
Reputation: 1480
I found it at last! Go to External Tools Configurations, create new configuration. In Main tab, Enter the path to your browser application (ex. /usr/bin/firefox) as Location, then enter "http://localhost${resource_path}" (if your using a local server) in Arguments.
Upvotes: 0
Reputation: 101
Right Click on the file, select Open Width -> Browser. You may need to setup which browser to use under your preferences
Upvotes: 1