Linked Files
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-03-30 12:13 AM
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
- Labels:
-
STM32CubeIDE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-03-30 3:35 AM - edited ‎2025-03-30 3:37 AM
> 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:
The resolved location of linked file can be seen in Properties-> resource.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-03-31 11:34 AM
Thanks for replying Pavel. Unfortunately, my IDE is not showing the yellow:
I'm using revision 1.18.0 of the IDE.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-03-31 11:40 AM
@Pavel A. was highlighting the little squares with the arrow pointing to the upper left corner.
TimerCallback tutorial! | UART and DMA Idle tutorial!
If you find my solution useful, please click the Accept as Solution so others see the solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-03-31 12:39 PM
Thanks Karl. Got it.
That helps. Is there anyway to flag the editing window? The tree structure doesn't track the currently open file in the editing window.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-03-31 9:13 PM
Not sure what you mean by flag editing window?
You should accept @Pavel A. solution as he originally pointed out the link icons.
TimerCallback tutorial! | UART and DMA Idle tutorial!
If you find my solution useful, please click the Accept as Solution so others see the solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-04-01 1:26 PM - edited ‎2025-04-01 1:28 PM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-04-01 1:33 PM
Look again at the screenshot in my last post. While the instance of HAL_cli.c has a small arrow overlay. The icon in the tab of the editing window does not.
Here is another example screenshot:
I placed a red box around the tab in question. If the icon there also had this small arrow overlay I think that would be adequate for helping a developer realize the file they are editing is a linked file.
I added Kudos to your's and Pavel's comments. I did not click on "Accept as Solution" for Pavel since I see it as only a partial solution. Is that acceptable etiquette?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-04-01 1:56 PM - edited ‎2025-04-01 2:32 PM
> Is that acceptable etiquette?
Yes definitely. No issues with it. You're welcome.
> The icon in the tab of the editing window does not.
Well, this is a more specific and actionable feature request.
The correct term for these overlay icons in Eclipse is "Label decorators". So - "show the label decorators on the icons of editor tabs".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-04-01 3:11 PM
Thank you Pavel,
This was exploratory on my part. You've helped see what is available. How do I go about requesting adding the label decorators to the icons of the editor tabs? Does it need to start with Eclipse?
