Bug 571021 - [indexer] Allow ctrl-click on property file keys to Java code (and vice versa)
Summary: [indexer] Allow ctrl-click on property file keys to Java code (and vice versa)
Status: ASSIGNED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 4.18   Edit
Hardware: PC Mac OS X
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on:
Blocks:
 
Reported: 2021-02-08 07:06 EST by Juergen Baier CLA
Modified: 2023-04-26 12:25 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Juergen Baier CLA 2021-02-08 07:06:45 EST
Eclipse has good support of standard resource bundles which allow navigating between Java code and properties files.

However, as soon as you use a different lookup mechanism you are lost. Keys in property files seem to be only indexed when used as resource bundles. 

What I would like to have:

If I have a .properties file with key/value pairs then all keys should be indexed. If I ctrl-click on a key then Eclipse should show the matches in all Java files. And the other way around: If I click on a String constant in Java code and the String constant is used as a key in a property file it should be possible to jump from the Java code to the .properties file.
Comment 1 Jeff Johnston CLA 2021-02-08 17:01:13 EST
Moving to JDT core for assessment
Comment 2 Eclipse Genie CLA 2023-04-26 12:20:13 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 3 Juergen Baier CLA 2023-04-26 12:25:10 EDT
I created a GitHub issue for this one: https://github.com/eclipse-jdt/eclipse.jdt.core/issues/899