Notepad2 with syntax highlighting, code folding, auto-completion and API list for about 70 programming languages, bundled with file browser plugin metapath.
Switch branches/tags
Nothing to show
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
build Avoid dynamic load uxtheme.dll since it comes with Windows XP. Dec 6, 2018
doc Update built-in file extension list, add PHP-CS-Fixer (.php_cs). Dec 14, 2018
metapath Remove usages of TEXT() and _T() macro. Dec 9, 2018
res Remove usages of TEXT() and _T() macro. Dec 9, 2018
scintilla Adjust FixSelectionForClipboard() to avoid unnecessary replace. Dec 11, 2018
src Increase font size for header and footer. Dec 16, 2018
tools Update built-in file extension list, add Apache Hive (*.hsql). Dec 3, 2018
wiki @ 9076105 Port Notepad++'s Copy/Cut/Paste binary content feature to Notepad2, f… Dec 10, 2018
.clang-tidy Fix some clang-tidy (LLVM 8.0.0-r347735) warnings: readability-isolat… Dec 6, 2018
.editorconfig format source code. Aug 13, 2017
.gitattributes Fix clang-tidy error. Sep 11, 2018
.gitignore Add clang-tidy configuration file. Apr 13, 2018
.gitmodules Add project wiki as a git submodule. Oct 12, 2018
License.txt Code cleanup: update outdated URL links; add space after comma. Nov 22, 2018
Notepad2.cppcheck add Visual Studio 2017 solution and project. Aug 16, 2017
readme.md Implement full screen mode (ported from SciTE), fix issue #42 and issue Dec 15, 2018
src-grep.bat Fix C4100 (unreferenced formal parameter, -Wunused-parameter). Suppre… Sep 9, 2018
version.sh Remove usages of TEXT() and _T() macro. Dec 9, 2018
version.txt Code cleanup: update outdated URL links; add space after comma. Nov 22, 2018

readme.md

Notepad2 and metapath

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

Changes compared to the official Notepad2 or Notepad2-mod:

  • Code folding
  • 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 and code folding for (see built-in file extension list):
    • Plain Text
    • ActionScript
    • Assembler, Screenshots
      • MASM
      • GNU Assembler
      • NASM
    • Asymptote Vector Graphics Language
    • AutoIt Script
    • AWK
      • GNU AWK
    • Windows Batch Script, Screenshots
    • .NET IL
    • CMake, Screenshots
    • C/C++, Screenshots
    • C#, Screenshots
      • C# Doc
      • Vala
    • CSS Style Sheet
      • Sassy CSS
      • Less CSS
      • HSS
    • Configuration / Properties File
      • Apache Configuration File
    • D
    • Diff/Patch File
    • Doxygen
    • Fortran
      • GNU Fortran
    • F#
    • Go
    • Gradle, Screenshots
    • GraphViz Dot, Screenshots
    • Groovy
    • Haxe
    • HTML, up to 5.2. Screenshots
      • ASP
      • ASP.NET
      • JSP
      • PHP
    • INI Configuration File
    • Inno Setup
    • Boost Jam
    • Java, Screenshots
      • JavaDoc
    • JavaScript, up to ECMAScript 2018, 9ed.
    • JSON Document
    • Julia Script, up to 1.0. Screenshots
    • LaTeX
    • Lisp Script
      • Common Lisp
    • LLVM IR
    • Lua Script
    • Makefile, Screenshots
      • nmake
      • gmake
      • Borland bmake
      • qmake
      • ninja
    • MATLAB, Screenshots
      • Octave
      • Scilab
      • Gnuplot
    • NSIS
    • Pascal
      • Delphi
    • Perl, Screenshots
    • PowerShell
    • Python, Screenshots
      • IronPython
      • Cobra
      • Jython
      • Boo
    • PHP Script, Screenshots
      • PHPDoc
    • Windows Rescouce Script
    • Ruby, Screenshots
    • Scala Script
    • Shell Script
      • Bash likes (sh, bash, dash, ash, zsh, ksh), Screenshots
      • C Shell (csh, tcsh)
      • M4 Macro, limited support
    • Android Dalvik Smali, Screenshots
      • javap
      • Jasmin
    • SQL Query
    • TCL, Screenshots
    • Texinfo
    • Visual Basic
      • VB6
      • VB.NET
    • VBScript
    • VHDL
    • Verilog HDL
    • Vim
    • XML Document, Screenshots
      • XML Schema
      • XML Stylesheet
      • XML DTD SGML
      • 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
    • ANSI Art
    • Many Others
  • API list for:
    • C Standard Library
    • C++ STL
    • MFC Classes
    • Cocoa Classes
    • AutoIt Script
    • CMake
    • C# (class list only)
    • Java (class list only)
    • JavaScript, up to ECMAScript 2018, 9ed.
    • Inno Setup
    • Julia Script
    • Lua Script
    • Python Script
    • PHP Script
    • SQL Query
  • Syntax highlighting for function and type for C/C++ family languages
  • Syntax highlighting for annotation for Java like JVM based languages
  • Syntax highlighting for attribute for C# like languages
  • Syntax highlighting for decorator for Python like languages
  • Folding for plain text
  • 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"
  • 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 replacing Windows Notepad using a clean, unintuitive registry-based method
  • Support adding Notepad2 to Windows explorer context menu
  • Per-Monitor DPI-Aware, improved high DPI display
  • Support rendering using Direct2D DirectWrite, and switch between GDI and Direct2D
  • Experimental support for RTL layout (GDI) and bidirectional (Direct2D), useful for Arabic and Hebrew
  • Support using fractional font size
  • Support Inline IME
  • Support full screen mode
  • Extra support for drag and drop file from Visual Studio, Android Studio, IntelliJ IDEA, etc.
  • Cut, copy and paste binary content.
  • 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
  • Unix-like Operating Systems (Linux, macOS, BSD, etc.) using Wine
  • ReactOS

Screenshots

Download

Notes:

  • The default Win32 build require SSE2 (Pentium 4), which can be turned off if you build Notepad2 and metapath yourself.
  • If you find any bugs or have any suggestions feel free to write proposals/issues and/or provide patches/pull requests.

Contributors:

More information:

Related projects based on (original) Notepad2 and/or Notepad2-mod:

License