Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Persist Getter/Setter Insertion Point
Persist Getter/Setter Insertion Point [message #263107] Wed, 13 August 2008 21:35 Go to next message
Eclipse UserFriend
Originally posted by: nowhere.a.com

I just installed 3.4

The Generate Getter and Setter Insertion Point does not persist between
calls. I prefer "Last Member", but now this choice always changes.

--
Wojtek :-)
Re: Persist Getter/Setter Insertion Point [message #263132 is a reply to message #263107] Thu, 14 August 2008 07:18 Go to previous messageGo to next message
Dani Megert is currently offline Dani MegertFriend
Messages: 3802
Registered: July 2009
Senior Member
Wojtek wrote:
> I just installed 3.4
>
> The Generate Getter and Setter Insertion Point does not persist
> between calls. I prefer "Last Member", but now this choice always
> changes.
>
This works for me i.e. it keeps my previous settings.

Dani
Re: Persist Getter/Setter Insertion Point [message #263146 is a reply to message #263132] Thu, 14 August 2008 14:42 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: nowhere.a.com

Daniel Megert wrote :
> Wojtek wrote:
>> I just installed 3.4
>>
>> The Generate Getter and Setter Insertion Point does not persist between
>> calls. I prefer "Last Member", but now this choice always changes.
>>
> This works for me i.e. it keeps my previous settings.

And in previous versions it did that for me. Now it always wants to put
it right after whichever field/method I happen to rest the cursor on.

So I constantly need to scroll the list to the top entry - 1 to get
Last Member.

I could not find any property for this, so it must be built in.

Actully I use a fair number of inner/nested classes. I wish there was
an option to place the get/set as the last member BEFORE a class
declaration.

--
Wojtek :-)
Re: Persist Getter/Setter Insertion Point [message #263155 is a reply to message #263146] Thu, 14 August 2008 16:11 Go to previous messageGo to next message
Dani Megert is currently offline Dani MegertFriend
Messages: 3802
Registered: July 2009
Senior Member
Wojtek wrote:
> Daniel Megert wrote :
>> Wojtek wrote:
>>> I just installed 3.4
>>>
>>> The Generate Getter and Setter Insertion Point does not persist
>>> between calls. I prefer "Last Member", but now this choice always
>>> changes.
>>>
>> This works for me i.e. it keeps my previous settings.
>
> And in previous versions it did that for me. Now it always wants to
> put it right after whichever field/method I happen to rest the cursor on.
>
> So I constantly need to scroll the list to the top entry - 1 to get
> Last Member.
Please file a bug with steps to reproduce against JDT UI.

Dani
>
> I could not find any property for this, so it must be built in.
>
> Actully I use a fair number of inner/nested classes. I wish there was
> an option to place the get/set as the last member BEFORE a class
> declaration.
>
Re: Persist Getter/Setter Insertion Point [message #263157 is a reply to message #263155] Thu, 14 August 2008 17:59 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: nowhere.a.com

Daniel Megert wrote :
> Wojtek wrote:
>> Daniel Megert wrote :
>>> Wojtek wrote:
>>>> I just installed 3.4
>>>>
>>>> The Generate Getter and Setter Insertion Point does not persist between
>>>> calls. I prefer "Last Member", but now this choice always changes.
>>>>
>>> This works for me i.e. it keeps my previous settings.
>>
>> And in previous versions it did that for me. Now it always wants to put it
>> right after whichever field/method I happen to rest the cursor on.
>>
>> So I constantly need to scroll the list to the top entry - 1 to get Last
>> Member.
> Please file a bug with steps to reproduce against JDT UI.

Not sure I could. From your comments it works, yet mine does not. That
would make it an installation specific bug. I did have some problems
getting Eclipse EE installed and configured (my comments in
eclipse.webtools). So to repoduce this I would guess you would need to
start with my previous environment, and go through the steps I took.

I don't even think I can remember them all.

It sounds like I have a slightly corrupted properties file somewhere
which is not "taking" the setting.

--
Wojtek :-)
Re: Persist Getter/Setter Insertion Point [message #263377 is a reply to message #263157] Mon, 18 August 2008 21:44 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: dobesv.habitsoft.com

Wojtek wrote:

> Daniel Megert wrote :
>> Wojtek wrote:
>>> Daniel Megert wrote :
>>>> Wojtek wrote:
>>>>> I just installed 3.4
>>>>>
>>>>> The Generate Getter and Setter Insertion Point does not persist between
>>>>> calls. I prefer "Last Member", but now this choice always changes.
>>>>>
>>>> This works for me i.e. it keeps my previous settings.
>>>
>>> And in previous versions it did that for me. Now it always wants to put it
>>> right after whichever field/method I happen to rest the cursor on.
>>>
>>> So I constantly need to scroll the list to the top entry - 1 to get Last
>>> Member.
>> Please file a bug with steps to reproduce against JDT UI.

I'm having the same problem, did you ever come up with a fix? Or a bug
report?

Thanks!
Re: Persist Getter/Setter Insertion Point [message #263389 is a reply to message #263377] Tue, 19 August 2008 10:33 Go to previous messageGo to next message
Dani Megert is currently offline Dani MegertFriend
Messages: 3802
Registered: July 2009
Senior Member
Dobes Vandermeer wrote:
> Wojtek wrote:
>
>> Daniel Megert wrote :
>>> Wojtek wrote:
>>>> Daniel Megert wrote :
>>>>> Wojtek wrote:
>>>>>> I just installed 3.4
>>>>>>
>>>>>> The Generate Getter and Setter Insertion Point does not persist
>>>>>> between calls. I prefer "Last Member", but now this choice always
>>>>>> changes.
>>>>>>
>>>>> This works for me i.e. it keeps my previous settings.
>>>>
>>>> And in previous versions it did that for me. Now it always wants to
>>>> put it right after whichever field/method I happen to rest the
>>>> cursor on.
>>>>
>>>> So I constantly need to scroll the list to the top entry - 1 to get
>>>> Last Member.
>>> Please file a bug with steps to reproduce against JDT UI.
>
> I'm having the same problem, did you ever come up with a fix? Or a
> bug report?
No bug and hence no fix.

Dani
>
> Thanks!
>
Re: Persist Getter/Setter Insertion Point [message #263419 is a reply to message #263377] Tue, 19 August 2008 22:35 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: nowhere.a.com

Dobes Vandermeer wrote :
> Wojtek wrote:
>
>> Daniel Megert wrote :
>>> Wojtek wrote:
>>>> Daniel Megert wrote :
>>>>> Wojtek wrote:
>>>>>> I just installed 3.4
>>>>>>
>>>>>> The Generate Getter and Setter Insertion Point does not persist between
>>>>>> calls. I prefer "Last Member", but now this choice always changes.
>>>>>>
>>>>> This works for me i.e. it keeps my previous settings.
>>>>
>>>> And in previous versions it did that for me. Now it always wants to put
>>>> it right after whichever field/method I happen to rest the cursor on.
>>>>
>>>> So I constantly need to scroll the list to the top entry - 1 to get Last
>>>> Member.
>>> Please file a bug with steps to reproduce against JDT UI.
>
> I'm having the same problem, did you ever come up with a fix? Or a bug
> report?

I need to switch my email over to where I am now, so I will create a
bug tommorrow.

However I also have another problem in that the column widths of the
Problem view are not being persisted. This may be related. How are your
column widths?

--
Wojtek :-)
Re: Persist Getter/Setter Insertion Point [message #263421 is a reply to message #263146] Tue, 19 August 2008 22:48 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: nowhere.a.com

Wojtek wrote :

> Actully I use a fair number of inner/nested classes. I wish there was an
> option to place the get/set as the last member BEFORE a class declaration.

If I hover over a new field in a class (one which I just typed in), I
get a quick fix "create getter and setter". This getter/setter creator
by default wants to place the new methods after the last method, yet
before the class.

I opened an enhancement bug for this behaviour:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=160344

Yet the quick fix has that already done.

--
Wojtek :-)
Re: Persist Getter/Setter Insertion Point [message #263430 is a reply to message #263419] Wed, 20 August 2008 02:58 Go to previous messageGo to next message
Dobes Vandermeer is currently offline Dobes VandermeerFriend
Messages: 26
Registered: July 2009
Junior Member
On Tue, 19 Aug 2008 15:35:48 -0700, Wojtek <nowhere@a.com> wrote:

> Dobes Vandermeer wrote :
>> Wojtek wrote:
>>
>>> Daniel Megert wrote :
>>>> Wojtek wrote:
>>>>> Daniel Megert wrote :
>>>>>> Wojtek wrote:
>>>>>>> I just installed 3.4
>>>>>>>
>>>>>>> The Generate Getter and Setter Insertion Point does not persist
>>>>>>> between calls. I prefer "Last Member", but now this choice always
>>>>>>> changes.
>>>>>>>
>>>>>> This works for me i.e. it keeps my previous settings.
>>>>>
>>>>> And in previous versions it did that for me. Now it always wants to
>>>>> put it right after whichever field/method I happen to rest the
>>>>> cursor on.
>>>>>
>>>>> So I constantly need to scroll the list to the top entry - 1 to get
>>>>> Last Member.
>>>> Please file a bug with steps to reproduce against JDT UI.
>>
>> I'm having the same problem, did you ever come up with a fix? Or a bug
>> report?
>
> I need to switch my email over to where I am now, so I will create a bug
> tommorrow.
>
> However I also have another problem in that the column widths of the
> Problem view are not being persisted. This may be related. How are your
> column widths?

I haven't noticed any problems in the problems view (other than the
obvious ones, haha), but I don't look at the problems view much; I rely on
the file/line markers.
Re: Persist Getter/Setter Insertion Point [message #263463 is a reply to message #263389] Wed, 20 August 2008 15:28 Go to previous message
Eclipse UserFriend
Originally posted by: nowhere.a.com

Daniel Megert wrote :
> Dobes Vandermeer wrote:
>> Wojtek wrote:
>>
>>> Daniel Megert wrote :
>>>> Wojtek wrote:
>>>>> Daniel Megert wrote :
>>>>>> Wojtek wrote:
>>>>>>> I just installed 3.4
>>>>>>>
>>>>>>> The Generate Getter and Setter Insertion Point does not persist
>>>>>>> between calls. I prefer "Last Member", but now this choice always
>>>>>>> changes.
>>>>>>>
>>>>>> This works for me i.e. it keeps my previous settings.
>>>>>
>>>>> And in previous versions it did that for me. Now it always wants to put
>>>>> it right after whichever field/method I happen to rest the cursor on.
>>>>>
>>>>> So I constantly need to scroll the list to the top entry - 1 to get Last
>>>>> Member.
>>>> Please file a bug with steps to reproduce against JDT UI.
>>
>> I'm having the same problem, did you ever come up with a fix? Or a bug
>> report?
> No bug and hence no fix.

Bug 244716

--
Wojtek :-)
Previous Topic:Java editor deletes text after pause of typing
Next Topic:ganymede with webtools
Goto Forum:
  


Current Time: Tue Apr 16 19:56:03 GMT 2024

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

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

Back to the top