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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Select language for pull request comment code snippet using keyboard? Edited

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

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
Community showcase
Published in Bitbucket

Powering DevOps with Bitbucket Server & Data Center

Hi everyone, The Cloud team recently announced 12 new DevOps features that help developers ship better code, faster   ! While we’re all excited about the new improvements to Bitbucket ...

2,093 views 0 7
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you