Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Duplicate template proposals prevent automatic insertion
Duplicate template proposals prevent automatic insertion [message #332163] Wed, 08 October 2008 04:34 Go to next message
Robert Mark Bram is currently offline Robert Mark BramFriend
Messages: 32
Registered: July 2009
Member
Hi All,

In a previous version of Eclipse I would design a few Java editor
templates with unique names. Then I would enter just the name e.g.
"templatex", press control + . and the template would automatically get
inserted.

Now, however, the content assist displays a list with two duplicate
entries for my uniquely named template i.e. no automatic insertion.

Is this a bug perhaps?

Rob
:)
Re: Duplicate template proposals prevent automatic insertion [message #332166 is a reply to message #332163] Wed, 08 October 2008 07:22 Go to previous messageGo to next message
Dani Megert is currently offline Dani MegertFriend
Messages: 3802
Registered: July 2009
Senior Member
Robert Mark Bram wrote:
> Hi All,
>
> In a previous version of Eclipse I would design a few Java editor
> templates with unique names. Then I would enter just the name e.g.
> "templatex", press control + . and the template would automatically
> get inserted.
>
> Now, however, the content assist displays a list with two duplicate
> entries for my uniquely named template i.e. no automatic insertion.
>
> Is this a bug perhaps?
Go and reset the Advanced content assist preferences.

Dani
>
> Rob
> :)
>
Re: Duplicate template proposals prevent automatic insertion [message #332186 is a reply to message #332166] Wed, 08 October 2008 23:14 Go to previous messageGo to next message
Robert Mark Bram is currently offline Robert Mark BramFriend
Messages: 32
Registered: July 2009
Member
Hi Dani,

>> Now, however, the content assist displays a list with two duplicate
>> entries for my uniquely named template i.e. no automatic insertion.
>>
> Go and reset the Advanced content assist preferences.

Thanks for this. This particular tip did not work, but when I looked at
Advanced content assist preferences I saw that in the top panel, "Select
the proposal kinds contained in the 'default' content assist list", there
were "Template Proposals" and "Template Proposals (Focused)" both
checked. Not knowing the difference, I unchecked the latter and this
problem is solved.

Rob
:)
Re: Duplicate template proposals prevent automatic insertion [message #332191 is a reply to message #332186] Thu, 09 October 2008 08:24 Go to previous message
Dani Megert is currently offline Dani MegertFriend
Messages: 3802
Registered: July 2009
Senior Member
Robert Mark Bram wrote:
> Hi Dani,
>
>>> Now, however, the content assist displays a list with two duplicate
>>> entries for my uniquely named template i.e. no automatic insertion.
>>>
>> Go and reset the Advanced content assist preferences.
>
> Thanks for this. This particular tip did not work, but when I looked
> at Advanced content assist preferences I saw that in the top panel,
> "Select the proposal kinds contained in the 'default' content assist
> list", there were "Template Proposals" and "Template Proposals
> (Focused)" both checked. Not knowing the difference, I unchecked the
> latter and this problem is solved.
Mmh - clicking 'Restore Defaults' should have done the trick too.
Anyway, good to hear it works again for you.

Dani
>
> Rob
> :)
>
Previous Topic:(ganymede) Differenting "SDK" from "Platform SDK" in Software Update dialog
Next Topic:ISearchQuery.run(IProcessMonitor) ,how is it get called??
Goto Forum:
  


Current Time: Wed Jul 03 03:49:59 GMT 2024

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

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

Back to the top