Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 359940

Summary: [nls tooling] NLS hover shown in place of Java hover
Product: [Eclipse Project] JDT Reporter: Deepak Azad <deepakazad>
Component: TextAssignee: Dani Megert <daniel_megert>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: daniel_megert
Version: 3.7   
Target Milestone: 3.8 M3   
Hardware: All   
OS: All   
Whiteboard:

Description Deepak Azad CLA 2011-10-04 23:20:53 EDT
Hover over any reference of a public string field of org.eclipse.jdt.internal.corext.refactoring.nls.NLSRefactoring class. 

=> The hover says - "The properties file could not be detected", which is not right.
Comment 1 Deepak Azad CLA 2011-10-04 23:53:54 EDT
Ha! 

NLSRefactoring has a field called BUNDLE_NAME, and for finding the accessor class  we look for hard-coded fields bundle name String field names - "BUNDLE_NAME", "RESOURCE_BUNDLE", "bundleName" (see NLSHintHelper line 315)

I suppose the only thing that can be done is to rename NLSRefactoring.BUNDLE_NAME e.g. to NLSRefactoring.BUNDLE_NAME_FIELD
Comment 2 Dani Megert CLA 2011-10-05 08:08:53 EDT
Mixed in master: de2edee12b0bcf250a1bd184bd7daaf6e13e0172
Comment 3 Dani Megert CLA 2011-10-26 04:06:03 EDT
Verified in I20111025-1800.