Automatic selection of language in comment editor base on repo language

Issue #18134 new
Srirang Doddihal
created an issue

When adding a code block in the new comment editor using 3 backticks (```), a drop down to choose the programming language appears.

It would really helpful to set that the default value of that dropdown to the language set for the repository.

It is quite normal, I would say, that comments on PR for a repo will most likely include code snippets in the same language as that of the repo.

Comments (0)

  1. Log in to comment