This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 268690

Summary: Diff tool truncates extensions in built-in editor
Product: utilities Reporter: soldatov <soldatov>
Component: DiffAssignee: Ondrej Vrabec <ovrabec>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.2   
Hardware: PC   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: screenshot

Description soldatov 2016-10-26 09:13:39 UTC
Our tools generates a lot of files with same names but different extensions. For example:
file.cfg.20161024
file.cfg.20161025
file.cfg.20161026

In Projects or Favorites tab I can select 2 files and call "Tools|Diff..." context menu item

Minor problem:
I see "file.cfg <-> file.cfg [Diff]" tab

Real problem:
If I select "Textual" tab I see:
# This patch file was generated by NetBeans IDE
# It uses platform neutral UTF-8 encoding and \n newlines.
--- a/file.cfg
+++ b/file.cfg

In this mode I confuse files.
Comment 1 soldatov 2016-10-26 09:19:23 UTC
Created attachment 162645 [details]
screenshot