Reputation: 4656
When I try to create a web page with eclipse, I have two options
-- Javascript project
-- Static web project
If I choose the former, then configuring run
to launch a web browser seems to be difficult.
If I choose the later, I lose support for JavaScript.
So, how do I get the best of both?
Upvotes: 7
Views: 14367
Reputation: 272
I have been using the 'static web project' option, and I am including HTML, JavaScript and PHP files in the project.
Make sure you include your .js
files in your .html
document, otherwise check your eclipse software is up to date to ensure you are getting JavaScript support.
http://wiki.eclipse.org/Eclipse_Project_Update_Sites
sorry would have put this in a comment, but I think I need more reputation.
Upvotes: 7