Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » Templates don't work
Templates don't work [message #227173] Sat, 24 January 2009 21:56 Go to next message
Eclipse UserFriend
Originally posted by: mailpgrupos.netcabo.pt

Hi,
I'm using windows xp SP3, eclipse 3.4.1 and wtp 3.0.2.
On preferences -> web -> html files -> editor -> templates there are some
templates we can use, such as one to create a table.
I think that it's suposed to do:
table ctrl+space and the table is created imediately.
But it doesn't work on html editor. Instead, it presents me some tags which
I can chose. And if I chose table, it only creates <table></table> and not
the complete table template.
What can I do to solve this?

Thanks and best regards
S
Re: Templates don't work [message #227255 is a reply to message #227173] Mon, 26 January 2009 18:17 Go to previous messageGo to next message
Nick Sandonato is currently offline Nick SandonatoFriend
Messages: 126
Registered: July 2009
Senior Member
Sérgio Neves wrote:
> Hi,
> I'm using windows xp SP3, eclipse 3.4.1 and wtp 3.0.2.
> On preferences -> web -> html files -> editor -> templates there are some
> templates we can use, such as one to create a table.
> I think that it's suposed to do:
> table ctrl+space and the table is created imediately.
> But it doesn't work on html editor. Instead, it presents me some tags which
> I can chose. And if I chose table, it only creates <table></table> and not
> the complete table template.
> What can I do to solve this?
>
> Thanks and best regards
> Sérgio Neves
>
>
You would choose "<> table" to insert a table tag. On the otherhand, you
would choose "# table - table" to insert the table template.

Once you press ctrl+space to bring up the content assistant, type table
to filter the list and you should see those two choices.
Re: Templates don't work [message #227314 is a reply to message #227255] Tue, 27 January 2009 12:47 Go to previous message
Eclipse UserFriend
Originally posted by: mailpgrupos.netcabo.pt

But...
In java, when I write, for example, sysout ctrl+space, it writes
System.out.println();
and on preferences -> html files -> editors -> templates, when I select a
template and press the edit button, it presents the option: "automatically
insert" and the check box is checked for all the templates. I unchecked the
checkbox corresponding to table - table template, went to html editor, and
pressed ctrl+space and selected table - table and it writes me the table.
So, what is the goal of this option?

Best regards
S
Previous Topic:Upcoming change to behavior of Java EE module refactoring
Next Topic:Implementing a simple Validator for HTML Files
Goto Forum:
  


Current Time: Sat Dec 20 05:17:18 GMT 2014

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

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