Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Select language for pull request comment code snippet using keyboard?

Aleck Greenham June 30, 2020

Is there a way of adding a comment to a BitBucket pull request with a code snippet that has a particular language selected, using _only_ the keyboard?

I'm using the new BitBucket pull request layout.

 

I've tried using

```javascript

And it doesn't work.

I've also tried tabbing (and all sorts of similar keystrokes) to try and focus the Select Language dropdown.

1 answer

0 votes
Aleck Greenham July 16, 2020

The best I have come up with, is the less-than-ideal:

Cmd+F to Search, and Type "Select language" (this will select the placeholder text for the language select), Press escape to exit the search, then Press Tab and then type the language you want.

To then submit the comment, Cmd+F to Search and Type "Save" and Escape which fill focus the button to save the comment.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events