Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » eclipse console
eclipse console [message #75904] Mon, 16 June 2003 22:26 Go to next message
Eclipse UserFriend
Originally posted by: christian.sell.netcologne.de

has anyone but me discovered that the console in eclipse is a major
nuisance? Anytime I execute a program that writes to the console, I have
to double check whether the fact that I dont see any output is due to
the program being stuck, or just the wrong console being on top.

Is there a way to cause the console of any *currently* executing program
to always be on top? Or better yet, to have only ONE console, as one
would expect?

thanks,
Christian
Re: eclipse console [message #75957 is a reply to message #75904] Tue, 17 June 2003 03:50 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mxlehma.NO-SPAM.qwest.com

Christian Sell wrote:
> has anyone but me discovered that the console in eclipse is a major
> nuisance? Anytime I execute a program that writes to the console, I have
> to double check whether the fact that I dont see any output is due to
> the program being stuck, or just the wrong console being on top.
>
> Is there a way to cause the console of any *currently* executing program
> to always be on top? Or better yet, to have only ONE console, as one
> would expect?
>
> thanks,
> Christian
>

Go to Preferences->Debug->Console and check the two checkboxes for "Show
when program writes to standard out" and "Show when program writes to
standard error". That will at least bring the standard console window
forward when there is output.

Don't know of a way to do that for the CVS Console.

--
Michael
Re: eclipse console [message #77262 is a reply to message #75957] Wed, 18 June 2003 03:28 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: ed.burnette.REMOVE.THIS.sas.com

In addition to what Michael said, there's a little dropdown menu on the top
right of the console window. Make sure the option is set to Show Default
Output.

You usually wouldn't want only one console. Since Eclipse can debug several
programs at once (for example a client and a server), each program needs its
own console. Also multiple consoles of the same program gives you a history
of prior output. But if you really only want one, select Window >
Preferences > Debug > Remove terminated launches when a new launch is
created. By 'terminated launch' it's referring to terminated programs over
in the Debug view, but consoles and launches are matched 1 to 1 so this
affects the consoles too. It affects both Running and Debugging programs
like you would expect.

Speaking of consoles, did you know if you run the shell (for example,
cmd.exe) as an external program, the Eclipse console will take input? And
you can write Java code to watch the console for patterns and do stuff like
add tasks or create hyperlinks in the console window? The console is cool
stuff.

--
Ed Burnette, co-author Eclipse in Action (www.manning.com/gallardo)


"Michael" <mxlehma@NO-SPAM.qwest.com> wrote in message
news:bcm369$e92$1@rogue.oti.com...
> Christian Sell wrote:
> > Is there a way to cause the console of any *currently* executing program
> > to always be on top? Or better yet, to have only ONE console, as one
> > would expect?
>
> Go to Preferences->Debug->Console and check the two checkboxes for "Show
> when program writes to standard out" and "Show when program writes to
> standard error". That will at least bring the standard console window
> forward when there is output.
Re: eclipse console [message #77542 is a reply to message #77262] Wed, 18 June 2003 10:40 Go to previous messageGo to next message
Christian Sell is currently offline Christian SellFriend
Messages: 77
Registered: July 2009
Member
Ed Burnette wrote:
> In addition to what Michael said, there's a little dropdown menu on the top
> right of the console window. Make sure the option is set to Show Default
> Output.

the options Michael mentioned were checked all the time, and the one you
mention as well. I still often have a stack of (completely unwanted)
consoles, and the one I am currently writing to is hidden somewhere.

>
> You usually wouldn't want only one console. Since Eclipse can debug several
> programs at once (for example a client and a server), each program needs its
> own console. Also multiple consoles of the same program gives you a history

I have been programming and using IDEs for more than a decade now, and
have never felt the need for multiple output consoles. My experiences
with this "feature" make me believe this is not going to change
anytime soon..

> of prior output. But if you really only want one, select Window >
> Preferences > Debug > Remove terminated launches when a new launch is
> created. By 'terminated launch' it's referring to terminated programs over
> in the Debug view, but consoles and launches are matched 1 to 1 so this
> affects the consoles too. It affects both Running and Debugging programs
> like you would expect.

this sounds like what I need. Finally I dont have to always hit that ---
button when I enter the debugger. Thanks.

>
> Speaking of consoles, did you know if you run the shell (for example,
> cmd.exe) as an external program, the Eclipse console will take input? And
> you can write Java code to watch the console for patterns and do stuff like
> add tasks or create hyperlinks in the console window? The console is cool
> stuff.
>
> --
> Ed Burnette, co-author Eclipse in Action (www.manning.com/gallardo)
>
>
> "Michael" <mxlehma@NO-SPAM.qwest.com> wrote in message
> news:bcm369$e92$1@rogue.oti.com...
>
>>Christian Sell wrote:
>>
>>>Is there a way to cause the console of any *currently* executing program
>>>to always be on top? Or better yet, to have only ONE console, as one
>>>would expect?
>>
>>Go to Preferences->Debug->Console and check the two checkboxes for "Show
>>when program writes to standard out" and "Show when program writes to
>>standard error". That will at least bring the standard console window
>>forward when there is output.
>
>
>
>
Re: eclipse console [message #78034 is a reply to message #77262] Wed, 18 June 2003 19:12 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: magellan94.hotmail.com

Hi, Ed. Thanks for the informative post! I have a question related to your
comments about running cmd.exe in a console. Do you know how to get
tab-completion to work when running a shell like cmd.exe or cygwin in the
console? When run in a console, the tab key just inserts a tab character
instead of doing name completion like a normal command prompt. Similarly,
the arrow keys move the cursor around the console like a normal text editor
instead of iterating through the command history like they do in a normal
command prompt window. Is there a way to make this work in Eclipse?

Thanks, Dave

"Ed Burnette" <ed.burnette@REMOVE.THIS.sas.com> wrote in message
news:bcom96$n29$1@rogue.oti.com...
> In addition to what Michael said, there's a little dropdown menu on the
top
> right of the console window. Make sure the option is set to Show Default
> Output.
>
> You usually wouldn't want only one console. Since Eclipse can debug
several
> programs at once (for example a client and a server), each program needs
its
> own console. Also multiple consoles of the same program gives you a
history
> of prior output. But if you really only want one, select Window >
> Preferences > Debug > Remove terminated launches when a new launch is
> created. By 'terminated launch' it's referring to terminated programs over
> in the Debug view, but consoles and launches are matched 1 to 1 so this
> affects the consoles too. It affects both Running and Debugging programs
> like you would expect.
>
> Speaking of consoles, did you know if you run the shell (for example,
> cmd.exe) as an external program, the Eclipse console will take input? And
> you can write Java code to watch the console for patterns and do stuff
like
> add tasks or create hyperlinks in the console window? The console is cool
> stuff.
>
> --
> Ed Burnette, co-author Eclipse in Action (www.manning.com/gallardo)
>
>
> "Michael" <mxlehma@NO-SPAM.qwest.com> wrote in message
> news:bcm369$e92$1@rogue.oti.com...
> > Christian Sell wrote:
> > > Is there a way to cause the console of any *currently* executing
program
> > > to always be on top? Or better yet, to have only ONE console, as one
> > > would expect?
> >
> > Go to Preferences->Debug->Console and check the two checkboxes for "Show
> > when program writes to standard out" and "Show when program writes to
> > standard error". That will at least bring the standard console window
> > forward when there is output.
>
>
>
Re: eclipse console [message #78225 is a reply to message #78034] Thu, 19 June 2003 02:15 Go to previous message
Eclipse UserFriend
Originally posted by: ed.burnette.REMOVE.THIS.sas.com

Not currently, but I've opened an enhancement request called "Make console a
better shell replacement"::

http://bugs.eclipse.org/bugs/show_bug.cgi?id=36669

Feel free to add to this, cc, or vote for it, or better yet, grab a cup of
Java and contribute.

--
Ed

"Dave Smith" <magellan94@hotmail.com> wrote in message
news:bcqdnk$bm0$1@rogue.oti.com...
> Hi, Ed. Thanks for the informative post! I have a question related to your
> comments about running cmd.exe in a console. Do you know how to get
> tab-completion to work when running a shell like cmd.exe or cygwin in the
> console? When run in a console, the tab key just inserts a tab character
> instead of doing name completion like a normal command prompt. Similarly,
> the arrow keys move the cursor around the console like a normal text
editor
> instead of iterating through the command history like they do in a normal
> command prompt window. Is there a way to make this work in Eclipse?
>
> Thanks, Dave
Previous Topic:incremental search
Next Topic:View interrelationships
Goto Forum:
  


Current Time: Thu Jul 04 09:27:53 GMT 2024

Powered by FUDForum. Page generated in 0.03369 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top