1

Please tell me how to work with PHP, HTML, CSS & JS within same file simultaneously. I mean I do this most often, that the file is *.php extension but I have to write HTML, CSS, PHP, JS all in the same file.

So that for each language code hinting could work, it doesn't work.

I have already download

  • Eclipse for PHP
  • Eclipse for JavaScript & Web

but both run separately. How can I combine? Please help.

mmvsbg
  • 3,570
  • 17
  • 52
  • 73
fuad
  • 13
  • 4

2 Answers2

1

Help -> install New Software

Select the following three options under “Web, XML, Java EE and OSGI Enterprise Development”:

  • Eclipse Java EE Developer Tools
  • Eclipse Java Web Developer Tools
  • Eclipse Web Developer Tools

Follow the prompts from there.

Sildoreth
  • 1,883
  • 1
  • 25
  • 38
0

Look in the menu:

Help -> Install New Software

Make sure you have the package for Web Developer Tools

Then Eclipse should provide the desired highlighting.

sorak
  • 2,607
  • 2
  • 16
  • 24
  • can you please tell the exact name of the package? because this "web developer tools" i cannot find in the marketplace – fuad Mar 09 '18 at 09:25