IDE icons

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

IDE icons

3,199件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by JohnR on Tue Oct 26 06:13:13 MST 2010
Hi,

Does anyone know what the small blue superscript icons mean that sometimes (?) appear above the main icons in the Project window? The ones I can see now are 'C' and '<>'. There seems to be no mention of them in the IDE documentation?

JohnR.
0 件の賞賛
返信
8 返答(返信)

3,185件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by JohnR on Tue Oct 26 09:58:56 MST 2010
Thanks again.

JohnR
0 件の賞賛
返信

3,185件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CodeRedSupport on Tue Oct 26 09:23:19 MST 2010
Select the file you had excluded in project explorer. Open up the  [I]Exclude from Build[/I] menu entry. Untick the boxes. Click OK. File now will be included in the build again.
0 件の賞賛
返信

3,185件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by JohnR on Tue Oct 26 09:04:01 MST 2010
Your last message has reminded me of something that has vexed me in the past. If a file has been excluded from a project, as you show, there does not seem to be anyway of putting it back later if needed. I have resorted to adding a new file and then copying the contents of the excluded file to the new one.

This can happen if there is a problem with, say a function in a file, then in the file that contains to call to that file, I can comment out the call, carry on testing and then when I have figured things out, would like to restore the first file.

John.
0 件の賞賛
返信

3,184件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CodeRedSupport on Tue Oct 26 08:47:43 MST 2010
Yes, if you exclude an individual file, then this will subtly change the [I]c[/I] icon used to indicate that this is a source file. Thus in the below screenshot, main.c has been excluded from the build...

[IMG]http://knowledgebase.nxp.com/attachment.php?attachmentid=222&stc=1&d=1288108067[/IMG]
0 件の賞賛
返信

3,184件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by JohnR on Tue Oct 26 08:32:02 MST 2010
Thanks again.

A little while ago I had excluded a file from the build process in one project- maybe at that time all the other projects/folders/files were marked with the 'C' icon to indicate that they were not excluded??

JohnR
0 件の賞賛
返信

3,184件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CodeRedSupport on Tue Oct 26 08:03:42 MST 2010
This one...?

[IMG]http://knowledgebase.nxp.com/attachment.php?attachmentid=221&stc=1&d=1288105134[/IMG]

The c indicates that you have created the folder as a "Source Folder" rather than a "Folder". The main difference between the two is that typically a "Source Folder" is included in all builds, where a normal folder is not (via the [I]Exclude from Build[/I] option).

However Eclipse does not seem to be 100% consistant with this "Source Folder" [I]c[/I] icon. Thus some folders, like the default [I]src[/I] one are not excluded from the build, but do not display with the [I]c[/I] in their icon.

By the way, these icons are known as "Label decorations" in Eclipse-speak - google this phrase for more information.

Regards,
CodeRedSupport
0 件の賞賛
返信

3,184件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by JohnR on Tue Oct 26 07:27:37 MST 2010
Thanks for the link - that explains the '<>' icon but what does the  superscript 'C' icon applied to some directories mean? I thought it might have meant that a directory contained files that had altered properties (<>) but this does not seem always to be the case.

John.
0 件の賞賛
返信

3,184件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CodeRedSupport on Tue Oct 26 06:20:58 MST 2010
I think you mean this...

[IMG]http://knowledgebase.nxp.com/attachment.php?attachmentid=220&stc=1&d=1288099166[/IMG]

If so, then the <> indicates that per-file properties have been applied to, in this case, cr_startup_lpc13.c.

You can find more information on per-file properties at:

http://support.code-red-tech.com/CodeRedWiki/PerFileProperties

Regards,
CodeRedSupport
0 件の賞賛
返信