Friday, 11 December 2015

Recover your lost file after Notepad ++ crash or Notepad++ not working.

What if your notepad++ crash while you are updating your file or doing something on notepad++ and suddenly you got error message and  after restart notepad++ you see the file is empty!!!!!!!! I am sure it will make you crazy and your mind will running like electricity ,may be you will loss temper on notepad++.This thing happens with me ones during working on my project. Luckily we have solution if this thing happens to you gain. You can recover your file and its content.

Step 1. When Notepad++ crash

You are updating your file, suddenly following screen appears on your window
source code editor has stopped working. i.e notepad ++ crash !!!.after pressing "Closing the program"
your notepad++ will restart .After restart you will notice you file as blank. Your Mind Also will be BLANK!!!!!!!




Then do not close the notepad++ or not change any things.

Step 2. Locate the file in Notepad++ Cache

Here is simple shortcut to locate the local copy of the file.system always make path for heaven so find it in cache.

Press WinKey+R . Now in run textbox enter the path below.

%APPDATA%\notepad++


Step 3.Create backup of the cache file

After pressing OK button of run window it will open other window like below.Now in backup folder all your edited files present . And Supersonically you will fill safe and Heaven.!!!!!!!!!!!!!!
Locate and copy the file  for backup copy the file on desktop .
After creating backup ,you can restart your Notepad++ (GNU) .

Step 4. Recover the file.

After open backup folder you will see below window in which you will see your last edited file.Open those file using notepad++ or with notepad++.It will open your lost data.

So  next time if notepad crashes while uploading then keep these steps in mind.



Now Be Relex and Carry on your work.Be Happy.

Wednesday, 9 December 2015

Useful Keyboard shortcut for Eclipse



Eclipse Shortcuts


F3                              Jumps to include file or variable declaration/definition.

Alt+← / Alt+→        Navigate through my source to back and forward.

Ctrl+Space               Content assist which proposes methods/member variables and more based on                                                              my typing.

Ctrl+3                      Quick Access let me go to views, perspectives and more

Ctrl+M                     Maximizes the current view or editor. Press Ctrl+M again and it goes back to                                                                   the previous size.

Ctrl+Shift+/             Insert block comment, remove it again with Ctrl+Shift+\

Ctrl+Shift+T           Open an element with wildcard support.

Ctrl+F7                   Switch to next view. Pressing again Ctrl+F7 let you iterate to the next view.

Ctrl+Shift+F7         for previous view.

Ctrl+Alt+h              Opens the call hierarchy.

Ctrl-O                      Open the Quick Outline View.

Ctrl+L                      Jump to Line Number. To hide/show line numbers, press ctrl+F10 and select                                                                  'Show Line Numbers'

Ctrl+F10, then n      Show or hide line numbers

Ctrl+Shift+P            With a bracket selected: jump to the matching closing or opening bracket

Ctrl+↓/Ctrl+↑          Scroll Editor without changing cursor position

Ctrl+D                      Delete Line

Ctrl+Delete              Delete next word

Ctrl+Backspace      Delete previous word

Shift+Ctrl+Y           Change selection to all lower case

Shift+Ctrl+X            Change selection to all upper case

Ctrl+K/Ctrl+Shift+K Find previous / find next occurrence of search term (close find window first)

Ctrl+H                     Search Workspace (Java Search, Task Search, and File Search)

Ctrl+/                       Comment / uncomment line or selection ( adds '//' )

Shift+Ctrl+à /ß   Change selection 

Ctrl + E                   for a list of editor

Ctrl+F6                   for switching to the next editor through a list