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.
Esta historia es de la edición September - October 2024 de CODE Magazine.
Comience su prueba gratuita de Magzter GOLD de 7 días para acceder a miles de historias premium seleccionadas y a más de 9,000 revistas y periódicos.
Ya eres suscriptor ? Conectar
Esta historia es de la edición September - October 2024 de CODE Magazine.
Comience su prueba gratuita de Magzter GOLD de 7 días para acceder a miles de historias premium seleccionadas y a más de 9,000 revistas y periódicos.
Ya eres suscriptor? Conectar
Career Development and Staffing reinvented
You think great talent and cool positions only exist in Silicon Valley? Think again!
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.
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.
Job-Oriented Programming and Pointers in a Scripting Language
This article is about using job-oriented programming and pointers in a scripting language.
More VS Code Tips
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
CODE: 10 Years Ago
In this article, I'm continuing our journey through the last 30 years of anything related to CODE. We're starting to arrive in a reasonably modern era. In fact, when I researched some of the background information for this article, I was continuously surprised that some of these things were a decade ago. Some of the topics discussed in this article seem like they happened
Store Application Performance Metadata in a Database Using AOP in ASP.NET Core
Aspect-Oriented Programming (AOP) is a programming paradigm that attempts to increase the modularity, maintainability, and flexibility of your application while overcoming the traditional Object-Oriented Programming (OOP) limitations.
From Flat to Fantastic: Going Spatial with 2D Applications
The world of head-mounted display HMD) hardware technologies is buzzing with recent advancements, sparking a wave of fresh interest among consumers. From virtual reality VR) and mixed reality MR) to spatial computing, major tech companies and new startups alike are actively investing the launch of the next generation of immersive computing devices.
Exploring .NET MAUI: Getting Started
Unlock the true potential of cross-platform development with eXtensible Application Markup Language XAML) and NET MAUI Multi-platform App Ul). Say goodbye to the frustration of writing code for each platform separately. With NET MAUI, you can develop powerful business applications that run seamlessly on Windows, Android, Mac, and iPhone devices.
VS Code Tips
I'm a huge fan of VS Code, and suspect I'm not the only one. We've emerged from a world of very heavy IDEs Integrated Development Environments). Many of them are still around. They're specialized IDEs that do some things very well, and a very popular one is Visual Studio. Visual Studio has been around for quite some time.