Hi All,
I would like to know if there is a plugin available for Eclipse, which would assist with auto-complete for the keys available in java properties file? I do not have much experience in java and I would like to know, how difficult it would be to develop such a plugin in eclipse for a fresher in java
Eg:
UIMappings.properties file
#Login Page
LoginPage.UserName=Loginusername-inputE1
LoginPage.Password=Loginpassword-inputEl
Expected Behaviour:
Public class UIProperties {
private static Properties prop = new Properties();
public static void main(Sting[] args) {
try {
prop.load(getClass().getClassLoader().getResourceAsStream("uiMapping.properties"));
prop.get(Auto-completion of the keys) // Example LoginPage.UserName as a suggestion as we type Login
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}
}
Thank you
Anil