question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

No more surrounding or auto-closing in commit msg box

See original GitHub issue
  • VS Code Version: 1.54.3
  • OS Version: Windows_NT x64 10.0.19042

Steps to Reproduce:

  1. Write a commit message
  2. Select a word, type `

Expected: the word is surrounded by ` like in VS Code v1.44.2.

Since 1.45, this doesn’t happen anymore, instead the word is replaced by `. It’s the same with auto-closing.

This was very useful to type markdown-like commit messages. If this is not a bug/intended, is there a way to reenable this behavior?

v1.44.2 : recording (3)

v1.54.3 (1.51.1 for the capture but it’s the same since 1.45) : recording (4)

Does this issue occur when all extensions are disabled?: Yes

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
lszomorucommented, Dec 13, 2022
  1. (scminput only) create a /extensions/git-base/languages/scminput.language-configuration.json file with the plaintext configuration? (Not the way to go I think)
  2. (scminput only) edit https://github.com/microsoft/vscode/blob/1.72.2/src/vs/workbench/contrib/scm/browser/scm.contribution.ts#L34 to add a copy of the plaintext configuration? Would you accept a PR?
  3. configure the language myself using the settings? Is that possible at all? This would be the best option IMO: allowing each user to configure the editor as wanted, but it seems unsupported (https://old.reddit.com/r/vscode/comments/qo28jx/change_some_language_settings/)
  4. create an extensions that would add/configure the surroundingPairs in theses 2 languages (scminput, git-commit)? How hard would that be?

Option No2 seems reasonable to me. @joaomoreno, @alexdima what do you think?

1reaction
alexdimacommented, Jun 5, 2021

@joaomoreno This commit defines the language of the SCM input to be scminput. The language scminput does not have any surrounding pairs defined. Here is as an example the language configuration for plaintext.

Read more comments on GitHub >

github_iconTop Results From Across the Web

GitHub: How can I close the two issues with commit message?
The message MUST contain a string matching the following pattern: KEYWORD #ISSUE . For example: close #1 . How can I close two...
Read more >
Box "Enter a commit nessage" is disabled (Git)
Based on the attached screenshot, I see the yellow box for a commit message which appears to be enabled. Does it now allow...
Read more >
Commit message templates - GitLab Documentation
Full message of the first commit that's not a merge commit and has more than one line in message body. Merge request title...
Read more >
Zeromq vs aeron - Mesciuma |
He offers a heart-beating pattern to get around this issue for Req/Rep sockets though. ... a ZeroMQ system can run without a dedicated...
Read more >
rename js to jsx - Associazione Amici UniCT
For more specialized code formatting styles, try installing one of the ... But do not mix it with HTML, React transforms the JSX...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found