Format JSON in Sublime Text 4

I like Sublime Text 4 as a fast and versatile editor. Unfortunately, I always forget the command to format JSON files. This is mainly because it takes more steps than one single key combination: CTRL + SHIFT + P to open the Command Palette Start to type “pretty”: Select “Pretty JSON: Format JSON” Be aware, …

Read more

What to Do if GitVersion Does Not Recognise Your Main Branch

At the user group site, we use GitVersion to turn our git history into a Semantic Version number. After we switched to main as the default branch, our build failed with this error message: ERROR [****] An unexpected error occurred: System.InvalidOperationException: Could not find a ‘develop’ or ‘master’ branch, neither locally nor remotely. GitVersion did …

Read more