Skip to content

Commit

Permalink
Add "General commands availability in context menu" to TESTING.md (#291)
Browse files Browse the repository at this point in the history
I am documenting this because I wasn't fully aware of this functionality
(personally, I'm trying to avoid using mouse during coding, and this
menu is only accessible with a right-click), especially since it
recently turned out that this menu wasn't working at all.
  • Loading branch information
exigow authored Jan 16, 2024
1 parent 1463bd1 commit bf6d056
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions TESTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
- [ ] [Infilling autocomplete](#infilling-autocomplete)
- [ ] [Cycle through autocomplete](#cycle-through-autocomplete)
- Commands
- [ ] [General commands availability](#general-commands-availability)
- [ ] [General commands availability in toolbar](#general-commands-availability-in-cody-toolbar)
- [ ] [General commands availability in context menu](#general-commands-availability-in-context-menu)
- [ ] [Explain Selected Code (Detailed)](#explain-selected-code-detailed)
- [ ] [Explain Selected Code (High Level)](#explain-selected-code-high-level)
- [ ] [Generate Docstring](#generate-docstring)
Expand Down Expand Up @@ -117,14 +118,24 @@ through the browser. Expected behaviour is identical.

## Commands

### General commands availability
### General commands availability in Cody toolbar

1. Navigate to `Cody` toolbar and open `Commands`.

#### Expected behaviour

* List of commands is immediately available after the toolbar is displayed. **No refresh is required.**

### General commands availability in context menu

1. Open file with source code and select some fragment.
2. Show context menu with right mouse button, navigate to `Cody`, and choose one of the commands.

#### Expected behaviour

* All commands are visible in context menu and can be selected.
* All commands works after selection.

### Explain Selected Code (Detailed)

1. Paste the following Java code:
Expand Down

0 comments on commit bf6d056

Please sign in to comment.