Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Mylyn » Folding in java classes
Folding in java classes [message #21665] Sun, 12 August 2007 07:36 Go to next message
Dave Syer is currently offline Dave SyerFriend
Messages: 95
Registered: July 2009
Member
I actually don't like the folding of Java method implementations, and the
default short cut key to unfold (CTRL-Num Pad *) is hard to reach and to
remember. I have enabled folding for header comments and imports, but not
for members, but everything still seems to be folded by default (I assume
Mylyn is responsible for this). Can I switch it off?
Re: Folding in java classes [message #22111 is a reply to message #21665] Fri, 17 August 2007 01:06 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: rob.elves.eclipse.org

There should be a button in the workbench toolbar that looks similar to
the focus on Workweek button in the Task List. That button
enables/disables auto folding in the editors.

-Rob

Dave Syer wrote:
> I actually don't like the folding of Java method implementations, and the
> default short cut key to unfold (CTRL-Num Pad *) is hard to reach and to
> remember. I have enabled folding for header comments and imports, but not
> for members, but everything still seems to be folded by default (I assume
> Mylyn is responsible for this). Can I switch it off?
>
>
Re: Folding in java classes [message #22859 is a reply to message #22111] Sat, 18 August 2007 16:35 Go to previous messageGo to next message
Dave Syer is currently offline Dave SyerFriend
Messages: 95
Registered: July 2009
Member
Stupid question: what's the workbench toolbar?

"Robert Elves" <rob.elves@eclipse.org> wrote in message
news:fa2sba$crr$1@build.eclipse.org...
> There should be a button in the workbench toolbar that looks similar to
> the focus on Workweek button in the Task List. That button
> enables/disables auto folding in the editors.
>
> -Rob
>
> Dave Syer wrote:
>> I actually don't like the folding of Java method implementations, and the
>> default short cut key to unfold (CTRL-Num Pad *) is hard to reach and to
>> remember. I have enabled folding for header comments and imports, but
>> not for members, but everything still seems to be folded by default (I
>> assume Mylyn is responsible for this). Can I switch it off?
Re: Folding in java classes [message #23126 is a reply to message #22859] Mon, 20 August 2007 18:22 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: rob.elves.eclipse.org

The workbench toolbar or window toolbar are the buttons located just
below the File, Edit.... menu. When you have a source editor open the
folding button should be visible in the workbench window toolbar.

-Rob


Dave Syer wrote:
> Stupid question: what's the workbench toolbar?
>
> "Robert Elves" <rob.elves@eclipse.org> wrote in message
> news:fa2sba$crr$1@build.eclipse.org...
>> There should be a button in the workbench toolbar that looks similar to
>> the focus on Workweek button in the Task List. That button
>> enables/disables auto folding in the editors.
>>
>> -Rob
>>
>> Dave Syer wrote:
>>> I actually don't like the folding of Java method implementations, and the
>>> default short cut key to unfold (CTRL-Num Pad *) is hard to reach and to
>>> remember. I have enabled folding for header comments and imports, but
>>> not for members, but everything still seems to be folded by default (I
>>> assume Mylyn is responsible for this). Can I switch it off?
>
>
Re: Folding in java classes [message #23259 is a reply to message #23126] Mon, 20 August 2007 21:38 Go to previous messageGo to next message
Dave Syer is currently offline Dave SyerFriend
Messages: 95
Registered: July 2009
Member
Awesome, thanks.

"Robert Elves" <rob.elves@eclipse.org> wrote in message
news:facm4k$83v$1@build.eclipse.org...
> The workbench toolbar or window toolbar are the buttons located just below
> the File, Edit.... menu. When you have a source editor open the folding
> button should be visible in the workbench window toolbar.
>
> -Rob
>
>
> Dave Syer wrote:
>> Stupid question: what's the workbench toolbar?
>>
>> "Robert Elves" <rob.elves@eclipse.org> wrote in message
>> news:fa2sba$crr$1@build.eclipse.org...
>>> There should be a button in the workbench toolbar that looks similar to
>>> the focus on Workweek button in the Task List. That button
>>> enables/disables auto folding in the editors.
>>>
>>> -Rob
>>>
>>> Dave Syer wrote:
>>>> I actually don't like the folding of Java method implementations, and
>>>> the default short cut key to unfold (CTRL-Num Pad *) is hard to reach
>>>> and to remember. I have enabled folding for header comments and
>>>> imports, but not for members, but everything still seems to be folded
>>>> by default (I assume Mylyn is responsible for this). Can I switch it
>>>> off?
>>
Re: Folding in java classes [message #23780 is a reply to message #21665] Mon, 27 August 2007 05:26 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: beatmik.acm.org

David: note that if the active folding is working properly you should
never need to manually unfold, because as soon as you click on the
method signature it will unfold for you. If this is not the case please
file a bug.

Cheers,

Mik

Dave Syer wrote:
> I actually don't like the folding of Java method implementations, and the
> default short cut key to unfold (CTRL-Num Pad *) is hard to reach and to
> remember. I have enabled folding for header comments and imports, but not
> for members, but everything still seems to be folded by default (I assume
> Mylyn is responsible for this). Can I switch it off?
Re: Folding in java classes [message #24129 is a reply to message #23780] Mon, 27 August 2007 15:57 Go to previous messageGo to next message
Dave Syer is currently offline Dave SyerFriend
Messages: 95
Registered: July 2009
Member
I think that works. But I still don't like filding because I use the "Mark
Occurrences" feature of the Java editor quite a lot and it doesn't mark any
occurrences in folded elements. I would say it is a problem with the editor
not with Mylyn, but while it doesn't work, Mylyn (because it prefers
folding) is in the firing line.

"Mik Kersten" <beatmik@acm.org> wrote in message
news:fatn9n$h9h$1@build.eclipse.org...
> David: note that if the active folding is working properly you should
> never need to manually unfold, because as soon as you click on the method
> signature it will unfold for you. If this is not the case please file a
> bug.
>
> Cheers,
>
> Mik
>
> Dave Syer wrote:
>> I actually don't like the folding of Java method implementations, and the
>> default short cut key to unfold (CTRL-Num Pad *) is hard to reach and to
>> remember. I have enabled folding for header comments and imports, but
>> not for members, but everything still seems to be folded by default (I
>> assume Mylyn is responsible for this). Can I switch it off?
Re: Folding in java classes [message #26027 is a reply to message #24129] Thu, 06 September 2007 21:51 Go to previous message
Eclipse UserFriend
Originally posted by: beatmik.acm.org

Yes, the annotations being hidden by folding is an annoying problem with
the Eclipse text editor, even without Mylyn. The more folding that's
happening, the worse it is, which is why Mylyn exacerbates this problem.
Please consider voting for the corresponding Platform/Text bug and
commenting about the problem you are experiencing:

63692: [projection] Annotations in folded region are not rendered in
overview ruler
https://bugs.eclipse.org/bugs/show_bug.cgi?id=63692

Mik

Dave Syer wrote:
> I think that works. But I still don't like filding because I use the "Mark
> Occurrences" feature of the Java editor quite a lot and it doesn't mark any
> occurrences in folded elements. I would say it is a problem with the editor
> not with Mylyn, but while it doesn't work, Mylyn (because it prefers
> folding) is in the firing line.
Re: Folding in java classes [message #577206 is a reply to message #21665] Fri, 17 August 2007 01:06 Go to previous message
Robert Elves is currently offline Robert ElvesFriend
Messages: 87
Registered: July 2009
Member
There should be a button in the workbench toolbar that looks similar to
the focus on Workweek button in the Task List. That button
enables/disables auto folding in the editors.

-Rob

Dave Syer wrote:
> I actually don't like the folding of Java method implementations, and the
> default short cut key to unfold (CTRL-Num Pad *) is hard to reach and to
> remember. I have enabled folding for header comments and imports, but not
> for members, but everything still seems to be folded by default (I assume
> Mylyn is responsible for this). Can I switch it off?
>
>
Re: Folding in java classes [message #577554 is a reply to message #22111] Sat, 18 August 2007 16:35 Go to previous message
Dave Syer is currently offline Dave SyerFriend
Messages: 95
Registered: July 2009
Member
Stupid question: what's the workbench toolbar?

"Robert Elves" <rob.elves@eclipse.org> wrote in message
news:fa2sba$crr$1@build.eclipse.org...
> There should be a button in the workbench toolbar that looks similar to
> the focus on Workweek button in the Task List. That button
> enables/disables auto folding in the editors.
>
> -Rob
>
> Dave Syer wrote:
>> I actually don't like the folding of Java method implementations, and the
>> default short cut key to unfold (CTRL-Num Pad *) is hard to reach and to
>> remember. I have enabled folding for header comments and imports, but
>> not for members, but everything still seems to be folded by default (I
>> assume Mylyn is responsible for this). Can I switch it off?
Re: Folding in java classes [message #577768 is a reply to message #22859] Mon, 20 August 2007 18:22 Go to previous message
Robert Elves is currently offline Robert ElvesFriend
Messages: 87
Registered: July 2009
Member
The workbench toolbar or window toolbar are the buttons located just
below the File, Edit.... menu. When you have a source editor open the
folding button should be visible in the workbench window toolbar.

-Rob


Dave Syer wrote:
> Stupid question: what's the workbench toolbar?
>
> "Robert Elves" <rob.elves@eclipse.org> wrote in message
> news:fa2sba$crr$1@build.eclipse.org...
>> There should be a button in the workbench toolbar that looks similar to
>> the focus on Workweek button in the Task List. That button
>> enables/disables auto folding in the editors.
>>
>> -Rob
>>
>> Dave Syer wrote:
>>> I actually don't like the folding of Java method implementations, and the
>>> default short cut key to unfold (CTRL-Num Pad *) is hard to reach and to
>>> remember. I have enabled folding for header comments and imports, but
>>> not for members, but everything still seems to be folded by default (I
>>> assume Mylyn is responsible for this). Can I switch it off?
>
>
Re: Folding in java classes [message #577906 is a reply to message #23126] Mon, 20 August 2007 21:38 Go to previous message
Dave Syer is currently offline Dave SyerFriend
Messages: 95
Registered: July 2009
Member
Awesome, thanks.

"Robert Elves" <rob.elves@eclipse.org> wrote in message
news:facm4k$83v$1@build.eclipse.org...
> The workbench toolbar or window toolbar are the buttons located just below
> the File, Edit.... menu. When you have a source editor open the folding
> button should be visible in the workbench window toolbar.
>
> -Rob
>
>
> Dave Syer wrote:
>> Stupid question: what's the workbench toolbar?
>>
>> "Robert Elves" <rob.elves@eclipse.org> wrote in message
>> news:fa2sba$crr$1@build.eclipse.org...
>>> There should be a button in the workbench toolbar that looks similar to
>>> the focus on Workweek button in the Task List. That button
>>> enables/disables auto folding in the editors.
>>>
>>> -Rob
>>>
>>> Dave Syer wrote:
>>>> I actually don't like the folding of Java method implementations, and
>>>> the default short cut key to unfold (CTRL-Num Pad *) is hard to reach
>>>> and to remember. I have enabled folding for header comments and
>>>> imports, but not for members, but everything still seems to be folded
>>>> by default (I assume Mylyn is responsible for this). Can I switch it
>>>> off?
>>
Re: Folding in java classes [message #578304 is a reply to message #21665] Mon, 27 August 2007 05:26 Go to previous message
Mik Kersten is currently offline Mik KerstenFriend
Messages: 287
Registered: July 2009
Senior Member
David: note that if the active folding is working properly you should
never need to manually unfold, because as soon as you click on the
method signature it will unfold for you. If this is not the case please
file a bug.

Cheers,

Mik

Dave Syer wrote:
> I actually don't like the folding of Java method implementations, and the
> default short cut key to unfold (CTRL-Num Pad *) is hard to reach and to
> remember. I have enabled folding for header comments and imports, but not
> for members, but everything still seems to be folded by default (I assume
> Mylyn is responsible for this). Can I switch it off?
Re: Folding in java classes [message #578465 is a reply to message #23780] Mon, 27 August 2007 15:57 Go to previous message
Dave Syer is currently offline Dave SyerFriend
Messages: 95
Registered: July 2009
Member
I think that works. But I still don't like filding because I use the "Mark
Occurrences" feature of the Java editor quite a lot and it doesn't mark any
occurrences in folded elements. I would say it is a problem with the editor
not with Mylyn, but while it doesn't work, Mylyn (because it prefers
folding) is in the firing line.

"Mik Kersten" <beatmik@acm.org> wrote in message
news:fatn9n$h9h$1@build.eclipse.org...
> David: note that if the active folding is working properly you should
> never need to manually unfold, because as soon as you click on the method
> signature it will unfold for you. If this is not the case please file a
> bug.
>
> Cheers,
>
> Mik
>
> Dave Syer wrote:
>> I actually don't like the folding of Java method implementations, and the
>> default short cut key to unfold (CTRL-Num Pad *) is hard to reach and to
>> remember. I have enabled folding for header comments and imports, but
>> not for members, but everything still seems to be folded by default (I
>> assume Mylyn is responsible for this). Can I switch it off?
Re: Folding in java classes [message #579884 is a reply to message #24129] Thu, 06 September 2007 21:51 Go to previous message
Mik Kersten is currently offline Mik KerstenFriend
Messages: 287
Registered: July 2009
Senior Member
Yes, the annotations being hidden by folding is an annoying problem with
the Eclipse text editor, even without Mylyn. The more folding that's
happening, the worse it is, which is why Mylyn exacerbates this problem.
Please consider voting for the corresponding Platform/Text bug and
commenting about the problem you are experiencing:

63692: [projection] Annotations in folded region are not rendered in
overview ruler
https://bugs.eclipse.org/bugs/show_bug.cgi?id=63692

Mik

Dave Syer wrote:
> I think that works. But I still don't like filding because I use the "Mark
> Occurrences" feature of the Java editor quite a lot and it doesn't mark any
> occurrences in folded elements. I would say it is a problem with the editor
> not with Mylyn, but while it doesn't work, Mylyn (because it prefers
> folding) is in the firing line.
Previous Topic:Bugzilla URL attachments render as text
Next Topic:Closed files disappear from context !?!
Goto Forum:
  


Current Time: Thu Apr 25 23:23:52 GMT 2024

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

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

Back to the top