Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » CRTL + . and the next error / warning
CRTL + . and the next error / warning [message #261078] Wed, 08 July 2009 13:50 Go to next message
Eclipse UserFriend
Hello,

Via "CTRL + ." it is possible to go to the next Error / Warning.

Is it possible to change this? I would like to have the following behavior:

1.) If I have errors then "CTRL + ." should go to the next error
2.) If I have no errors then "CTRL + ." should go to the next warning

Or if this is not possible I would like to get warnings ignored by "CTRL
+ .".

Do you have a suggestions how to do this?

Best regards, Lars
Re: CRTL + . and the next error / warning [message #261084 is a reply to message #261078] Thu, 09 July 2009 01:44 Go to previous messageGo to next message
Eclipse UserFriend
Lars Vogel wrote:
> Hello,
>
> Via "CTRL + ." it is possible to go to the next Error / Warning.
>
> Is it possible to change this? I would like to have the following
> behavior:
>
> 1.) If I have errors then "CTRL + ." should go to the next error
> 2.) If I have no errors then "CTRL + ." should go to the next warning
>
> Or if this is not possible I would like to get warnings ignored by
> "CTRL + .".
Yes, you can select which annotations are visited. Either via drop down
in the toolbar or in 3.5 on the General > Editors > Text Editors >
Annotations preference page.

Dani
>
> Do you have a suggestions how to do this?
>
> Best regards, Lars
Re: CRTL + . and the next error / warning [message #261088 is a reply to message #261084] Thu, 09 July 2009 04:17 Go to previous messageGo to next message
Eclipse UserFriend
Hi Daniel,

thank you, this is already very helpful.

I tried to find the handler which is implementing this behavior. I see
the command is "org.eclipse.ui.navigate.next" and I see that
"org.eclipse.ui.editors" contains a action which uses
" org.eclipse.ui.internal.editors.text.NextPulldownActionDeleg ate " but if
I try to debug this method the debugger does not stop at this action.

I'm using Eclipse 3.5.

Can you point me in the right direction?

Best regards, Lars


Daniel Megert wrote:
> Lars Vogel wrote:
>> Hello,
>>
>> Via "CTRL + ." it is possible to go to the next Error / Warning.
>>
>> Is it possible to change this? I would like to have the following
>> behavior:
>>
>> 1.) If I have errors then "CTRL + ." should go to the next error
>> 2.) If I have no errors then "CTRL + ." should go to the next warning
>>
>> Or if this is not possible I would like to get warnings ignored by
>> "CTRL + .".
> Yes, you can select which annotations are visited. Either via drop down
> in the toolbar or in 3.5 on the General > Editors > Text Editors >
> Annotations preference page.
>
> Dani
>>
>> Do you have a suggestions how to do this?
>>
>> Best regards, Lars
Re: CRTL + . and the next error / warning [message #261102 is a reply to message #261088] Thu, 09 July 2009 06:35 Go to previous messageGo to next message
Eclipse UserFriend
Lars Vogel wrote:
> Hi Daniel,
>
> thank you, this is already very helpful.
>
> I tried to find the handler which is implementing this behavior. I see
> the command is "org.eclipse.ui.navigate.next" and I see that
> "org.eclipse.ui.editors" contains a action which uses
> " org.eclipse.ui.internal.editors.text.NextPulldownActionDeleg ate " but
> if I try to debug this method the debugger does not stop at this action.
>
> I'm using Eclipse 3.5.
>
> Can you point me in the right direction?
Take a look at:

org.eclipse.ui.texteditor.AbstractTextEditor.isNavigationTar get(Annotation)

Dani
>
> Best regards, Lars
>
>
> Daniel Megert wrote:
>> Lars Vogel wrote:
>>> Hello,
>>>
>>> Via "CTRL + ." it is possible to go to the next Error / Warning.
>>>
>>> Is it possible to change this? I would like to have the following
>>> behavior:
>>>
>>> 1.) If I have errors then "CTRL + ." should go to the next error
>>> 2.) If I have no errors then "CTRL + ." should go to the next warning
>>>
>>> Or if this is not possible I would like to get warnings ignored by
>>> "CTRL + .".
>> Yes, you can select which annotations are visited. Either via drop
>> down in the toolbar or in 3.5 on the General > Editors > Text Editors
>> > Annotations preference page.
>>
>> Dani
>>>
>>> Do you have a suggestions how to do this?
>>>
>>> Best regards, Lars
Re: CRTL + . and the next error / warning [message #261114 is a reply to message #261102] Thu, 09 July 2009 18:38 Go to previous message
Eclipse UserFriend
Thank you
Previous Topic:UI Testing strategy?
Next Topic:Merge results of annotation processor (AbstractProcessor, AnnotationProcessor)
Goto Forum:
  


Current Time: Sat Jun 21 05:29:04 EDT 2025

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

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

Back to the top