Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » problems view
problems view [message #221221] Tue, 05 August 2008 21:39 Go to next message
Eclipse UserFriend
Originally posted by: noah.roberts.eng-software.com

Is there any way to get the problems view to just show me problems in
the project I just built? I'm trying to port things over from VS and
there's just a LOT of problems associated with that. It would be MUCH
easier if I could filter them down just a tad.
Re: problems view [message #221229 is a reply to message #221221] Tue, 05 August 2008 23:06 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: ag.quoininc.com

Noah Roberts wrote:

> Is there any way to get the problems view to just show me problems in
> the project I just built? I'm trying to port things over from VS and
> there's just a LOT of problems associated with that. It would be MUCH
> easier if I could filter them down just a tad.

One way which I use quite a bit is - in view menu (click on little
triangle pointing down - on the right side of the view) enable
Show>Warnings on selection. After that, select a folder in Project
explorer. You gonna see only problems for this folder. You can also
"Configure contents" in the view menu to your liking.

Andrew
Re: problems view [message #221237 is a reply to message #221229] Wed, 06 August 2008 05:06 Go to previous messageGo to next message
Michael Schulte is currently offline Michael SchulteFriend
Messages: 38
Registered: July 2009
Member
That's what I would have suggested...
(actually this is an eclipse.workbench issue, not eclipse.cdt)

additionally:
in "Configure Contents" - now depending if you have Eclipse Ganymede or
an earlier version:
in Ganymede you'll have to check the Boxes on the top left as well (for
which configuration) - and those boxes "where severity is" and the
problem types themselves, for which this settings apply to.

In all versions then (Europa and before):
check the radio button: "On selected element and its children" (I always
wonderer, why this is not the default option!)

Afterwards when you click on the resource tree, you'll only get the
problems from the subtree or the element you selected. When editing a
file you'll only get those problems shown from that file.

Michael


> Noah Roberts wrote:
>
>> Is there any way to get the problems view to just show me problems in
>> the project I just built? I'm trying to port things over from VS and
>> there's just a LOT of problems associated with that. It would be MUCH
>> easier if I could filter them down just a tad.
>
> One way which I use quite a bit is - in view menu (click on little
> triangle pointing down - on the right side of the view) enable
> Show>Warnings on selection. After that, select a folder in Project
> explorer. You gonna see only problems for this folder. You can also
> "Configure contents" in the view menu to your liking.
>
> Andrew
>
Re: problems view [message #221322 is a reply to message #221237] Wed, 06 August 2008 16:04 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: ag.quoininc.com

Michael Schulte wrote:

> That's what I would have suggested...
> (actually this is an eclipse.workbench issue, not eclipse.cdt)

> In all versions then (Europa and before):
> check the radio button: "On selected element and its children" (I always
> wonderer, why this is not the default option!)

Despite making the suggestion, I actually find this option a bit
inconvinient to use in our environment. What I really want is to see all
errors and warnings for a given subfolder all the time. Working in editor
selects just one file and hides away many errors I am interested in from
the view. There is an option to define working set for the folder, but I
have to switch to new different folder a way too often to define working
sets for each one of them. So I'd rather stick to the default being the
default in future.

Andrew

> Michael


>> Noah Roberts wrote:
>>
>>> Is there any way to get the problems view to just show me problems in
>>> the project I just built? I'm trying to port things over from VS and
>>> there's just a LOT of problems associated with that. It would be MUCH
>>> easier if I could filter them down just a tad.
>>
>> One way which I use quite a bit is - in view menu (click on little
>> triangle pointing down - on the right side of the view) enable
>> Show>Warnings on selection. After that, select a folder in Project
>> explorer. You gonna see only problems for this folder. You can also
>> "Configure contents" in the view menu to your liking.
>>
>> Andrew
>>
Re: problems view [message #221330 is a reply to message #221229] Wed, 06 August 2008 16:11 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: noah.roberts.eng-software.com

Andrew Gvozdev wrote:
> Noah Roberts wrote:
>
>> Is there any way to get the problems view to just show me problems in
>> the project I just built? I'm trying to port things over from VS and
>> there's just a LOT of problems associated with that. It would be MUCH
>> easier if I could filter them down just a tad.
>
> One way which I use quite a bit is - in view menu (click on little
> triangle pointing down - on the right side of the view) enable
> Show>Warnings on selection. After that, select a folder in Project
> explorer. You gonna see only problems for this folder. You can also
> "Configure contents" in the view menu to your liking.
>
> Andrew
>

Heh, I'd never noticed that menu. I clicked everything but those
buttons because they look too much like windows boxes. Never thought to
expect a menu in one.

Thanks. This will give me some stuff to play with.
Re: problems view [message #221338 is a reply to message #221229] Wed, 06 August 2008 16:15 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: noah.roberts.eng-software.com

Andrew Gvozdev wrote:
> Noah Roberts wrote:
>
>> Is there any way to get the problems view to just show me problems in
>> the project I just built? I'm trying to port things over from VS and
>> there's just a LOT of problems associated with that. It would be MUCH
>> easier if I could filter them down just a tad.
>
> One way which I use quite a bit is - in view menu (click on little
> triangle pointing down - on the right side of the view) enable
> Show>Warnings on selection. After that, select a folder in Project
> explorer. You gonna see only problems for this folder.

OK. That works but I only see the warnings. Is there a way to make this
exact behavior with errors as well?
Re: problems view [message #221344 is a reply to message #221338] Wed, 06 August 2008 16:18 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: noah.roberts.eng-software.com

Noah Roberts wrote:
> Andrew Gvozdev wrote:
>> Noah Roberts wrote:
>>
>>> Is there any way to get the problems view to just show me problems in
>>> the project I just built? I'm trying to port things over from VS and
>>> there's just a LOT of problems associated with that. It would be
>>> MUCH easier if I could filter them down just a tad.
>>
>> One way which I use quite a bit is - in view menu (click on little
>> triangle pointing down - on the right side of the view) enable
>> Show>Warnings on selection. After that, select a folder in Project
>> explorer. You gonna see only problems for this folder.
>
> OK. That works but I only see the warnings. Is there a way to make this
> exact behavior with errors as well?

Got it. I made a new filter and checked off "On any element in same
project" as well as checking off all severity boxes.
Re: problems view [message #221352 is a reply to message #221322] Wed, 06 August 2008 16:40 Go to previous message
Michael Schulte is currently offline Michael SchulteFriend
Messages: 38
Registered: July 2009
Member
> inconvinient to use in our environment. What I really want is to see all
> errors and warnings for a given subfolder all the time. Working in
> editor selects just one file and hides away many errors I am interested
> in from the view. There is an option to define working set for the
> folder, but I have to switch to new different folder a way too often to
> define working sets for each one of them. So I'd rather stick to the
> default being the default in future.

Hm - yeah - all right. It's a bit odd (designed) behavior, that the
selection does not only depend on which branch you have selected in the
resource tree, but also on editor activity. It would be better, if it
worked as described in the setting "On the selected resource and its
children" and not "On the selected resource and its children or for the
active editor" which it is in reality. The setting as it is could be
achieved by linking the editor to the resource tree anyway.

On the other hand it's a bit strange (for me) to see errors that are not
from the currently edited file, but maybe even from another project.
Previous Topic:Default file extensions for C++ classes
Next Topic:Re: CDT indexer has no project #defines?
Goto Forum:
  


Current Time: Sat Nov 02 22:11:39 GMT 2024

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

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

Back to the top