Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » Auto completion for keys in properties file(Eclipse Plugin for Auto-completion of key values from properties file)
Auto completion for keys in properties file [message #1707533] Mon, 07 September 2015 05:09
Anil Varghese is currently offline Anil VargheseFriend
Messages: 1
Registered: September 2015
Junior Member
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
Previous Topic: froglogic Releases Squish GUI Tester 6.0 with BDD Support and Advanced Reporting!
Next Topic:Understanting TPTP trace format
Goto Forum:
  


Current Time: Tue Nov 20 13:11:41 GMT 2018

Powered by FUDForum. Page generated in 0.02059 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top