With Karma you’d boot up the browser and use its F12/Developer Tools to debug the tests. Jest, being optimized for CLI and specially CI/CD environments, does not come with the same simplified debugging experience. However, you can tap in to VS Code’s debugger for perhaps, even a better toolset. Setting it up on a per project basis does require few manual steps and this post is about a simple Powershell Script that lets you skip even that.Continue reading “Debugging Jest test project with VS Code (and NX, Angular, Powershell)”
If you are working on several closed-source projects and have many internal libraries that you wish to share as NuGet packages, you’d be looking for a way to privately host those packages. We had been using Azure DevOps Artifact Feed for this purpose. However, with the release of GitHub Packages we’ve started moving our packages there as all our devs were already on GitHub and we didn’t have to reprovision AzDO Package Management feature for those who weren’t really creating or maintaining build pipelines.
Following is what we did to keep our build pipelines in Azure DevOps and post the NuGet packages that they built in to GitHub Packages. Continue reading “Consuming, Building and Publishing private NuGet Pacakges to GitHub Packages with Azure DevOps Pipelines”
A “pattern”, in Fast New File extension, is basically a regular expression that maps the file name you entered, to a Visual Studio Template. The extension has a few common patterns built in. These patterns,
MyType.csto the C# Class template and creates a class named
IMyType.csto the C# Interface template and creates an interface named
If you need custom mappings though, the good news is that this list of patterns are entirely overridable. Continue reading “How to create a Template Mapping for “Fast New File (FNF)” extension”
Get the Extension from the VS Marketplace.
Features Inherited From AddAnyFile
- Easily create any file with any file extension
- Create files starting with a dot like
- Create deeper folder structures easily if required
- Create folders when the entered name ends with a
Shift+F2keys to start creating a new file