.NET 6 introduces a series of new extension methods on System.Linq namespace to ease handling IEnumerable in many ways, such as MinBy, MaxBy, DistinctBy, ExceptBy, IntersectBy and UnionBy. I’ll be...
Linq - Chunk
.NET 6 introduces the new Chunk() extension method on System.Linq namespace to ease splitting an IEnumerable into smaller group of batches, or chunks. IEnumerable<TSource[]> Chunk<TSource...
SOLID 101 - Part 2
In the previous article, I covered the two first SOLID principles, SRP, and OCP. Take it if you still need to read it! The principles are complementary to each other. I will continue and finish ...
SOLID 101 - Part 1
Here we go again to talk about this widely repeated subject. Why are so many internet articles bringing the same explanation about these five famous principles? I consider it necessary enough to...
GitMarker - QuickPick and Pagination
Now and finally, let’s talk about this exciting capability. As for any software, we sometimes need to select existing items as if we were using a dropdown list. For example, with GitMarker, I ne...
GitMarker - Messages and Dialogs
Like any software, GitMarker must communicate with its users straightforwardly to inform the outputs of the user’s actions, provide selectable items, request confirmation, inform errors and exce...
GitMarker - Configuring the extension Settings
Visual Studio Code is flexible that we know. Such flexibility is achieved by having a world of extensions built for everyone’s needs and by allowing configuring them with custom parameters. Wit...
GitMarker - Data Storage and Secrets Storage
At a certain point in the project, I had the main functionalities working as I expected, but one crucial aspect was missing yet: state persistence. There was no point in making a bookmark manag...
GitMarker - Controlling the UI using package.json manifest
{ package.json } Finally, it’s time to discuss the package.json manifest file. According to the documentation, Every Visual Studio Code extension needs a manifest file package.json at the root of...
GitMarker - Building and refreshing a Tree View
Tree Views are certainly one of the most valuable features of Visual Studio Code. It is our visual resource for listing files from a folder or workspace; the experience of using this editor wou...