However, the Command-Line method is not quite a user friendly without GUI support, while GUI support for Comparing Files in Visual Studio only works for invoking either TFS or Git version control, D: Visual Studio Extention for Comparison Tools from Third PartiesĪs discussed in A&B of this article, Visual Studio has a built-in Compare Files Tool, which can be invoked in the condition, either from Command-Line or with GUI in the situations of using Version Control, such as TFS or Git. Other disadvantages of using VS Code are such like you cannot compare two folders, and it is not WITHIN Visual Studio, i.e., if we work with Visual Studio, for the comparison, we have to open another app, VS Code, to do the comparison. Then, the following VS Code instance will include all files in your computer, say, C Drive, Theoretically, you can open all files in one VS Code, and practically, you can do it, such as opening a VS Code instance from the C Drive root folder like this, This is pretty good, one disadvantage is that the two compared files must be opened in the VS Code, but this can be easily reached by open a folder including your two compared files. Right Click another file you want to compare => Compare with Selected, Right-Click one file you want to compare => Select for Compare. Open VS Code with the files you are going to compare. VS Code actually is a good tool for comparison, We skip MS Word because it is especially for office document comparison, not our code comparison. 2, Other Applications, such as VS Code or MS Word These tools are easy to use, for occasional comparison, it is a good choice. Google diff, you will get a bunch of online tools for comparison, such as Diffchecker - Online diff tool to compare text to find the difference,Ĭopy and paste the contents of your two files for comparison into the two frames, then Find Differences, you will get. C: Tools outside of Visual Studio for Files Comparison 1, Online Comparison We will discuss these features in the first article of this article series and then as an alternative, we invoke the Visual Studio built-in Comparison Tools from the command line that we will discuss in the second article in this article series and finally, we discuss the alternative ways to compare files without Visual Studio in the third article. The Visual Studio only supports the GUI Compare Files feature to TFS or Git, the source control tools.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |