Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>copyToNewLineNew to Visual Studio Code? Get it now.
copyToNewLine

copyToNewLine

successli

|
10 installs
| (0) | Free
copy current line to new line
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

CopyToNewLine README

This extension provides a convenient way to copy the content of the current line to the next line, keeping the cursor position relatively unchanged, using the Ctrl/Cmd + D shortcut.

JetBrains公司发布的IDE,有一个非常好用的快捷键:control/command + d, 现在我希望把这个快捷键带到vscode里面方便大家去快速复制。

JetBrains IDEs have a very useful shortcut: Ctrl/Cmd + D. Now, I hope to bring this shortcut to VSCode to facilitate quick copying for everyone.

这个插件的功能非常简单,就是使用 control/command + d 快速复制当前行的内容到下一行,感谢您的使用。

This plugin is very simple: use Ctrl/Cmd + D to quickly copy the current line's content to the next line. Thank you for using it.

其中,windows平台的快捷键是 control d,macOS平台的快捷键是 command d。

On the Windows platform, the shortcut is Ctrl + D, and on the macOS platform, the shortcut is Cmd + D.

Features

Simply press Ctrl/Cmd + D to copy the current line to the next new line and position the cursor at the end of the new line.

Requirements

There are no specific requirements or dependencies for this extension.

Extension Settings

No settings are currently available for this extension.

Known Issues

No Issues

Release Notes

0.0.1

Initial release of CopyToNewLine.

0.0.2

Added description of shortcut on Windows and MacOS.


Following extension guidelines

This extension follows the guidelines outlined in the Extension Guidelines.

Working with Markdown

You can author your README using Visual Studio Code. Here are some useful editor keyboard shortcuts:

  • Split the editor (Ctrl+\ on Windows and Linux, Cmd+\ on macOS).
  • Toggle preview (Shift+Ctrl+V on Windows and Linux, Shift+Cmd+V on macOS).
  • Press Ctrl+Space (Windows, Linux, macOS) to see a list of Markdown snippets.

For more information

  • Visual Studio Code's Markdown Support
  • Markdown Syntax Reference

Author

CopyToNewLine extension is powered by successli.

Enjoy!

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft