In this post I will show you how you can easily (VSCode" Edit all rows) column values in multiple rows at once. Thanks to this trick, you will save a lot of time, which you could lose by tedious editing each row separately.
Table of Contents
Introduction
Multi Line Editing
Multiline editing, also known as “multi-cursor editing” or “multi-line editing,” is a feature that allows you to make the same change to multiple lines of text simultaneously. This can be useful when you need to make the same change to a large number of lines, or when you want to ensure that the changes are consistent across multiple lines.
Multiline editing is supported by many text editors, including Visual Studio Code" (VSCode") and Notepad++. The specific steps for using this feature may vary depending on the editor you are using, but generally, you can follow these steps:
- Select the text that you want to edit.
- Add additional cursors to the text using a keyboard shortcut or by clicking on the text with your mouse.
- Make your changes to the text. The changes will be applied to all lines with a cursor.
Some editors may also have additional features or options for multiline editing, such as the ability to add or remove cursors, or to extend the selection to cover multiple lines.
Visual Studio Code (VSCode)
Visual Studio Code" (VSCode") is a free, open-source code editor developed by Microsoft". It is a lightweight, cross-platform editor that is designed to be easy to use and customize, with a focus on productivity.
VSCode" is widely used by developers for a variety of programming" languages and tasks, including:
- Web development: VSCode" provides support for HTML", CSS, JavaScript, and other web development languages. It also includes a built-in debugger and integrations with popular web development tools such as Node.js and npm.
- Data science: VSCode provides support for popular data science languages such as Python" and R, and includes tools such as a Jupyter Notebook" editor and a data viewer.
- Cloud development: VSCode includes integrations with popular cloud platforms such as Azure", AWS, and Google Cloud, and allows you to deploy your applications directly from the editor.
- Mobile development: VSCode provides support for popular mobile development languages such as Java", Kotlin", and Swift, and includes integrations with tools such as Android" Studio and Xcode.
VSCode" is highly customizable, with a wide range of extensions and themes available to enhance the editor’s capabilities and appearance. It is also integrated with Git" and other version control systems, making it easy to collaborate with other developers.
Notepad++
Notepad++ is a free, open-source text editor developed for Windows". It is designed to be a lightweight and fast alternative to the built-in Windows" Notepad" application, with additional features such as syntax highlighting and support for multiple languages and file formats.
Some key features of Notepad++ include:
- Syntax highlighting: Notepad++ can highlight syntax for over 50 programming languages, making it easier to read and write code.
- Support for multiple languages and file formats: Notepad++ can handle a wide range of languages and file formats, including HTML", XML", C++, Java", and many more.
- Customizable interface: Notepad++ allows you to customize the appearance of the editor with different themes and fonts.
- Find and replace: Notepad++ includes advanced find and replace functionality, including support for regular expressions and the ability to search in multiple files at once.
- Plugins: Notepad++ has a plugin system that allows you to extend the editor’s functionality with additional features and tools.
Notepad++ is a popular choice for developers and other users who need a simple, lightweight text editor with advanced features. If you are looking for an alternative to the built-in Windows" Notepad" application, Notepad++ may be a good option to consider.
VSCode vs Notepad++
Visual Studio Code" (VSCode") and Notepad++ are both free, open-source text editors that are popular among developers and other users who need a simple, lightweight tool for writing and editing code. Both editors are designed to be fast, lightweight, and easy to use, and they offer a range of features to make coding easier and more efficient.
Here are some key differences between VSCode" and Notepad++:
- Platforms: VSCode" is a cross-platform text editor that is available for Windows", Linux", and macOS. Notepad++ is only available for Windows".
- Language support: VSCode" provides support for a wide range of programming languages and file formats, including HTML", CSS, JavaScript, Python", C++, and many more. Notepad++ also supports a wide range of languages, but its support is slightly more limited than VSCode".
- Debugging: VSCode" includes a built-in debugger that allows you to step through your code, set breakpoints, and inspect variables. Notepad++ does not have a built-in debugger.
- Extensibility: Both VisualSC and Notepad++ have plugin systems that allow you to extend the editor’s functionality with additional features and tools. However, VisualSC has a larger and more active community of developers creating plugins, so it may have more options available.
- User" interface: Both VSCode" and Notepad++ have customizable User" interfaces, but VSCode" has a more modern and feature-rich interface, with support for tabs, split view, and a range of customization options.
Ultimately, the choice between VisualSC and Notepad++ will depend on your specific needs and preferences. If you are looking for a cross-platform editor with a wide range of language support and advanced features, VisualSC may be a good choice. If you are looking for a simple, lightweight editor that is focused on speed and efficiency, Notepad++ may be a better option.
Visual Studio Code (VSCode Edit all rows) Multiline Multi-Cursor
n Visual Studio Code" (VSCode"), you can use the “Multi-Cursor” feature to edit multiple rows at once. This allows you to make the same change to multiple lines of text simultaneously.
VSCode Column Edit
To use the multi-cursor feature in VSCode", follow these steps:
- Select the text that you want to edit.
- Press
Alt
+Shift
+Up/Down Arrow
to add additional cursors to the text. You can also pressCtrl
+Alt
+Up/Down Arrow
on Windows" orOption
+Alt
+Up/Down Arrow
on Mac. - Make your changes to the text. The changes will be applied to all lines with a cursor.
You can also add additional cursors by clicking on the text with your mouse while holding down the Alt
key.
Note that the multi-cursor feature only works when you have the same text selected on multiple lines. If the text is different on each line, you will need to make the changes individually.
The following gif shows how to remove columns from all marked rows and how to add any text.
Key combination Shift + Alt
To be able to edit the text, position the mouse cursor where you want to start editing, then hold down Shift + Alt and press the left mouse button. We can use arrows instead of mouse.

Notepad++ (Alt + Mouse)
In Notepad ++, the situation is very similar, but only the key combination is equal. Namely, hold down the key: Alt and select the area you want to edit with the mouse cursor.
n Notepad++, you can use the “Multi-Editing” feature to edit multiple rows at once. This allows you to make the same change to multiple lines of text simultaneously.
To use the multi-editing feature in Notepad++, follow these steps:
- Select the text that you want to edit.
- Press
Alt
+Shift
+Up/Down Arrow
to add additional cursors to the text. You can also pressCtrl
+Alt
+Up/Down Arrow
on Windows" orOption
+Alt
+Up/Down Arrow
on Mac. - Make your changes to the text. The changes will be applied to all lines with a cursor.
You can also add additional cursors by clicking on the text with your mouse while holding down the Alt
key.
Note that the multi-editing feature only works when you have the same text selected on multiple lines. If the text is different on each line, you will need to make the changes individually.
Summary
Both of these tools are inseparable in everyday work. Often, tedious editing can make life difficult and we don’t need to waste time on it. Knowing these types of tricks, we will save ourselves a lot of nerves and most importantly – time, which is priceless!
I hope this helps! Let me know if you have any other questions about using the multi-cursor feature in VSCode" and Notepad++.
Could You Please Share This Post?
I appreciate It And Thank YOU! :)
Have A Nice Day!