notepad4 icon indicating copy to clipboard operation
notepad4 copied to clipboard

Notepad4 (Notepad2⨯2, Notepad2++) is a light-weight Scintilla based text editor for Windows with syntax highlighting, code folding, auto-completion and API list for many programming languages and docu...

Notepad2 and metapath

Notepad2-zufuliu is a modified version (fork) of Notepad2-mod. metapath is a bug-fixed version of original metapath.

License Latest release Downloads

Binaries

Latest development builds (artifacts in Release configuration for each compiler and platform) are available on GitHub Actions and AppVeyor. Or you can build from source, see Wiki.

GitHub Actions (MSVC, Clang, GCC) AppVeyor (MSVC, Clang)
Build status Build status

Screenshots

v4.20.04

Changes compared to the official Notepad2 or Notepad2-mod:

  • Support for bookmarks
  • Option to mark all occurrences of a word or selection, and show matched count
  • Enhanced auto-completion for words and functions
  • Context-based auto-completion for some words
  • Enhanced auto indentation
  • Auto completion for braces, brackets and quotes
  • Syntax highlighting, code folding and API list for (see built-in file extension list):
    • Plain Text
    • ABAQUS
    • ActionScript for ActionScript 3 and 4.
    • Android Smali, Screenshots
    • ANSI Art
    • ANSYS Parametric Design Language
    • Assembler, Screenshots
      • MASM
      • GNU Assembler
      • NASM
    • Asymptote Vector Graphics Language, up to Asymptote 2.70.
    • AutoHotkey_L and AutoHotkey_H Script, up to v2.
    • AutoIt Script
    • AviSynth Script, up to AviSynth 2.6, AviSynth+ 3.6, GScript 1.1.
    • AWK, up to GNU AWK 5.1.
    • Batch Script, Screenshots
    • blockdiag, seqdiag, actdiag and nwdiag
    • C#, up to C# 11.0. Screenshots
    • C/C++, Screenshots
      • Objective-C/C++, Screenshots
      • C Standard Library, up to C2x.
      • C++ STL, up to C++20.
    • CSS Style Sheet, up to 2021 snapshot.
      • SCSS Style Sheet, up to Dart Sass 1.50.
      • Less Style Sheet, up to Less 4.1.
      • HSS Style Sheet
    • CMake, up to CMake 3.20. Screenshots
    • CoffeeScript, CoffeeScript 2.7.
    • Common Intermediate Language
    • Configuration / Properties File
      • Apache Configuration File
    • D, up to D language 2.0.
    • Dart, up to Dart 2.12.
    • Diff/Patch File
    • F#
    • Fortran, GNU Fortran
    • GN Build, up to GN 2019-03-13.
    • Go, up to Go 1.14.
    • Gradle, up to Gradle 6.8, Screenshots
    • GraphViz Dot, up to GraphViz 2.49, Screenshots
    • Groovy, up to Groovy 4.0.
    • Haxe, up to Haxe 4.2
    • HTML, up to WHATWG 2022-04-14. Screenshots
      • ASP
      • ASP.NET
      • JSP
      • PHP
    • INI Configuration File
    • Inno Setup, up to Inno Setup 6.2.
    • Boost Jam, up to Jam 4.4.
    • Java, up to Java 17. Screenshots
    • JavaScript, up to ECMAScript 2022 with JSX and Web APIs.
    • JSON and JSON5 Document
    • Julia Script, up to Julia 1.2. Screenshots
    • Kotlin, up to Kotlin 1.7.
    • LaTeX
    • Lisp Script (Common Lisp, Clojure, Scheme, etc.)
    • LLVM IR, up to LLVM 15.
    • Lua Script, up to Lua 5.4.
    • Makefile, Screenshots
      • nmake
      • gmake
      • Borland bmake
      • qmake
      • ninja
    • Markdown, up to CommonMark 0.30, with following extensions:
    • MATLAB, Screenshots
      • Octave
      • Scilab
      • Gnuplot
    • Nullsoft Scriptable Install System, up to NSIS 3.06.
    • Pascal, Delphi
    • Perl, Screenshots
    • PowerShell, up to PowerShell 7.2.
    • Python, up to Python 3.10. Screenshots
    • PHP Script, up to PHP 8.2. Screenshots
    • Windows Rescouce Script
    • R, up to R 4.0.3.
    • REBOL 3 and Red
    • Ruby, up to Ruby 3.1. Screenshots
    • Rust, up to Rust 1.38. Screenshots
    • Scala Script
    • Shell Script
      • Bash likes (sh, bash, dash, ash, zsh, ksh), Screenshots
      • C Shell (csh, tcsh)
      • M4 Macro, limited support
    • SQL Query
      • SQL Standard, up to SQL:2016.
      • MySQL, up to MySQL 8.0, MariaDB 10.3.
      • SQLite3, up to 3.33.
      • PostgreSQL, PostgreSQL 13.
      • Transact-SQL, SQL Server 2019.
      • Oracle, Oracle 20, incomplete.
    • Swift, up to Swift 5.7.
    • TCL, Screenshots
    • Texinfo
    • TOML File
    • TypeScript, TypeScript 4.7.
    • Visual Basic, VB6, VB.NET
    • VBScript
    • VHDL, up to VHDL 2019.
    • Verilog HDL, up to Verilog 2005 and SystemVerilog 2017.
    • Vim Script
    • WebAssembly, up to wabt 1.0.
    • XML Document, Screenshots
      • XML Schema
      • XML Stylesheet
      • SGML and DTD
      • Ant Build
      • Maven POM
      • Maven Settings
      • Ivy Module
      • Ivy Settings
      • PMD Ruleset
      • Checkstyle Module
      • Tomcat Config
      • Java web.xml
      • Struts config
      • Hibernate config and mapping
      • Spring Beans
      • Apple Property List
      • Android Manifest
    • YAML Document
    • Many Others
  • Toggle fold for specific level, shortcuts: Alt+Number
  • Toggle fold for current block without scrolling back to the block start line, shortcut: Alt+C, or context menu "Toggle Fold"
  • Improved support for Chinese, Japanese and Korean: inline mode IME, word wrapping, word selection, case conversions, etc.
  • Insert new GUID and current timestamps
  • Number conversion between decimal, hexadecimal, octal and binary
  • Display caret location and length of selected text in count of characters
  • Improved support for NFO ANSI art
  • Support various Windows system integration
  • Per-Monitor DPI-Aware, improved high DPI display
  • Support rendering using Direct2D DirectWrite, and switch between GDI and Direct2D
  • Support font ligature with font like FiraCode in Direct2D mode
  • Support color font (Windows 8.1 and above) in Direct2D mode, useful to display color Emoji 😊 and others
  • Experimental support for RTL layout (GDI) and bidirectional (Direct2D), useful for Arabic and Hebrew
  • Support using fractional font size
  • Support full screen mode
  • Extra support for drag and drop file from Visual Studio, Android Studio, IntelliJ IDEA, etc.
  • Other various major or minor changes and tweaks

Supported Operating Systems:

  • Windows XP, Vista, 7, 8, 8.1 and 10, both 32-bit and 64-bit
  • Windows Server 2003, 2008, 2012 and 2016, both 32-bit and 64-bit
  • Windows 10 on ARM64, Windows 8/8.1 on ARM32 (Windows RT)
  • Unix-like Operating Systems (Linux, macOS, BSD, etc.) using Wine
  • ReactOS

Notes:

  • If you find any bugs or have any suggestions feel free to write proposals/issues or provide patches/pull requests.

Contributors:

More information: