Author Topic: How do I run my compile or make from within SlickEdit?  (Read 271 times)

Jeffrey

  • Community Administrator
  • Senior Community Member
  • *
  • Posts: 188
  • Hero Points: 18
How do I run my compile or make from within SlickEdit?
« on: July 24, 2014, 02:03:08 PM »
The most common way to compile from inside of SlickEdit is to set up a Project within the editor. To set up a project within SlickEdit:

1. Go to (Project New).
2. Select the project type if it is listed; otherwise select "(None)" to define your project manually.
3. From the "Files" tab, add your source files to the project.
4. From the "Directories" tab, add INCLUDE directories. This feature helps SlickEdit find the header files when right clicking on a C/C++ #include line and choosing "Go to error/include file".
5. If you used a wizard to create your project such as a Java or GNU C/C++ wizard, then use the "Options" button from the Tools tab to configure compile/build options; otherwise, enter the Build and Compile command strings on the Tools tab.

To load the source files specified in the project, select the "Files" tab of the Project toolbar and double click on your files, or go to (Project Load Files).


Add compile or make support without using a project:

Go to (Tools Options File Extension Setup on the "Advanced" tab), select the desired extension, and click on "Extension Specific Project" button to set up your compile and build command strings.

This is an extension specific setting, but note that if you have a project open with a Compile or Build command defined, the extension specific Compile or Build command is ignored.

mwb1100

  • Community Member
  • Posts: 86
  • Hero Points: 8
Re: How do I run my compile or make from within SlickEdit?
« Reply #1 on: July 24, 2014, 04:35:06 PM »
Add compile or make support without using a project:

Go to (Tools Options File Extension Setup on the "Advanced" tab), select the desired extension, and click on "Extension Specific Project" button to set up your compile and build command strings.

Thanks for this tip - I didn't know that.  I've been going back to UltraEdit for this kind of thing (or just doing it from the command line on Linux).