Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Comparing local and remote files in NetBeans

Is there a way to compare local and remote (FTP) file in NetBeans?

There is an upload (and download) command in NetBeans. What I want to do is to see the changes between local and remote version in built-in compare tool when I am using download and upload and ideally select which changes to apply.

In short, I would like to sync local and remote files using NetBeans' compare tool.

like image 922
Josef Sábl Avatar asked Sep 22 '09 13:09

Josef Sábl


3 Answers

Right click + synchronise. A new window appears. Then select the "Review difference" icon.

like image 68
sdemonti Avatar answered Oct 28 '22 02:10

sdemonti


PHPStorm can do it. The same setup as Netbeans, with your local files which can be uploaded to the server with a click, but you can do a lovely visual diff with the remote version with one click too. If you're not working with PHP, i think they have other very similar products. Only downside is it's £80 for a license.

like image 28
chichilatte Avatar answered Oct 28 '22 02:10

chichilatte


  1. Select a file in the main editor or in Files/Projects panel
  2. Select Tools->Diff and a new window will open allowing you to select the file to "Diff to"

Available as code or text difference. Very good

like image 1
Neil Connolly Avatar answered Oct 28 '22 02:10

Neil Connolly