corner imagecorner image FeaturesPluginsDocs & SupportCommunityPartners

Version Control

File Versioning Diff viewer in the NetBeans IDE
Click image for fullscreen preview

The integrated version control features make the NetBeans IDE a powerful tool for your distributed development team.

Integrated Version Control Tools

The IDE recognizes your existing version-controlled directories automatically. Context menus allow you to quickly update, check out, compare (diff), and rename files, and commit modifications.

CVS, Subversion, Mercurial, Clearcase

Choose between popular version control systems: CVS, Subversion, or Mercurial; the Clearcase plugin is available from the Plugin Manager (Tools > Plugins). The Subversion implementation supports file, http, https, svn, and svn+ssh authentication protocols. The CVS implementation supports pserver, ext, local and fork authentication protocols.

File Status and History

Use the Versioning window to see all recent changes in a directory with one glance. Badges and colors on file names inform you about the file status. Get a quick overview of each file's history, read commit log messages, and roll back changes to previous versions if necessary.

file version control

file version menu

Line-Based Diff Viewer

New, removed, and modified lines are clearly color-coded in the Editor's left sidebar, and quick navigation marks are placed in the errorstripe to the right. Clicking on the left sidebar allows you to roll back individual changes, or to open the Diff Viewer.

Use the Diff Viewer to compare two files side by side, line by line, if immediate and transparent conflict resolution is necessary. The Diff viewer includes a full-featured editor pane so you can resolve merge conflicts in the current file in an intuitive way.

file version revert

 

- Basic IDE and Java Programming Learning Trail