none
关于VS编辑器拓展开发的一些问题 Some questions about vs editor's expand development RRS feed

  • 问题

  • 我想实现如下功能:

    在vs编辑器界面编写代码时,我希望输入的所有 "[" 和 "]" 能自动转换成 "(" 和 ")" 

    因为 vb.net 语言不太需要方括号而经常用到小括号

    通过更改键位的软件可以实现这个功能,但我想试试能不能让vs编辑器自己来实现

    The following are machine translation

    I want to implement the following features:

    When writing code in the VS editor interface, I want all the "[" and "]" input to be automatically converted to "(" and ")"

    Because the vb.net language does not require square brackets and often uses parentheses

    These features can be implemented by some other software, but I'd like to see if the VS editor could do this by itself

    2018年11月5日 6:30

全部回复

  • 你好,

    可以尝试一下Ctrl+H键,将所有的“[”变为“(”,“]”变为“)”

    Best Regards,

    Alex


    MSDN Community Support Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    2018年11月5日 9:06