This repository was archived by the owner on Nov 18, 2022. It is now read-only.
This repository was archived by the owner on Nov 18, 2022. It is now read-only.
Feature request: Toggle inline code and code blocks in comments with a keyboard shortcut #487
Open
Description
// Highlight inline code like this Foo and press a keyboard shortcut
This then becomes:
// Highlight inline code like this `Foo` and press a keyboard shortcut
Example of a code block:
// ```rust // struct Foo { // bar: Bar, // baz: Baz, // } // ```
This is more useful for Rust doc comments, which have HTML formatting. For block comments you could type a block comment without the backticks above, then highlight and press a keyboard shortcut to toggle the backticks like as shown above. But a toggle for inline code would be more useful, although I guess it's not much more effort to remember to type two backticks.
Originally from microsoft/vscode#65952 (comment)