This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I am creating HTML page in eclipse.
Can I include HTML tags from eclipse ? By that I mean, if I want to include JSP tags (scriptlet, include, expression or declaration), I can open snippet view and include these tags from there in to the JSP page.
Can I include HTML tags like this ? Is there any view which contains all the HTML tags and I can include it directly in HTML page ?
I tried top check in different views, but could not find any.
If I am creating JSP page and want to include an expression in the code, I dont need to type tags for expression in editor, I can just click on expression in snippet and expression syntax will be included in editor.
Like this, if I want to include an image in HTML page, is there any view available where I can just click on the img in that view and syntax for that tag is included in editor ? If yes, in what view ?
You are asking for a WYSYWIG editor that includes a component palette. Eclipse does not have such a capability, but JBoss Tools provides such a capability.
From a text point of view, though, you should be able to type the first few letters of a tag (example: "<im") and then hit CTRL-SPACE and Eclipse should present several completion options. You can edit this list of completion items in Preferences under Web | HTML Files | Editor | Templates.
By the way, I assume that you downloaded and installed the Eclipse package identified by "Eclipse for Java EE Developers".>