News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

Split windows and defines in C++

Started by zend, October 16, 2019, 10:53:39 AM

Previous topic - Next topic

zend

Hello,

First of all, thank you for your product. I'm very happy using it.

I have several quesions how to use the product.
1) I can split window using single source file. But several times I need to compare different files sources. Is it possible to cplit window and have, for example, one c++ source file at the left side, and the another one at the right?

2) I have defines in header files, for example
#define SOURCE_CODE_USED

in C file i have ifdef:
#ifdef SOURCE_CODE_USED
...
#endif

though the define is set, code stays grayed. What am I doing wrong?
When I get those sources opened in Eclipse editor, everything works fine.

Thank you!

BlueHazzard

Quote1) I can split window using single source file. But several times I need to compare different files sources. Is it possible to cplit window and have, for example, one c++ source file at the left side, and the another one at the right?
take the tab of the editor with the mouse and drag it somewhere in the editor. This will move this tab to a new view.

2) I have defines in header files, for example
I think at the moment this is only per file and not for the whole project, but i can miss something here...