About 2,930,000 results
Open links in new tab
  1. Display line numbers for code - Visual Studio (Windows)

    Sep 20, 2024 · This article describes how to show or hide line numbers in your code. On the Visual Studio menu bar, select Tools > Options > Text Editor, and then select either the …

  2. How to Hide or Show Line Numbers in Visual Studio Code

    Oct 28, 2020 · Learn how to hide or show (toggle) line numbers in Visual Studio Code by creating your own keyboard shortcut. VSCode doesn’t have a keyboard shortcut to show or hide line …

  3. Relative Line Numbers in Visual Studio Code | bobbyhadz

    Apr 6, 2024 · To enable relative line numbers in Visual Studio Code: Press Ctrl + Shift + P (or Command + Shift + P on macOS). Note: you can also press F1 to open the Command Palette.

  4. Enable the display of line numbers in Visual Studio

    Apr 5, 2016 · In Visual Studio Code - 2017, you can also directly go to a given line number. There are following three ways to do that. Directly use keyboard shortcut - Ctrl + G. Under menu Go, …

  5. How to enable or disable line numbers in Visual Studio Code

    This tutorial will teach you how to enable or disable line numbers in Visual Studio Code.. The first step is to open Visual Studio Code, and click Settings.. Click Settings.. Type in Line number in …

  6. How to display and hide line numbers in vscode English version?

    Apr 30, 2022 · Let’s take a look at the detailed tutorial. 1. By default, the editor displays the line number. 2. If you want to hide it, we can click on the menu above‘ Code’. 3. Then, on its …

  7. Double Line Numbers - Visual Studio Marketplace

    Display both absolute and relative line numbers. Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter. This is a Visual Studio Code extension that allows you …

  8. visual studio code - Is there a way to make vscode line number field ...

    Jul 4, 2017 · Actually, there is an undocumented setting in Visual Studio Code that will do exactly what you want. It's called "editor.lineDecorationsWidth" , and although you will get some kind …

  9. Dynamically change line-numbering settings in Visual Studio Code

    Apr 25, 2017 · I know I can change the line-numbering in Visual Studio Code to relative by adding the line "editor.lineNumbers": "relative", to the settings.json file, but I am looking for a way to …

  10. Relative line numbers in Visual Studio - Stack Overflow

    Feb 11, 2011 · Since VSCode 1.6 you can set editor.lineNumbers with the value of relative in the settings.json file or in File>Preferences>Settings. In Visual Studio 2022, with VsVim you can …

Refresh