Small Tips on Notepad++


                        Small Tips on Notepad++

Notepad++ is a great free source code editor and Notepad replacement, which supports several programming languages.

Useful Notepadd+ keyboard shortcuts
Ctrl+o      Open
Ctrl-Z      Undo
Ctrl-Y       Redo
Ctrl-D      Duplicate Current Line
Ctrl-L       Delete Current Line
F3      Fine Next
Shift-F3        Find Previous
Ctrl-G      Launch GoToLine Dialog
Ctrl-W      Close Current Document
F11         Toggle Full Screen Mode
Ctrl-Tab        Next Document
Ctrl-Shift-Tab Previous Document
Ctrl-Shift-Up  Move Current Line Up
Ctrl-Shift-Down   Move Current Line Down   
Ctrl-Shift-BackSpace     Delete to start of line
Ctrl-Shift-Delete      Delete to end of line
Ctrl-U      Convert to lower case
Ctrl-Shift-U    Convert to UPPER CASE
Shift-Tab (selection of several lines) 
Remove Tabulation or Space (outdent)

Formatting xml
1. Select the xml code
2. TextFX -> HTML Tidy -> Tidy: Reindent XML
 
Delete the first word/space/line no’s
TextFX > TextFX Tools > Delete Line Numbers or First word

Remove the trailing spaces
TextFX > TextFX Edit > Trim Trailing Spaces

Remove Blank Lines
TextFX > TextFX Edit > Delete Blank Lines
TextFX > TextFX Edit > Delete Surplus Blank Lines
Install notepad++ plugin
    Just search and download plugin from http://npp-plugins.sourceforge.net/, and extract it, you will find .dll files, copy them to notepad++/plugins/ directory, and restart np++.

Useful notepad++ plugins
Notepadd++ already includes:
Mime Tools   Base64 encode/decode,
TextFx          provides many practical function such as upper/lower case, escape/unescape, auto-close XML,
nppExport     Export file to RTF/HTML format.

Explorer Plugin – a file browser
Windows Manager - help to switch a file to another.

Multi Clipboard - add up to ten text phrases to the clipboard.
Compare Plugin - show the difference between 2 files.
XML Tools - XML Checker. Can auto-close tags and provides other useful features.

Customize Notepad++
    In this article, the author introduces a way to port ANY Textmate theme over to Notepad++.

Resources:

Labels

adsense (5) Algorithm (69) Algorithm Series (35) Android (7) ANT (6) bat (8) Big Data (7) Blogger (14) Bugs (6) Cache (5) Chrome (19) Code Example (29) Code Quality (7) Coding Skills (5) Database (7) Debug (16) Design (5) Dev Tips (63) Eclipse (32) Git (5) Google (33) Guava (7) How to (9) Http Client (8) IDE (7) Interview (88) J2EE (13) J2SE (49) Java (186) JavaScript (27) JSON (7) Learning code (9) Lesson Learned (6) Linux (26) Lucene-Solr (112) Mac (10) Maven (8) Network (9) Nutch2 (18) Performance (9) PowerShell (11) Problem Solving (11) Programmer Skills (6) regex (5) Scala (6) Security (9) Soft Skills (38) Spring (22) System Design (11) Testing (7) Text Mining (14) Tips (17) Tools (24) Troubleshooting (29) UIMA (9) Web Development (19) Windows (21) xml (5)