Diff in NetBeans
I have been using Netbeans since last one and half year. I use the PHP edition since that's what I work on in Netbeans. Netbeans PHP and Javascript support is very good. It provides autosuggest as well as functions metadata which helps me tremendously in getting lot of work done in as little time as possible. Now I'm not going to talk about Netbeans and how good I have found it for LAMP applications development, but rather I'll be focusing on a the tool in question i.e. diff which is provided in Tools menu.
Once we select Diff from Tools menu, netbeans throws up a Open file dialog, using which we select the file we are going to diff against current file (Or file in current tab). Once we have selected other file we are taken to a graphical view where we get to see the difference between both of them highlighted in red/green and blue colors. And this display helps us to quickly navigate to the areas where the files differ.
Also we are shown buttons using which we can insert data from one file to other where there is difference. Above crop of a screenshot shows part of a diff window where red and blue regions show differing code. I have used this diff to check and compare not even code but text, sql files as well as shell scripts.
Once we select Diff from Tools menu, netbeans throws up a Open file dialog, using which we select the file we are going to diff against current file (Or file in current tab). Once we have selected other file we are taken to a graphical view where we get to see the difference between both of them highlighted in red/green and blue colors. And this display helps us to quickly navigate to the areas where the files differ.
Also we are shown buttons using which we can insert data from one file to other where there is difference. Above crop of a screenshot shows part of a diff window where red and blue regions show differing code. I have used this diff to check and compare not even code but text, sql files as well as shell scripts.
Comments
Post a Comment