About 11,500,000 results
Open links in new tab
  1. How to make VS Code compact multiple lines to a single line?

    Jul 20, 2017 · Just Install Sublime Keymapper extension in vscode. Select Lines you want to be on single line then press ctrl + j. Adding to Alex's answer: A better option would be to bind a shortcut key to "Join Lines", fo i.e. Ctrl + Shift + U.

  2. Multiline editing in Visual Studio Code - Stack Overflow

    I wanted to select multiple lines and hit "something" to have a cursor for each select lines (similar to Ctrl + Shift + L in Sublime Text). This action in Visual Studio Code is called "Add Cursors to Line Ends".

  3. How can I comment multiple lines in Visual Studio Code?

    To add line comments, execute editor.action.addCommentLine (Ctrl + K, Ctrl + C) To remove line comments, execute editor.action.removeCommentLine (Ctrl + K, Ctrl + U)

  4. How to join multiple lines into single lines Visual Studio Code ...

    In this tutorial, How to join multiple lines into single lines in VSCode Join lines. In these tutorials, you’ll find many ways to join multiple lines into a single line. For example, The file contains the following lines. Output. There are multiple ways. It opens a popup type Join lines and select it. In VSCode, the Default prettier width is 80,

  5. Edit Multiple Lines Simultaneously with Visual Studio Code

    Jun 13, 2024 · Use Alt+Click to add cursors to separate lines, not necessarily consecutive. On Mac, use ⌥+⌘+Down or ⌥+⌘+Up to insert more cursors on consecutive lines.

  6. vsCode Multi-Line Copy & Paste in Same Line – NetSuite …

    Dec 1, 2022 · [ctl] + [alt] + [shift] to select the lines for multi-edit. Of course you [down arrow] to include multiple lines. [home] to move to the beginning of each line. [shift] + [end] to highlight the entire line. [ctl] + c to copy within the line. I typed “: $ {“, which completed the brackets and left the cursor in between brackets.

  7. How To Edit Multiple Lines at Once in VS Code - Medium

    Nov 16, 2022 · You can insert multiple cursors — on a single line or across multiple lines — and edit multiple places in your code simultaneously.

  8. How To Edit Multiple Lines At Once In VSCode - YouTube

    First, we'll cover how to select multiple lines using VSCode's built-in keyboard shortcuts. We'll show you how to use both the mouse and the keyboard to select multiple lines quickly and...

  9. Multi-Line Editing with Visual Studio Code - YouTube

    Ever have to make the same edits to consecutive lines in Visual Studio Code? Sadukie shows us how to use the multi-line editing feature of VS Code!

  10. Visual Studio Code: How to Paste Multiple Lines of Code

    In this tutorial, we will show you how to paste multiple lines of code in Visual Studio Code using the keyboard, the mouse, and the command palette. We will also discuss what to do if you paste multiple lines incorrectly.

Refresh