Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Why some of my source files are greyed out
Why some of my source files are greyed out [message #1830775] Mon, 03 August 2020 17:01 Go to next message
Huzaifa Asif is currently offline Huzaifa AsifFriend
Messages: 1
Registered: August 2020
Junior Member
So I'm not sure if it has to do with the version of the eclipse that I'm using but some files are totally greyed out (no syntax coloring) and can't even get to the definition of a certain variable/function by hovering over it while pressing CMD key (mac), which is super annoying.
Does anyone know what might be wrong?

Re: Why some of my source files are greyed out [message #1830966 is a reply to message #1830775] Fri, 07 August 2020 12:57 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4493
Registered: July 2009
Senior Member

When you right-click on a problematic file in the Project Explorer and expand the Open With menu, which editor is set to open?

_
Nitin Dahyabhai
Eclipse Web Tools Platform
Re: Why some of my source files are greyed out [message #1831158 is a reply to message #1830775] Wed, 12 August 2020 14:54 Go to previous messageGo to next message
Jenny Eddy is currently offline Jenny EddyFriend
Messages: 1
Registered: August 2020
Junior Member
because you may click on the error files and try to open the file
Re: Why some of my source files are greyed out [message #1831520 is a reply to message #1831158] Fri, 21 August 2020 16:44 Go to previous messageGo to next message
Brendan McDonnell is currently offline Brendan McDonnellFriend
Messages: 2
Registered: August 2020
Junior Member
Are the greyed-out files excluded from the current build configuration?

https://mcuoneclipse.com/2014/07/22/exclude-source-files-from-build-in-eclipse/
Re: Why some of my source files are greyed out [message #1832044 is a reply to message #1831520] Mon, 07 September 2020 11:22 Go to previous messageGo to next message
Yuga P is currently offline Yuga PFriend
Messages: 3
Registered: September 2020
Junior Member
the grey out file means the file is excluded from the build.
Re: Why some of my source files are greyed out [message #1832178 is a reply to message #1832044] Fri, 11 September 2020 01:42 Go to previous messageGo to next message
Eddie Izzard is currently offline Eddie IzzardFriend
Messages: 2
Registered: September 2020
Junior Member
That means the file is excluded from the build.

Re: Why some of my source files are greyed out [message #1833197 is a reply to message #1832178] Tue, 06 October 2020 11:58 Go to previous message
Mark Smith is currently offline Mark SmithFriend
Messages: 82
Registered: September 2020
Member
The greyed/striked out file means the file is excluded from the build.

Previous Topic:Autotools -> Managed project converter
Next Topic:2020-06 CDT editor is broken
Goto Forum:
  


Current Time: Thu Oct 10 02:06:48 GMT 2024

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

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

Back to the top