First of all, I'm blown away by UEStudio and what it can do! Thanks to IDM and all the developers for taking UltraEdit to the logical next step. I'll keep on using UltraEdit as well as UEStudio for many things, though, such as massaging data in log files, etc.
Something I wish UEStudio would do (has been on my wish list ever since beta 2) is find my C/C++ header files (*.h) when they are in a different folder than the source (*.c or *.cpp files). IMHO this is the most common scenario when dealing with projects of any size (i.e. not toy projects).
I can tell my compiler how to find the headers, but I can't seem to tell UEStudio how to find them, i.e. when I right-click on the file name in the #include line. If the header is in the same directory as the file which includes it, then it opens OK.
If you have found out how to do this, please let me know. Otherwise, if you think that this should be fixed, by all means send IDM an e-mail at [email protected] and holler!
Here's a tip for people using the MSVC++ Toolkit free command-line compiler with UEStudio. When you select the compiler, choose "Edit configuration". Look for a line in the [Settings] section like this:
When you choose "Project->Settings->Compiler Options", you will be able to set one or more additional directories. However, there is no key in the [SettingsReps] to pick up the value you set here! Therefore, there is no effect on the command to compile your source.
To remedy this, go to the [SettingsReps] section and add this line:
Users of the Borland free command line compiler can use "-I" instead of "/I". Now you can use $(Additional Include Directories) as an additional switch in the compiler command.
To do this, one final step is necessary: Go to the [Variables] section and look for this line:
Insert "$(Additional Include Directories)" -- without the quotes -- right after "$(Compiler Options)".
Now your compile command should include the /I switch along with any include directories you have set in the project settings compiler options.
Something I wish UEStudio would do (has been on my wish list ever since beta 2) is find my C/C++ header files (*.h) when they are in a different folder than the source (*.c or *.cpp files). IMHO this is the most common scenario when dealing with projects of any size (i.e. not toy projects).
I can tell my compiler how to find the headers, but I can't seem to tell UEStudio how to find them, i.e. when I right-click on the file name in the #include line. If the header is in the same directory as the file which includes it, then it opens OK.
If you have found out how to do this, please let me know. Otherwise, if you think that this should be fixed, by all means send IDM an e-mail at [email protected] and holler!
Here's a tip for people using the MSVC++ Toolkit free command-line compiler with UEStudio. When you select the compiler, choose "Edit configuration". Look for a line in the [Settings] section like this:
Code: Select all
Additional Include Directories =
To remedy this, go to the [SettingsReps] section and add this line:
Code: Select all
Additional Include Directories = @/I%s
To do this, one final step is necessary: Go to the [Variables] section and look for this line:
Code: Select all
COPT = $(Compiler Options) $(Warning Level) <...snipped...>
Now your compile command should include the /I switch along with any include directories you have set in the project settings compiler options.