VSColorOutput64 icon indicating copy to clipboard operation
VSColorOutput64 copied to clipboard

Feature request

Open derricck opened this issue 2 years ago • 1 comments

Hi Mike, do you accept a feature request? I'm searching for a way to clear the output window with a shortcut.

derricck avatar Aug 06 '23 02:08 derricck

Hi @derricck, I think this is only possible through a custom command. Here's how I did in Visual Studio 2019:

  • Go to Tools > External Tools....
  • In the External Tools dialog, click Add.
  • Set the Title to something like Clear Output.
  • Set the Command to cmd.exe.
  • Set the Arguments to /c cls.
  • Optionally, set the Initial directory to $(SolutionDir).
  • Check 'Use Output Window' box.
  • Click OK to save.
  • Assign a Keyboard Shortcut: Then,
  • Go to Tools > Options.
  • In the Options dialog, navigate to Environment > Keyboard.
  • In the Show commands containing: field, type Tools.ExternalCommand followed by the number corresponding to the position of your newly created external tool (e.g., Tools.ExternalCommand1 for the first external tool).
  • In the Press shortcut keys: field, press the keyboard shortcut you want to use (e.g., Ctrl+Shift+L).
  • Click Assign, then OK to save.

Let me know should you need further assistance.

ArdaAras avatar Aug 26 '24 08:08 ArdaAras