More VS Code Tips
CODE Magazine|September - October 2024
In my previous article in CODE Magazine https://www.codemag.com/Article/240803 1/VS-Code-Tips), shared some of my favorite tips when working with VS Code. As wrote the article, realized that was just brain dumping tidbits I've gathered over many years of using VS Code. The list seemed endless. But what about some larger chunks of tips? Things that every developer
Sahil Malilk
More VS Code Tips

uses and are built into VS Code that can supercharge your development? I thought it might be nice to take a logical break and come back with those larger chunks of items.

Git

These days, if you’re a developer, you most likely use Git. It has sort of become the de facto source control mechanism, whether it’s GitHub, or Azure DevOps, or anything else, chances are you use the Git command quite a bit. It’s therefore natural that VS Code offers some fabulous Git integration.

Right out of the box, VS Code has some Git features built into it. To demonstrate many of these features, I’ll use the source code for MSAL Python hosted at https://github.​com/ AzureAD/microsoft-authentication-library-for-python. But feel free to use any moderately realistic Git-based repo.

VS Code’s Git integration can be accessed by clicking on the sidebar button shown in Figure 1.

You can click on that button and VS Code prompts you to either clone a repo or open a folder. Either way, you can work with Git-based repos right inside VS Code. For now, I’ll clone the MSAL python repo and open it in VS Code. I made a minor modification to the README.md file and added a file, and immediately VS Code’s Git integration shows me that I have changes. In fact, right through VS Code, I can perform common functions, such as staging my changes, reverting my changes, or committing the changes, and give it a decent commit message. I can also click on individual files and view a diff. Additionally, each file shows me a nomenclature showing whether a file is modified, untracked, or deleted. You can see in Figure 2 that I have an untracked and a modified file.

But we know that Git is much more powerful than this basic stuff. If you click the triple dots on the corner of the source control window, you can see a pretty interesting menu. This can be seen in Figure 3.

Diese Geschichte stammt aus der September - October 2024-Ausgabe von CODE Magazine.

Starten Sie Ihre 7-tägige kostenlose Testversion von Magzter GOLD, um auf Tausende kuratierte Premium-Storys sowie über 8.000 Zeitschriften und Zeitungen zuzugreifen.

Diese Geschichte stammt aus der September - October 2024-Ausgabe von CODE Magazine.

Starten Sie Ihre 7-tägige kostenlose Testversion von Magzter GOLD, um auf Tausende kuratierte Premium-Storys sowie über 8.000 Zeitschriften und Zeitungen zuzugreifen.

WEITERE ARTIKEL AUS CODE MAGAZINEAlle anzeigen
Threads, Asynchrony, Parallelism, and Concurrency in C#
CODE Magazine

Threads, Asynchrony, Parallelism, and Concurrency in C#

The concepts of process, thread, and task are fundamental to understanding the working of an operating system. You should have a good understanding of threads and how they work to learn asynchrony, parallelism, and concurrency. This article discusses the concepts related to these concepts in detail with relevant code examples wherever appropriate.

time-read
5 Minuten  |
November - December 2024
Career Development and Staffing Reinvented
CODE Magazine

Career Development and Staffing Reinvented

You think great talent and cool positions only exist in Silicon Valley? Think again!

time-read
4 Minuten  |
November - December 2024
Can an LLM Make a Video Game?
CODE Magazine

Can an LLM Make a Video Game?

In the Summer of 1980, I played Asteroids at a gas station in rural West Texas. I stood on a stool to reach the controls and see the screen. Ever since then, I’ve wanted to make a video game. I’ve also wanted to have the time, skills, and resources to make a video game.

time-read
3 Minuten  |
November - December 2024
First Rule of ARIA: Don't Use ARIA
CODE Magazine

First Rule of ARIA: Don't Use ARIA

As you expand your accessibility knowledge, you've probably heard the term ARIA a few times, maybe with an explanation, maybe not. Let's start there: ARIA (https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA) is a standard from the World Wide Web Consortium (W3C) (https://www.w3.org/) via the Web AccessibilityInitiative (WAI) (https://www.w3.org/WAI/).

time-read
10+ Minuten  |
November - December 2024
Exploring .NET MAUI: Data Entry Controls and Data Binding
CODE Magazine

Exploring .NET MAUI: Data Entry Controls and Data Binding

In the first parts of this ongoing series on exploring .NET MAUI (https://codemag.​com/Article/2408041/Exploring-.NET-MAUIGetting-Started and https://codemag.​com/Article/2409041/Exploring-.NET-MAUI-Styles-Navigation-and-Reusable-UI), you created your first .NET MAUI application and ran that application on both a Windows computer and an Android emulator.

time-read
4 Minuten  |
November - December 2024
CODE Magazine Presents: The State of AI Mini Conference Tour
CODE Magazine

CODE Magazine Presents: The State of AI Mini Conference Tour

CODE has recently started a new series of inperson events focusing on the topic of artificial intelligence and its practical uses in business scenarios.

time-read
2 Minuten  |
November - December 2024
AI with No Internet Connection
CODE Magazine

AI with No Internet Connection

AI, or artificial intelligence; are you bored of hearing about of it yet? Between the stock market and CEO keynotes, we can’t seem to get away from it. It promises to revolutionize everything around us.

time-read
8 Minuten  |
November - December 2024
CODE: 5 Years Ago
CODE Magazine

CODE: 5 Years Ago

And just like that, we've arrived at the last installment of our \"30 Years of CODE\" celebratory column. Wow. Time flies! Seems like \"just the other day\" we had our 30-year anniversary celebration in Orlando, yet that was in December of 2023. But it's even wilder to think back five or six years. \"Just before the pandemic,\" really. How much has changed in those few short years!

time-read
10 Minuten  |
November - December 2024
Career Development and Staffing reinvented
CODE Magazine

Career Development and Staffing reinvented

You think great talent and cool positions only exist in Silicon Valley? Think again!

time-read
4 Minuten  |
September - October 2024
Container Orchestration Using Kubernetes
CODE Magazine

Container Orchestration Using Kubernetes

In my previous article on Docker (\"Introduction to Containerization Using Docker,\" Mar/Apr 2021 issue), I explained what containerization is and how Docker simplifies application deployment.

time-read
2 Minuten  |
September - October 2024