Skip to content

feat: Add `/clear` command to Duo Chat

Description

This MR allows /clear to work on the VS Code extension, identically to /clean

The documentation specifies /clear as the standard command to do this action.

Related Issues

gitlab#448904 (closed)

How has this been tested?

On the VS Code extension:

The following commands should behave identically to clear the chat:

  1. /clear
  2. /clean

Only /clear should show up on the documentation when typing / into the box.

Screenshots (if appropriate)

image

Note: This video shows using spaces before and after the command, but we have removed this piece from this MR. /clean and /clear with no trailing or leading spaces should work.

Screen_Recording_2024-03-21_at_11.20.23_PM

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation
  • Chore (Related to CI or Packaging to platforms)
  • Test gap
Edited by Lesley Razzaghian

Merge request reports