Peek Properties JavaDescriptionPeeks out the value of a property when hovered over the property's key in a java file(getProperty method). Features
Setting up the .properties file pathThe default value for the file path is currently open folder /resources/config.properties When the extension gets activated and a java file with a getProperty method is open in the active editor then the input box shows up and asks for the path to the properties file. If the input box was ignored or a invalid path which has no .properties file was given then a warning message will be displayed and the default path is taken into account. You can set the path anytime by right clicking in the editor context menu and selecting the option "Set a new .properties file Path". This opens up the same input box and overwrites the existing path. UsageIn a .java file, when hovered over the argument of the getProperty() method, a message box opens and it displays the value of the corresponding argument. How it worksIt takes the argument inside the getProperty() method as an input and then goes to the properties file whose path was already provided where it finds the corresponding value for the argument and displays it in a message box to the user. 2.0.0
1.0.0Initial release. Developed by Siva Chandran. |