How to Hide or Show Line Numbers in Visual Studio Code

Опубликовано: 01 Январь 1970
на канале: HDEV Coder
961
15

🔥 Subscribe for more:    / hdevcoder  
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 numbers in files out of the box. No problem, I’ll show you how to create your own toggle line numbers on/off keyboard shortcut, in 3 quick steps.


"settings.cycle": [{
"id": "lineNumbers",
"values":[
{
"editor.lineNumbers": "off",
"editor.folding": false,
"editor.glyphMargin": false
},
{
"editor.lineNumbers": "on",
"editor.folding": true,
"editor.glyphMargin": true

}
]
}],


{
"key": "cmd+l",
"command": "settings.cycle.lineNumbers",
"when": "editorFocus"
}
🎓More tutorials you may like
● Fix Flutter Firebase Common Problems [2022] :    • Fix Flutter Firebase Common Problems ...  
● Onboarding Screen Design from Scratch without any library:   • Flutter Onboarding Screen Design from...  

#shorts

📡 Social Media
GitHub: https://github.com/HDEVCODER
Twitter:   / coderhdev  
Web: https://hdevy.blogspot.com

#Flutter #Tutorial #hdevcoder

Thanks for watching!
Make sure to like + Subscribe For More!