Notepad++ – Tips and Tricks

Notepad++ arguably one of the best free text editor. Now you can install it in Ubuntu too

( Read – Install Notepad++ in Ubuntu ).

There are many features available in Notepad++.  Few of them are explained here.

( Version — V6.1.5 )

1. Style configuration – Font, Background Color, Syntax highlighting, Font color etc

In the menu click Settings –> Style Configurator

Notepad++ style configurator

There are many options for Setting style as your favourite language, default style,font etc.

Global style is applicable for all files. You can set each language different style.

See below example for an SQL and C program file Syntax highlighting

abc.sql

Notepad++ syntax highlighting

abc.c

Notepad++ syntax highlighting

 

 

 

 

 

 

 

 

 

2. Column editing ( Vertical editing )

Column editing feature is very useful. I think many of the modern text editors lack this feature.

Keyboard Shortcuts –  press Alt+Mouse or Alt+Shift+Down Arrow Key

Menu – Edit –> Column mode

Notepad++ column mode

This is very useful when you have many line items with similar text items.

3. Clipboard History

Clipboard History shows all text copied recently.

Menu — Edit –> Clipboard History

Clipboard History

4. ASCII Chart

Many developers like ASCII Chart handy. Notepad++ has it.

Menu — Edit –> Character Panel

5. Multiple Tabs

Can open files in different tabs

Menu —  View –>

Move/Clone Current Document

6. Google search integration

Suppose I need some help on a keyword  “stdio.h”. No need to open a browser separately and Notepad++ will do it for you. Just highlight the word you want to google and click Run –> Google Search or press Alt+F2.

Also you have many other features in Run menu. Wikipedia Search, Open in many browsers etc.

7. Bookmarks

You can set bookmarks and go through bookmarks.

Menu – Search –> Bookmark –>

8. Find in files

This is an operating system command tool. You can find files in a directory for a word or something

Menu — Search –> Search in Files

Keyboard — Ctrl+Shift+F

9. Upper-case and Lower-case

Menu — Edit –> Convert Case to

Upper-Case – Ctrl+Shift+U

Lower-Case – Shift+U

10. Zoom (Increase/Decrease the Font size dynamically )

Zoom up and down using

Mouse — Ctrl+Mouse+Wheel Up and Don

Keyboard — Ctrl+Num+/-

Menu — View –> Zoom –>

Note :-If you are running Notepad++ in Ubuntu, some of the features may not work as in Windows.

Advertisements

Author: sqlandplsql

To learn more about the Oracle, SQL, PL SQL, Performance Tuning, Database Modeling, Ubuntu, MySQL etc .Suggestions, comments, feedbacks and referrals are highly appreciated.

6 thoughts on “Notepad++ – Tips and Tricks”

  1. Anyone could give me a tip how to syntax-highlight (T)SQL code in an SQL string literal?
    The syntax highlighter highlights it as “string literal”, which is kind of true, but since I’m generating dynamic SQL (yes, this is one of the rare cases when it is the only valid solution), it would really make be nice if it could be done.

  2. I used Menu — Edit –> Character Panel once before, but now it suddenly stopped working. No panel appears. Is this some kind of setting?

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s