hello everyone in some tutorial i see some line green like this and i want to understand how to do in my editor. I know it’s only GUI not code but i like to use do you know how to use it?
I seack about function Square it’s with a line from the row 23th till 29th.
Thank you a lot
Hi the lines next to the line numbers in vscode is to do with git. So you must have a git repo initialised. It shows changes in the code that have not been committed yet. Green for new lines of code, blue for modified lines of exisiting code and red for lines that have been deleted.
Im not sure if you have much knowledge on git (if not take mosh’s git course, its great) but its basically like a diffing feature of vscode which allows you to look at your code at a glance and see updates super fast so you know how your git repo is being effected with each change. For sure it comes in handy
1 Like