Visual Studio wrap selection in quotes?

后端 未结 4 934
栀梦
栀梦 2021-02-05 13:39

Is there is a way to wrap a selected text block with quotes? In visual studio I have not found a extension or plugin I am just looking for a simple way to do it. Is there a way

4条回答
  •  夕颜
    夕颜 (楼主)
    2021-02-05 14:03

    This might be overkill, but ReSharper offers a utility called Surround With that offers a templated mechanism for surrounding blocks of text. It doesn't look like they have a template out of the box for quotes, but you should be able to easily create one:

    enter image description here

    Plugin Description: https://www.jetbrains.com/resharper/help/Templates__Applying_Templates__Surrounding_Code_Fragments_with_Templates.html

提交回复
热议问题