Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

AutoComplete for HTML tags in Eclipse

Coming from the VisualStudio world to Eclipse! I have a question:

I have created a File->New->Project->General Project and added a .htm file to it and went to its text editor mode. But it does not have intellisence for HTML tags when I type them. Then I installed Aptana plug-in and tought it will bring auto-complete for my tags, but it did not change anything. So we have to type everything? No Intellisense for HTML in Eclipse?

like image 859
Bohn Avatar asked Nov 25 '11 18:11

Bohn


2 Answers

In Eclipse goto

Window->Preferences->HTML Files -> Editor ->Content Assist

and paste this whole line instead of <= in Promt when these characters are inserted... !

abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ._<=

then apply and close & Enjoy Coding !

like image 60
Vaibhav Pallod Avatar answered Sep 28 '22 08:09

Vaibhav Pallod


Install the Web Tools Platform (WTP), that should give you auto completion.

like image 40
Kai Avatar answered Sep 28 '22 08:09

Kai