How to hide .o files from the "C/C++ Projects" view in Eclipse 3.2 / CDT 3.1
- From the "C/C++ Projects" window, click the down arrow in the top right corner, and select "Filters..."
- Check the "Name filter patterns (matching names will be hidden):" checkbox and type "
*.o
" into the textbox. Click "OK". - Now your .o files are hidden from view.
Comments
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.
issue still there with Juno and CDT 8.1
Any workaround?
Hi Paul, When you click on the downward pointing chevron in the "Project Explorer" window, the closest option you are finding is "Customize View", thats fine , you can use that as well. When you select this, eclipse displays a list of filters to apply. When you click on "Object Files" (to hide these objects), and click on OK, the filter must work, I have just done mine and its working