gpt4 book ai didi

visual-studio-2019 - 如何在 Visual Studio 2019 中自动将分号添加到行尾

转载 作者:行者123 更新时间:2023-12-03 13:47:49 25 4
gpt4 key购买 nike

我的问题类似于 How to add semicolon to the end of the line in visual studio code ,但对于 Visual Studio 2019。答案中提到的扩展以及我能够找到的其他扩展似乎只能在 VS Code 或早期版本的 VS 中使用。

正如@gavin 如此 Eloquent 地提出这个问题:

... in vs code, when you write a method call, it automatically closes the open parameter for you and your cursor ended up before the ). Now if you want to write a new statement, you literally have to take your right hand off the jkl; position and click on the end or the right arrow key and then take your right hand back to the jkl; position to type the semicolon. I use shift + enter and it saves me around half a second for each statement to reposition my right hand

最佳答案

  • 安装 Productivity Power Tools 2017/2019 (如果尚未安装)
  • 按 Shift+Enter 添加“;”自动在行尾:

  • enter image description here

    关于visual-studio-2019 - 如何在 Visual Studio 2019 中自动将分号添加到行尾,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57399659/

    25 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com