Tech Talk A software developer on all things tech, and then some

8Jun/121

Multiple Windows of Notepad++

I use Notepad++ all the time for both home and work, whether I'm debugging or formatting HTML, PHP, C#, etc... I had an issue recently however where it would have been nice to have multiple instances on different monitors. So I searched their site for anything to create new windows and found exactly what I needed, their command line options wiki page (Command Line Switches). Turned out, -multiInst is the switch needed to create new windows.

To help those unfamiliar with using Command Line Options, here is a quick run through on what you need to do.

  1. Either hit your windows key, type notepad++, and drag to your desktop or right click your desktop and go New -> Shortcut and browse to the executable. Both of these methods will bring you to the same point.
  2. Right click the shortcut. Go to Properties
  3. Go to the end of the text in the target field and insert -multiInst.
Your target field should read something similar to the following
"C:\Program Files (x86)\Notepad++\notepad++.exe"  -multiInst

You should be able to now open multiple instances of Notepad++.

7Feb/120

Autocompletion for NotePad++

I know I know, Notepad++ is a text editor, not a IDE. However we can do a few things to make our lives easier when programming in Notepad++ such as enabling some basic code completion. To set this up go to Settings -> Preferences , then to the Backup/Auto-Completion Tab. There will then be option under the Auto-Completion group to Enable auto-completion on each input then a selection for either function completion or word completion. To make Notepad++ behave a little closer to intellisense, go ahead and set to word completion and enable Function parameters hint on input.

After enabling you will notice you will have both function completion for know functions in the included languages and word completion for dictionary words, reserved keywords, and variables that you have created within your code file.

There you have it, a little code completion in Notepad++! To find some plugins that might help with non common languages, you can visit SourceForge's Plugin Central for Notepadd++. Happy Coding!

   
%d bloggers like this: