cancel
Showing results for 
Search instead for 
Did you mean: 

How to see which project the currently opened file belongs to

Ricko
Associate III

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 🙂

2 REPLIES 2
Karl Yamashita
Lead II

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

If you find my answers useful, click the accept button so that way others can 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".