6

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?

1

4 Answers 4

4

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 !

Sign up to request clarification or add additional context in comments.

1 Comment

I have Eclipse for Java EE installed, how do I make autocomplete for div.classname or div#idname work?
2

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

3 Comments

Or get "Eclipse for Java EE" or "Eclipse for JavaScript" instead of "Eclipse for Java" or "Eclipse Classic" respectively.
@BalusC: correct, thanks for the addition. Also see this question: stackoverflow.com/questions/54868/…
I recently installed "Eclipse for JavaScript and Web Developers" but it does not have the feature of auto-completing the html tag. How to make it work?
0

If you are on mac on the top of your screen click the Eclipse button Preferences -> HTML Files -> Content Assist and then in the "Prompt when these characters are inserted" area enter: abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ._<=

1 Comment

This does not provide an answer to the question. Once you have sufficient reputation you will be able to comment on any post; instead, provide answers that don't require clarification from the asker. - From Review
0

in latest eclipse (2023) it has been changed -> Windows>Preferences>Web>HTML files>editor>content Assistant.

Then you can change some settings here like promt when you insert something and speed.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.