Re: Using templates in HTML editor [message #521676] |
Thu, 18 March 2010 04:34  |
Eclipse User |
|
|
|
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 17:41  |
Eclipse User |
|
|
|
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.
|
|
|
Powered by
FUDForum. Page generated in 0.03559 seconds