Skip to main content
RLein.1
Associate III
March 30, 2025
Solved

Linked Files

  • March 30, 2025
  • 2 replies
  • 1217 views

I'm working on a project that will be using shared code files from outside the project.  I do not want to copy them, instead I want to link to them.  I discovered how to do this and it works well.  Since I don't want to make any changes to any of the linked files, I would like for the IDE to somehow make easy for me to know that the file I am currently viewing is a linked file.  I have not been able to find a way to do this with CubeIDE.  Does anyone know of a way?  Thanks

Best answer by Pavel A.

Hi @RLein.1 Yes, I think this belongs to the general Eclipse features. If you know Java you can develop this yourself, or sponsor development of add-in, optionally offer it via the "marketplace".

Eclipse is complicated and takes time to get used to it.

 

2 replies

Pavel A.
Super User
March 30, 2025

I would like for the IDE to somehow make easy for me to know that the file I am currently viewing is a linked file. 

The IDE indicates linked files by small arrow overlays on the icons:

PavelA_0-1743330856871.png

The resolved location of linked file can be seen in Properties-> resource.

 

RLein.1
RLein.1Author
Associate III
March 31, 2025

Thanks for replying Pavel.  Unfortunately, my IDE is not showing the yellow: 

RLein1_0-1743445913059.png

I'm using revision 1.18.0 of the IDE.

Karl Yamashita
Principal
March 31, 2025

@Pavel A.  was highlighting the little squares with the arrow pointing to the upper left corner.

 

KarlYamashita_0-1743446418460.png

 

If a reply has proven helpful, click on Accept as Solution so that it'll show at top of the post.CAN Jammer an open source CAN bus hacking toolCANableV3 Open Source
Pavel A.
Super User
April 1, 2025

To find the active file in the editor in the Project manager view: right click anywhere in the editor, Show in -> Project explorer.

Show in -> System explorer will open the Windows explorer (or Nautilus, etc. in Linux) and focus on the file on the disk.