Saltycrane logo

SaltyCrane Blog

Notes on Python, Django, and web development on Ubuntu Linux

    

How to hide .o files from the "C/C++ Projects" view in Eclipse 3.2 / CDT 3.1

I got this tip from http://www.aspectprogrammer.org/blogs/adrian/2006/02/tips_for_using.html
  1. From the "C/C++ Projects" window, click the down arrow in the top right corner, and select "Filters..."
  2. Check the "Name filter patterns (matching names will be hidden):" checkbox and type "*.o" into the textbox. Click "OK".
  3. Now your .o files are hidden from view.

1 Comment — feed icon Comments feed for this post


#1 Paul commented on 2011-02-16:

Thanks for the posting. I've just started using eclipse, having come from an emacs background.

But... it doesn't work.

When I click on the downward pointing chevron in the "Project Explorer" window, the closest option I can find is "Customize View". When I select this, eclipse displays a list of filters to apply. When I click on "Object Files" (to hide these objects), and click on OK, the filter does not work.

Also, it is not possible to enter customized filers, such as *~ for emacs backup files.

Post a comment

Required
Required, but not displayed
Optional

Format using Markdown. (No HTML.)
  • Code blocks: prefix each line by at least 4 spaces or 1 tab (and a blank line before and after)
  • Code span: surround with backticks
  • Blockquotes: prefix lines to be quoted with >
  • Links: <URL>
  • Links w/ description: [description](URL)
Created with Django | Hosted by Linode