【问题标题】:Is there a command to move the current line to the top of the current window, similar to the Brief editor Ctrl-T?是否有将当前行移动到当前窗口顶部的命令,类似于简要编辑器 Ctrl-T?
【发布时间】:2019-03-25 21:14:16
【问题描述】:

Brief(如果有人记得很早的话)有一个命令 (Ctrl-T),它使窗口居中,使当前行移动到窗口的顶部。 Ctrl-B 使窗口居中,使当前行移到窗口底部。 vscode中有这样的命令吗?

如果没有命令,是否有提供该功能的扩展程序?

我使用 vscode 编写 C# 和 C++ 代码。

【问题讨论】:

    标签: visual-studio-code vscode-settings


    【解决方案1】:

    不完全是您的要求,但非常接近:

    https://github.com/kaiwood/vscode-center-editor-window

    您可以使用快捷键 ctr+L 使窗口居中

    有一个添加偏移量的拉取请求。

    编辑

    做你想做的事:

    https://github.com/pmattei/place-window-vscode

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2022-11-10
      • 1970-01-01
      • 2011-01-17
      相关资源
      最近更新 更多