cancel
Showing results for 
Search instead for 
Did you mean: 

How to see which project the currently opened file belongs to

Ricko
Senior II

Hi,

when you have multiple projects loaded in the IDE (pane on the left hand side) and also multiple files opened (each from different projects) how do you know which one belongs to which project?

 

AND... how can you tell which project is the active one being compiled?

 

In pretty much every other IDE environment when you open a file it automatically highlights it name in the tree on the left side. But not on the CubeIDE...

 

For example if you have two main.c open you have no idea which one belongs to which project currently loaded in the IDE...

 

Thank you :)

1 ACCEPTED SOLUTION

Accepted Solutions
TDK
Guru

When your cursor is in the file, the title bar will show which project the current file belongs to, along with its path.

Your cursor also selects which is the active project, by having your cursor within a file of that project. That's the project that will get built if you do Project -> Build Project.

If you feel a post has answered your question, please click "Accept as Solution".

View solution in original post

2 REPLIES 2
Karl Yamashita
Lead III

Just hover over the file tab. Not sure if it's a Eclipse thing, but even CCS does the same as STMCubeIDE.

Tips and Tricks with TimerCallback https://www.youtube.com/@eebykarl
If you find my solution useful, please click the Accept as Solution so others see the solution.
TDK
Guru

When your cursor is in the file, the title bar will show which project the current file belongs to, along with its path.

Your cursor also selects which is the active project, by having your cursor within a file of that project. That's the project that will get built if you do Project -> Build Project.

If you feel a post has answered your question, please click "Accept as Solution".