Is there a way to enable line numbers in zen mode for VSCode ?
HaaLeo's answer above gets the job done but it's far easier to do it through the UI. ctrl + , to bring up the Settings page, type "Zen Mode" in the search bar and disable the "Zen Mode: Hide Line Numbers" option.
You can show or hide line numbers in your code. Here's how. On the menu bar, choose Tools > Options. Expand the Text Editor node, and then select either the language you're using or All Languages to turn on line numbers in all supported programming languages.
Zen Mode lets you focus on your code by hiding all UI except the editor (no Activity Bar, Status Bar, Sidebar and Panel) and going to full screen. Zen mode can be toggled using the View menu, Command Palette or by the shortcut Ctrl+K Z. If you prefer not to transition to full screen, that can be disabled via window.
Insert Numbers - Visual Studio MarketplaceSelect multiple locations where you want the variables to be sequentially numbered, using [Option] + [Command] + ↑/↓ , etc. the numbers will be numbered consecutively from 0 like this.
In your settings.json
insert the line:
"zenMode.hideLineNumbers": false
HaaLeo's answer above gets the job done but it's far easier to do it through the UI.
ctrl + ,
to bring up the Settings page, type "Zen Mode" in the search bar and disable the "Zen Mode: Hide Line Numbers" option.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With