CLion how to open a header file (located in a different project) from within open project

Answered

Hi, 

A very rudimental question from a newbie of CLion (with Eclipse experiences).

There is a need to open header files (or open the definition of a class/struct/function defined in a different project) from within currently open project.

Initially, I was trying to find a way (similar to what could be done in Eclipse) but failed. Especially given that only one project could be open in CLion at any given time. 

Any advices?

Thanks,

Frank

 

0
1 comment

Hi Frank!

>Especially given that only one project could be open in CLion at any given time

Actually you can open several projects in CLion, just use `File | Open`, select a project folder and then choose "New Window".

Also you can open any file using this action.

0

Please sign in to leave a comment.