Tech It Easy: January 2015

Tuesday, 27 January 2015


Code completion support in eclipse/STS/GGTS

Dear Java Friends,

I recently came across the following from Spring News and it is working well for me. Hope it is useful to you as well. 

Code completion support in Eclipse and the Spring Tool Suite is aware of the camel case shortcuts. You don’t need to write NullPointerException, for example. It is enough to type in NPE and hit code completion to let it propose the right class name. This also works with lower case characters in between, so typing on “NuPoiEx” will also trigger the code completion to propose NullPointerException as class name.


Monday, 12 January 2015

"Run"ning easily 

Friends,

Hope all are doing great, just logging my first "tech it easy" post.

We all are used to shortcuts as it makes our life easier, do try this shortcut for any of your day to day activities, it makes your tech life easier.

Image Courtesy: cdn.marksdailyapple.com/


I have recently started  RUNning (using run in Windows OS for most used tools, IDEs, batch scripts and folders). I learnt this from one of my friends, Thirumal. Special thanks to him and hope this would be useful to you in one way or the other.

Main key/trick is to add a specific folder to your path (Environment variable) where you have all the .lnk (shortcut files), batch scripts etc., so that all of those are available on CMD and on RUN.

Step 1: Create a folder in any drive with any name of your choice (ex: 'E:\shortcuts').
Step 2: Put all your shortcuts and batch files in that folder.
Step 3: Append the location to your PATH variable in system environment variables (type sysdm.cpl in run and hit enter it would take you there).











You are ready to go :)

To open Google Chrome I need to type ch (case insensitive) in RUN and hit enter.


sky - skype, out - outlook, jd - java de-compiler, sts - spring tool suite ....

ev - environment variables ( use control.exe sysdm.cpl,System,3 as target of the shortcut file)
and to go to the shortcuts folder sh (use target as your shortcuts folder ex: 'E:\shortcuts')

To create new shortcut : right click on empty area on the shortcuts folder, go to New and click on shortcut as below.


select your intended exe, batch file or a folder then give the name as follows


My shortcuts list is below...




Cheers  :) and please do share your comments below.. hope to catch you soon on another "tech it easy" post.