Code::Blocks Forums
User forums => General (but related to Code::Blocks) => Topic started by: DrewBoo on April 01, 2008, 06:11:46 pm
-
Are there any plugins to support an embedded command prompt in Code::Blocks? (cmd.exe interpreter in Windows, bash or similar in Unix)
Does it exist and I've just missed it? Has anyone tried making one before?
8) Should I write one?
I love all the tools I have at my disposal in Code::Blocks and I've discovered that the only thing that has me frequently stepping away from the IDE is when I need to fire off a command or three in a terminal window.
-
Just define what you want in the Tools menu item.
Note the use of "cmd /c" to invoke the command prompt.
You could also use "cmd /k" etc.
(http://img249.imageshack.us/img249/868/219hg4.png)
-
Just define what you want in the Tools menu item.
Note the use of "cmd /c" to invoke the command prompt.
You could also use "cmd /k" etc.
I do have a few commands programmed into the Tools menu. It's useful as long as I know in advance what I'm going to want to type.
Perhaps what I'm looking for is more useful in Unix environments, as the Windows command prompt has not yet evolved enough to be useful to many people on a regular basis.
-
Sometimes it's useful to start a console in the actual build-targets dir.
On linux I use "konsole" with the settings shown in the image.
[attachment deleted by admin]
-
my ShellExtension plugin will provide some of the functionality you want (see link to project page in my sig and download the code from the svn). not so useful for interactive sessions, though (i.e. not a full blown terminal emulator)
-
my ShellExtension plugin will provide some of the functionality you want (see link to project page in my sig and download the code from the svn). not so useful for interactive sessions, though (i.e. not a full blown terminal emulator)
Well, look at that. I knew I couldn't have been the first to think of that.
I see it's marked as Win32 only...I haven't tried it yet, but if I was to roll multi-platform support into it, would you take it?
-
it works with Linux too.
the code is a mess -- all patches welcome.