Bug 3914 - Duplicate extensions in text search (1GF5WA9)
Summary: Duplicate extensions in text search (1GF5WA9)
Status: RESOLVED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.0   Edit
Hardware: All All
: P3 critical (vote)
Target Milestone: ---   Edit
Assignee: Erich Gamma CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-10-10 23:02 EDT by Dani Megert CLA
Modified: 2001-10-24 07:24 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dani Megert CLA 2001-10-10 23:02:57 EDT
If the text search dialog is opened while nothing
	is selected, all registered extensions are added
	to the extension list. If the dialog is opened with
	a selection (e.g. Java cu) then the proposed extension
	is java.

	Reason: editor mappings now allow mappings from a file to an editor
	and therefore it can happen that an extension appears more than once.

	Possible fixes:
	1) Only allow/show extensions
	2) Use the editor mapping as is i.e. also allow file names


NOTES:
DM (8/3/01 5:44:19 PM)
	Showing the extensions makes more sence.

DM (8/6/01 11:46:03 AM)
	Code which references extensions is now using sets.
	Fixed in 2.0 stream
Comment 1 Adam Kiezun CLA 2001-10-12 06:47:59 EDT
mark as fixed
Comment 2 DJ Houghton CLA 2001-10-24 07:24:38 EDT
PRODUCT VERSION:
	0.122