While programming in Java, there is a frequent requirement to check if an Enum contains a given String value. There are multiple ways to validate this. But I find the EnumUtils class of Apache Commons Lang the most convenient to
How to show line numbers in Eclipse
Although it is seems simple but I’ve seen people struggle with this. Therefore, I decided to put a real quick post on how to show line numbers in Eclipse editor. There are two ways to enable line numbers in Eclipse.
How to set maximum line length in eclipse
To set the maximum line length in Eclipse, open Eclipse and in the menu bar, go to Window -> Preferences and in the pop-up window, go to Java -> Code Style -> Formatter. This will open up the Formatter options
How to install a Python package in Eclipse
In my previous blog I talked about How to install Python PyDev plugin in Eclipse. In this blog, I’ll show how to install a python package in Eclipse using pip. pip is a tool for installing Python packages. To use
How to install Python PyDev plugin in Eclipse
Eclipse is a favourite tool for Java/JEE developers (including me 🙂 ). When I started learning Python, I wanted to use Eclipse as my preferred IDE for Python development. I found out that PyDev is one good open source plugin
How to change user name in Eclipse code templates
When a new code file is created, the author name in the @author is set to the value which is taken from the user.name environment variable. One way to override this value is to modify the eclipse.ini file. Following are
How to change default HTTP port number in Wildfly
With more than one server installed on a machine, the most common problem is the same HTTP port 8080 being used in all the default server configurations. In this blog I’ll demonstrate how to change default HTTP port number in
How to install Java Decompiler for Eclipse
Often there is a need to decompile third party or standard Java classes to understand their code. But there is no built-in Java decompiler for Eclipse. However there are freely available external plugins which can be installed in Eclipse to
How to install SAPUI5 in Eclipse
SAPUI5 is a new user interface technology from SAP that is based on the open standards HTML5 and CSS3, the JavaScript scripting language, and the jQuery library. This blog talks about how to install SAPUI5 in Eclipse IDE. SAP has
How to attach JDK source code in Eclipse
Often while debugging Java applications, it is required to view the source code of standard Java classes. This post describes how to attach JDK source code in Eclipse IDE. Step 1 Open Eclipse and go to Window -> Preferences Step