Monday, September 12, 2011

Intellij IDEA important defualt short cut keys.

These are the mostly used default short cut keys used in Intellij IDEA.
  • Code completion - ctrl+space
  • Go to declaration - ctrl+b - This can be done by clicking on the usage while pressing ctrl.
  • Go to class - ctrl+n
  • Comment/ Uncomment - ctrl+/ or for block comments ctrl+shift+/
  • Complete statement - ctrl+shift+enter
  • Go back - ctrl+alt+left
  • Go forward - ctrl+alt+right
  • Show usage - ctrl+alt+f7 (GIves a pop up list)  alt+f7 (Gives a separate pane below)
  • Parameter Info - ctrl+p
  • Find in path (in the whole project)- ctrl+shift+f
  • Add new class/method - alt+insert
  • Surround the code block - ctrl+alt+t
  • Iterate using a for loop - " iter " tab
  • Fill system.out.println - "sout" tab

If you need the whole short cut key list for windows/linux, you can download the IntelliJ IDEA Default Keymap from here. :)

Saturday, September 10, 2011

Getting rid of the malicious label " Boxbe Waiting List "

This is a problem I recently faced with my gmail account. Without creating one, I got a label with this name in my labels list. Even though I deleted it again and again, this label still appeared in the list.

Later I found a simple solution in getting rid of this malicious label.

All you have to do is, first delete the label from the labels list permanently, then change the password of your gmail account.

I found this as a solution, and hope sharing this will be a help to all the people with this same problem. :)












How to apply different number formats to pages of a word 2007 document

This post would be useful to people who are searching for how to apply different number formats within one word document. That is your document will have roman numbers in the first few pages and then normal numbers in the rest of the document.

1. For this we have to break the document in to sections, so that we can apply different number formats to different sections. Most of the time we do not have to number the cover page of the document. So what we have to do take the cover page as the section 1 and rest of the pages as the section 2. In order to do so, put the cursor in the cover page, then insert a section break as below.


So the cover page and the rest of the pages will now be two different sections.

2. But still these sections will be linked so we have to remove the link to previous section. For this, go to the footer header view, and click on the link to previous button on the ribbon as follows.






Then we can put the cursor on the section we need and insert page numbers.

3. But still there are two option as the numbers, continue from previous section / start at one. According to the requirement we can change this option. Go to insert ---> Page numbers ---> Format page numbers ---> in the page numbering section you can choose the option you need.