Clear command window?

  • Thread starter Thread starter Tim Zych
  • Start date Start date
T

Tim Zych

Is there keystroke combination that will clear the command window in Visual
Studio.Net?

Or, is there a way for me to clear it in vb.net code, prior to my code
running?

Thanks.
 
Right click, select appropriate item from the menu...
_________________________
The Grimch
 
I know about that one. Very time consuming and annoying. I'm looking for
something better. Like in VB6 or VBA where the Delete key does the trick.
 
Context menu key, up cursor, enter.
(that's only 3!!)
_________________________________
The Grimch
 
Thanks...but...context menu key?

What is that?


The Grim Reaper said:
Context menu key, up cursor, enter.
(that's only 3!!)
_________________________________
The Grimch
 
I found one possible way.

While the cursor is not selecting anything:
:
Ctrl + C
Ctrl + A
Ctrl + V

2 steps after the empty string is copied to the clipboard. Otherwise 3.
 
Tim Zych said:
Is there keystroke combination that will clear the command window in
Visual
Studio.Net?

Or, is there a way for me to clear it in vb.net code, prior to my code
running?

Thanks.
Edit.ClearAll is the command to use. You can bind this command to a
keyboard shortcut by going to Tools->Options->Environment->Keyboard and
type in the 'Show commands containing:' textbox: 'Edit.ClearAll' w/o the
quotes. Select the command and in the 'Press shortcut key(s):' box, press
the keyboard shortcut you wish to associate with clearing the
window...click Ok, and try it out :)

Please note, this command is available in .Net 2003, and I don't have 2005
installed to test. The instructions above are also for 2003 :( Even though
this is for 2003, it *should* still be available in .Net 2005...g'luck!

HTH,
Mythran
 
Wow. That looks very promising.

I assigned a shortcut key to it, but when I tried it during runtime, it
didn't execute.

It seems to work only during design time.

Thanks. That's good stuff to know.
 
yeah this is probably the ONE FEATURE THAT WAS MISSING IN VB6; AND THEY
COULDN'T AFFORD TO FIX IT IN THREE NEW VERSIONS OF VISUAL STUDIO?

eat a dick, microsoft

-Aaron
 
Context menu key + l
(that's only 2!!)


The Grim Reaper said:
Context menu key, up cursor, enter.
(that's only 3!!)
_________________________________
The Grimch
 
The context menu key has a glyph on it that looks like a context menu with a
mouse pointer. On my keyboards it is directly to the left of the right Ctrl
key.
 
Check out the Clear method of the CommandWindow object in the Visual Studio
automation model.

F1 is your friend!!!!!!
 
why can't people just call it the 'right-click key'

the 'context menu' shit it's not the context menu its' the right-click
menu

-Aaron
 
Why can't you keep your dirty mouth out of other people's conversations, you
useless troll??
 
it's the single feature I wish that VB6 had.

I'll use my dirty mouth where I want.

MS Killed the world's popular language; they personally destroyed my
programming career.

I could give a shit.
I'll still use VB until the make VB10 and it will be 100% backwards
comptabile with VB.com

-Aaron
 
I thought you said you get 8-10 job offers a week. So how is
that a destroyed career?

Robin S.
--------------------------------------------------
 
Tim said:
I found one possible way.

While the cursor is not selecting anything:
:
Ctrl + C
Ctrl + A
Ctrl + V

2 steps after the empty string is copied to the clipboard. Otherwise 3.

Then why not simply do
CTRL + A
DEL
 
Back
Top