How can we disable autocomplete?

Got to 'Settings' > 'Preferences' > 'Auto-Completion' and untick 'Enable auto-completion on each input'

How can we configure Notepad++ to automatically reopen files from previous session?

  1. Go to Settings -> Preferences -> Backup
  2. Check the check box labeled with 'Remember current session for next launch'
  3. Make sure that the other check box is checked, and make sure that we specify a custom backup directory as well.

What features does Notepad++ have?

Notepad++ is an excellent text editor for the Windows platform. It supports:

  • multi-view / split-screen: You can split the screen, and open the same document in multiple views (handy when you need to keep one section of the document visible while editing another section of the same document)
  • bookmark: Like Vim, you can bookmark lines so that you can later return to previously bookmarked position. CTRL+F2 to bookmark the current line
  • brace and indent guide highlighting: This is handy if we need to identify the corresponding brace (see if we are missing the closing brace), or see if we are missing the closing tag
  • search / replace across opened documents with support for regular expression
  • compare with last save
  • compare with svn
  • spell-checking
  • syntax highlighting

How can we use Notepad++ as an IDE for Java or PHP development?

  1. - printed
  2. - printed
  3. - printed
  4. - printed

How can we use Ant with Notepad++ / How can we execute an Ant file from inside Notepad++?

  1. - printed
  2. - printed
  3. - printed
  4. - printed

What are some handy plugins?

  • MultiClipboard
  • XML Tools
  • WebEdit (for editing HTML)
  • HTML Tag
  • Indent by Fold
  • JSLint
  • JSMin
  • JSON Viewer
  • NppAutoIndent

How can we install a plugin?

  1. Open Plugins Menu > Plugin Manager

How can we format JSON?

  1. Install JSON Viewer
  2. Copy and paste unformatted JSON into Notepadd++
  3. Highlight the unformatted JSON and click on Plugin -> JSON Viewer -> Format JSON

How can we format XML document?

Install XML Tool plugin. Restart Notepad++. Open the XML document. Choose one of the pretty print options available under Plugins -> XML Tools

How can we format HTML documents?

Notpad++ has builtin HTML tidying feature under TextFX -> TextFX HTML Tidy. HTML Tidy is a project of reformatting/transforming HTML source. and Notepad++ got TextFX plug-in and can work with HTML Tidy. As installed, HTML Tidy will not do much - it requires a configuration file to activate it. For Notepad++, create a text file in the folder plugins\NPPTextFX under your Notepad++ installation folder, and name it tidycfg.ini. After creating the file, select TextFX -> TextFX HTML Tidy -> Refresh Menu from TidyCFG.INI from the menu to load the file in Notepad++. Notepad++ will then show a list of possible actions in the TextFX -> TextFX HTML Tidy menu. Just followed the instructions to make the tidycfg.ini file and put those basic formatting rules. By running this rule under Notepad++, the html source will be re-indented to tag-view-friendly indention for us to check the layout and debug. See also:

How can we add the "Edit with Notepad++" to the context menu?

Follow instruction from:

How can we delete matching lines?

  1. Press CTRL+F to launch the Find dialog
  2. Click on the Mark tab
  3. Provide the search text or regular expression
  4. Select the Bookmark Line check box, then click the Mark All button. This will bookmark all the lines containing the search term, you'll see the blue circles in the margin.
  5. In the top menu, select Search -> Bookmark -> Remove Bookmarked Lines. This will delete all the bookmarked lines.
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License