Here are the simple steps to compare the contents of two code files in VS Code. So naturally VS code is my go-to tool for file comparison. I am using it for minor project development and even as a simple text editor.
For me, VS Code comes in handy as it is cross platform and I am using it on both macOS and Windows. Even though there are several tools like Beyond Compare, Araxis Merge, etc… which have lot of comparison and merging features, I use Visual Studio Code for quick file comparison during development or otherwise. Lately I got questions asking for a quick lightweight tool to compare code files.