Skip to content
| Marketplace
Sign in
Visual Studio Code>Snippets>Insert Line Custom TextNew to Visual Studio Code? Get it now.
Insert Line Custom Text

Insert Line Custom Text

zzk13180

|
33 installs
| (0) | Free
insert a new line into the document, using custom text
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

insert-line-custom-text

This plugin inserts customizable text below the cursor, using '{}' as a placeholder.
It can generate new text based on selected text and supports multi-line selections.

For example, you can quickly add 'console.log('variable', variable)' to your JavaScript code.
Default shortcut: Shift+Space
Default text: console.log('{}', {})

example

Chinese Description

在当前光标位置下方插入一行自定义文本。
使用花括号{}作为占位符,将当前选定的文本作为参数来生成新文本插入到下一行。
例如,您可以快速将“console.log('variable',variable)”语句插入到JavaScript代码中。
支持同时插入多行选定文本。

默认快捷键:Shift+Space
默认文本:console.log('{}', {})

🔅 thanks for using
Source code

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