From EditPlus Wiki
Revision as of 01:19, 10 July 2009 by Frederickmc (Talk | contribs)

Jump to: navigation, search

EditPlus provides a number of powerful and extensible features that make it an excellent text editor for development on the Windows platform. Some of the major features are described below.

User Tools

User Tools are external programs that be run from within EditPlus via the User Toolbar.


EditPlus macros are recorded sequences of key strokes that you can play back to apply a sequence of actions to a file. They are useful for repetitive tasks. Press Ctrl+Q to start recording, or use Tools, Record. You cannot edit them.

A simple example would be "Home, tab, down arrow". Playing back this recording repeatedly would indent some lines.

A more useful example: "Shift+right arrow, Shift+Page down, left arrow". This scrolls the current line to the top of the window.

Function Lists

EditPlus provides the ability to display a dynamic Function List for a file from Search > Function List (Ctrl+F11). Though EditPlus is configured by default to extract functions for C++, Perl, and similar programming languages, it's not hard to add the same functionality for other file types.

Regular Expressions

A regular expression is a pattern (with a special syntax) that can match various text strings. EditPlus has support for some regular expression capabilities built into its Find and Replace functions.

Integrated FTP

You can configure EditPlus to open and edit files via FTP as if they were located on your local file system. However, FTP has serious security problems, primarily the transmission of passwords in plain text over the Internet. It is recommended that you use a program like WinSCP to access remote files securely using SFTP (secure file transfer over SSH). Many people have also complained that EditPlus's native FTP support is prone to crashing, so save frequently.

  • See WinSCP for information on configuring EditPlus as WinSCP's external editor
  • see FTP through external SSH for information on tunneling EditPlus's FTP through SSH using (PuTTY).
  • Note: SFTP option available in latest release; SFTP overcomes the security issue noted above

Integrated Web Browser

Seamless web browser (using Internet Explorer) for previewing the content of your HTML document or Java applet without leaving the editor. Browser window also has common browser commands so you can browse Internet web sites as well as local HTML files.

Managing Projects

Using projects is an easy way to mantain all the related source files together, like a virtual .zip archive.

Command Line Options in EditPlus 3

You can use command line options to override settings in the program, or cause certain behavior when EditPlus opens. See the Help for a list.

Probably the most useful are:

  • -i directory path INI Directory, which is where settings, and lists like recent searches, etc. are stored in *.ini files.
  • -d directory path Startup Directory, which is where the directory window will be when EditPlus starts.
  • -s directory path Syntax Directory, which is where templates, syntax (*.stx), auto completion (*.acp), and clip text (*.ctl) files are located.

For example, if you have two different projects and you want the HTML template to be different, you want the list of last opened files to be different, etc., for each project, you might use these two shortcuts (Properties in Windows):

"C:\Program Files\EditPlus 3\editplus.exe" -i c:\projects\EPini\one -s c:\projects\EPini\one -d c:\projects\code\one

"C:\Program Files\EditPlus 3\editplus.exe" -i c:\projects\EPini\two -s c:\projects\EPini\two -d c:\projects\code\two

You should copy all the *.ini, template.*, *.stx, *.acp, and *.ctl files from C:\Program Files\EditPlus 3\ to c:\projects\EPini\one and c:\projects\EPini\tow

You could have the *.ini files and syntax directory files in different locations, but there is no reason not to have them in the same location. You can then start EditPlus with each of the shortcuts and modify templates and other settings to suit the project.