Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Re: Using templates in HTML editor
Re: Using templates in HTML editor [message #521676] Thu, 18 March 2010 08:34 Go to next message
Eric Rizzo is currently offline Eric RizzoFriend
Messages: 3070
Registered: July 2009
Senior Member
Copying this to the Web Tools group.

On 3/17/10 11:40 AM, Chris Gage wrote:
> I hope this is the correct place to ask questions about non-Java use of
> Eclipse...
>
> I am very familiar with templates in Java programming, and have saved
> myself hours of keying using them -- I am a terrible typist, so I need
> them.
>
> I recently have had occasion to edit some HTML pages and found there is
> a similar template capability.
>
> I am accustomed to typing the name of the template and then pressing
> ctrl-spacebar. But this does not have the same effect in the HTML editor
> -- instead it invokes a complete list of standard HTML tags in a huge
> dropdown. What is the correct trick?
>
> I am using Galileo, Eclipse Java EE IDE for Web Developers. Build id:
> 20090920-1017
Re: Using templates in HTML editor [message #523934 is a reply to message #521676] Mon, 29 March 2010 21:41 Go to previous message
Nick Sandonato is currently offline Nick SandonatoFriend
Messages: 126
Registered: July 2009
Senior Member
Hi Chris,

The templates in the HTML editor work a little differently. Instead of typing out the template name and then pressing ctrl+spacebar, the templates will show up in your content assist list.

So to use a template, you would first press Ctrl+Space, and then filter the list down by typing out the template name. For example, if you press Ctrl+Space and then type "tab", you'll see two entries. One is the actual <table> element and the other is a template table.
Previous Topic:XML code formatter adds whitespace within elements per default
Next Topic:How to debug jspx files?
Goto Forum:
  


Current Time: Thu Apr 25 10:14:51 GMT 2024

Powered by FUDForum. Page generated in 0.02989 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top