Properties file Key auto-complete plugin

25 views
Skip to first unread message

Anil

unread,
Sep 7, 2015, 12:59:53 AM9/7/15
to tern-dev
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

Marijn Haverbeke

unread,
Sep 21, 2015, 10:10:28 AM9/21/15
to Anil, tern-dev
Did you see https://github.com/angelozerr/tern.java/wiki/Tern-Eclipse-IDE
? That's all I am aware of (and I haven't used it).

Best,
Marijn
> --
> You received this message because you are subscribed to the Google Groups
> "tern-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to tern-dev+u...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Angelo zerr

unread,
Sep 21, 2015, 10:18:06 AM9/21/15
to tern-dev, anilvc...@gmail.com
The question is out of the scope of tern. 

Tern and tern.java is for JavaCcript autocompletion, not for Java. I suggest you that you post your question to Eclipse JDT (Java) forum.

Regard's Angelo
Reply all
Reply to author
Forward
0 new messages