-
-
@robin I don't have permission to write code in this project, so I can't implement wrapping selected text with backticks when selected. Could you take this from here?
-
Name Previous Value Current Value Assignee
robin
wh
-
-
Implemented wrapping selected text with backticks in the markdown editor: with a non-empty selection, pressing
`encloses the text instead of replacing it.Submitted via pr #87
-
State changed as build OD-7846 is successful
-
OneDev
changed state to 'Closed' 2 days ago
Previous Value Current Value Open
Closed
| Type |
Improvement
|
| Priority |
Normal
|
| Assignee | |
| Labels |
No labels
|
Issue Votes (0)
Summary
When working in text input fields, users frequently need to wrap text in inline code spans using backticks (
`). Currently, this requires manually placing a backtick before and after the text. This issue proposes that when text is selected/highlighted and the user presses the backtick key, the selected text should be wrapped with backticks rather than replaced by a single backtick.Current Behavior
``again (or vice versa).This requires multiple cursor movements and key presses.
Expected Behavior
`).Example:
someFunction(highlighted)`someFunction`Motivation
This is a small but meaningful productivity enhancement. Wrapping text in delimiters (like backticks, quotes, or brackets) is a common pattern in code editors and markdown editors. Implementing this behavior for backticks would: