User forums > Help

Running .c files without creating a project

<< < (2/2)

Dr.Optix:
Tryed with multiple instance of C::B like

One where your project is open and one where you edit/compile your "lone wolf" file

EDIT:

Also you can use Ctrl+Shift+F9 to compile current file, but it just compile it, it don't run it.

Jenna:

--- Quote from: kartal on June 06, 2009, 06:23:16 pm ---Dr.Optix ,
For some reason, I cannot get it to work. It(F9) is just running previously compiled project. I have tried clean, clean workspace etc. I cannot get it to compile the currently open file that is not part of any project. Bear in mind though I do not want to delete or get rid of my open projects. I just want to be able to compile a file that is not part of any projetc, just for convenience.



--- End quote ---
The default shortcut for compile current file is "Strg+Shift+F9" (easy to see if you open the "Build" menu).

kartal:
I am really not sure what I am doing wrong here. The only things I can think of are, 1-user error, 2-I am using nightly.

I can compile the current file but when I click on "Run" it runs the project or tries to built the active project.

Ceniza:
Close all your projects first (empty workspace), then try again.

Navigation

[0] Message Index

[*] Previous page

Go to full version