Giter Site home page Giter Site logo

notepad-plus-plus / notepad-plus-plus Goto Github PK

View Code? Open in Web Editor NEW
21.6K 638.0 4.4K 247.53 MB

Notepad++ official repository

Home Page: https://notepad-plus-plus.org/

License: Other

Shell 0.09% C 2.95% C++ 79.68% Makefile 1.12% PostScript 0.22% CMake 0.10% Objective-C 0.16% Objective-C++ 1.80% HTML 11.01% QMake 0.04% Python 1.64% Lua 0.05% PHP 0.01% Perl 0.15% Ruby 0.05% NSIS 0.72% Batchfile 0.17% PowerShell 0.04% Nim 0.01% Tcl 0.01%
notepad-official notepad editor windows

notepad-plus-plus's Introduction

What is Notepad++ ?

GitHub release    Build Status     Join the discussions at https://community.notepad-plus-plus.org/

Notepad++ is a free (free as in both "free speech" and "free beer") source code editor and Notepad replacement that supports several programming languages and natural languages. Running in the MS Windows environment, its use is governed by GPL License.

See the Notepad++ official site for more information.

Notepad++ Release Key

Since the release of version 7.6.5 Notepad++ is signed using GPG with the following key:

  • Signer: Notepad++
  • E-mail: [email protected]
  • Key ID: 0x8D84F46E
  • Key fingerprint: 14BC E436 2749 B2B5 1F8C 7122 6C42 9F1D 8D84 F46E
  • Key type: RSA 4096/4096
  • Created: 2019-03-11
  • Expires: 2027-03-13

https://github.com/notepad-plus-plus/notepad-plus-plus/blob/master/nppGpgPub.asc

Supported OS

All the Windows systems still supported by Microsoft are supported by Notepad++. However, not all Notepad++ users can or want to use the newest system. Here is the Supported systems information you may need in case you are one of them.

Build Notepad++

Please follow build guide to build Notepad++ from source.

Contribution

Contributions are welcome. Be mindful of our Contribution Rules to increase the likelihood of your contribution getting accepted.

Notepad++ Contributors

notepad-plus-plus's People

Contributors

alankilborn avatar angrygamer avatar arkadiuszmichalski avatar ashfaaq18 avatar chcg avatar conky77 avatar dail8859 avatar donho avatar edditoria avatar golem777 avatar hugok79 avatar jonandr avatar karlo-f avatar kubalav avatar mere-human avatar milipili avatar nn--- avatar ozone10 avatar p0rsche-911 avatar patriccollu avatar popcorner avatar rddim avatar sasumner avatar schnurlos avatar singhrajenm avatar tmp341 avatar uhf7 avatar xomx avatar xylographe avatar yasmise avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

notepad-plus-plus's Issues

CheckSingleFile Failed!!

2015-05-04_0943
2015-05-04_0945

I get the above two error dialogs when opening multiple files. It seems like it might have something to do with the number of directories and the length of the file name because I couldn't reproduce it with two short file names from somewhere like my desktop folder.
See the images for example directory structures and file names that cause the problem.

I should mention this only started after the most recent update I ran. Before then I never got this error and I've been opening multiple files from a directory structure like the above for years.

Just found that this is a duplicate of several issues already listed on source forge.

Inconsistent visual styles for controls

Notepad++ uses the visual styles (to ensure that common controls are displayed in the user's preferred visual style). The main window, the about box or the plugins manager are using them for example. However some other dialogs don't, like the updater proxy dialog and the update dialog.

Add ownCloud to cloud options (webdav)

Please add ownCloud to cloud options.
Would be perfect to have an open source cloud integration.
ownCloud uses webdav. So maybe other providers would be working too.

Support indication of programming language in files without extension

a native support of auto selecting the right language based on

  • vim comments
  • filenames (without extensions)

would be a really great feature.

files like "Vagrantfile" sould be auto highlighted with the ruby language and so on.

https://stackoverflow.com/questions/1984072/indicate-programming-language-in-a-file-without-extension
https://superuser.com/questions/668713/automatically-use-specific-language-in-notepad-for-files-with-no-extension
http://sourceforge.net/projects/npppythonplugsq/files/Modeline%20Parser/

update fails because of https

I found that site is opened only by https. And notepad 6.7.7 shows this error when I try to update:

1

I use win8.1x64

Bug in Notepad ++ for large files

I have encountered a bug in Notepad++ last version. When I replaced quotes (i. e. ") in a large text file and saved it I founded strange symbols at the end file that had not existed before replacement. Even more, some comas remained after replacement. I have used Notepad++ for two years and never seen anything like that. It is really good multipurpose editor. I think this bug has appeared since 6.3 version.

Macros/Paste don't take "insert" state for text overwriting

To reproduce:

1 - Position the cursor in the middle of some text.
2 - Press insert so the cursor changes to "overwrite" mode.
3 - Write something. Text should be overwritten.
4 - Press the record macro button and write something. Text is overwritten again.
5 - Pres the stop macro recording button.
6 - Press the run macro button. Text is displaced, not overwritten.

The same happens when just pasting some copied text when in insert mode.

Plugin update problems

I'm trying to update some plugins (DSpellCheck and NppFTP), and I'm getting the following error for both of them:
screenshot 2015-05-07 11 48 51
Any suggestions? I'd rather not just blindly accept things especially with the shady nature of Sourceforge lately.

Copy Line Cursor is On Without Selection

Not sure I'm doing this correctly, This a more a request than an issue.

I'd like to be able to copy a line to the buffer without having to select the line. This is a very convenient option inside VS.

Thanks
Joe

Incorrect "Follow current doc." path

When using the "Follow current doc." checkbox in the "Find in files" dialogue, the NPP install folder (where "notead++.exe" is found) is used instead of the actually displayed file's path. This issue is present since a few sub-versions - it sure in which version it occurred first.

Settings not save for User ext. :

Use Case

Web.config files are Xml.
Visual Studio Snippet files are Xml.

Steps to duplicate

  • Install Notepad++.
  • Go to Settings | Style Configurator.
  • Change theme to Deep Black.
  • Under Language select XML.
  • Add the following to user ext. :
    snippet config
  • Save and exit Style Configurator.
  • Close Notepad++ and reopen.

Result

Settings are not saved and do not take effect.

Expected Result

Settings to be saved and immediately take effect.

Cause

User doesn't have write permissions to any files in C:\Program Files (x86)\Notepad++\themes

Workarounds

Workaround 1

  • Add write permission to C:\Program Files (x86)\Notepad++\themes folder (rights are inherited by files).
  • Make change
  • Close already open files as changes don't take immediate effect
  • Re-open files

Workaround 2

  • Run Notepad++ as administrator and make change.
  • Close already open files as changes don't take immediate effect
  • Re-open files

Possible fixes

  • Add write permissions during install (using NSIS's AccessConrol plugin)
  • Save the style to %appdata%\Notepad++\themes and let styles in that folder override files in C:\Program Files (x86)\Notepad++\themes

Wrong link in news RSS feed

I noticed in the rss feed on the website, the link adresses don't have top level domains:

<link>
http://notepad-plus-plus/news/notepad-plus-plus-on-github.html
</link>

Replace in selection doesn't work with column mode selection

After I select a rectangular block of text while pressing Alt key, I wanted to replace some text with another in selected area, but it turns out, the checkbox "In selection" in the Replace (Ctrl+H) window is not active in this case. While selecting in regular mode, it works just fine.
Could it please be fixed?

Thanks,

"checkSingleFile failed!" - "the buffer passed to GetFullPathName was too small!"

I get the following error dialog when I double-click a single file in explorer:

"checkSingleFile failed!" - "the buffer passed to GetFullPathName was too small!"
notepad errors - 1

When I click "OK" I then get another error dialog:

"path that failed:" (shows path of file that was clicked)
notepad errors - 2

The funny thing is that it works without error when I left-click that same file and choose "Edit with Notepad++".

I eventually nailed it down to the path exceeding a certain length (>=165) in a certain directory via a process of elimination. The original file that caused the error is:
_"C:\Users\Gary\Music\Fleetwood Mac\Fleetwood Mac & Clapton 1970-02-05 Boston,MA Tea Party Jam\Fleetwood Mac & Clapton 1970-02-05 Boston,MA Tea Party Jam stereo-M1-SBD.txt"_

The error occurs with the following file (pathname length == 165):
_"C:\Users\Gary\Music\Fleetwood Mac\Fleetwood Mac & Clapton 1970-02-05 Boston,MA Tea Party Jam\Fleetwood Mac & Clapton 1970-02-05 Boston,MA Tea Party Jam stereo-M1-SB.txt"_

but not with this one (pathname length == 164):
_"C:\Users\Gary\Music\Fleetwood Mac\Fleetwood Mac & Clapton 1970-02-05 Boston,MA Tea Party Jam\Fleetwood Mac & Clapton 1970-02-05 Boston,MA Tea Party Jam stereo-M1-S.txt"_

I tried various combinations of filenames/lengths in "C:\Users\Gary\Music\some random directory with a really long path" but couldn't get the problem to occur even with the pathname length >=165. I then tried the following 2 files with more generic filenames in the original directory:
_"C:\Users\Gary\Music\Fleetwood Mac\Fleetwood Mac & Clapton 1970-02-05 Boston,MA Tea Party Jam\xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx164.txt"
"C:\Users\Gary\Music\Fleetwood Mac\Fleetwood Mac & Clapton 1970-02-05 Boston,MA Tea Party Jam\xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx165.txt"
_

The error occurred with the second file but not with the first.

Here's my system/version info:
Notepadd++ v6.7.7
Windows 8.1 64 bit (fully patched)

Current occurrence number when pressing Find Next

When I search for text in a file, in the Find dialog I usually do a Count first to see how many occurrences I am working with. I revise my regex to narrow down my search if necessary. I find the Count feature very helpful.

It would be helpful to know what occurrence number is highlighted currently when looking for text when pressing Find Next (e.g. occurrence 23 of 30).

EntryPoint GetTickCount64 not found in kernel32.dll on startup

An auto plugin update triggered today and this error occurred when npp restarted . Initially it referred to snippets add on so I removed that. The error title then changed to "Notepad++.exe" so I updated to v6.7.7 but the error is still there. Maybe add on is causing it but how to I figure out which one it is? Can I disable all plugins temporarily?

platform: win xp sp2 32bit
npp entrypoint gettickcount64 not found in kernel32 dll

.This is why I dislike updating more than one app and the same time ;-)

Font size/color lost when upgrading

PortableApps version 6.7.5 and later (current 6.7.7). When upgrading to a new version of Notepad++, the user-modified font size and style are overwritten. Request these files not be installed by default unless they do not exist. Installation by user selection (radio button plus restart?) would allow users to deal with more extensive user errors.

Add "Prompt to Save File on Exit" preference

Some where there should be a "Prompt to Save File on Exit". It asks you to save a file on exit when you have "Enable settings snapshot and periodic backup" turned off in the "Backup" preferences but it does not ask you to save the file on exit if you have the preference turned on. Maybe add it as a separate option under it or as a global "Misc" setting.

Select the entire column

Hi,

Could the enhancement be added to address selecting the entire column issue? It is not implemented yet, but would've been very useful.

Default shortcut for File->Reload

Please add a default shortcut key for File->Reload.
It is very useful feature and I feel tired assigning shortcut key every time.

Use registry for Explorer context menu instead of NppShell

Instead of NppShell, you can set some values in registry for Explorer context menu:

[HKCR\*\shell\EditWithNpp]
@="Edit with Notepad++"
[HKCR\*\shell\EditWithNpp\command]
@="\"C:\\Program Files (x86)\\Notepad++\\notepad++.exe\" "%1" %*"

Confirmation prompt for "Close All"?

When I am dealing with tabs I often want to close them. I do this by right clicking on the tab and hitting "Close". However, if I accidentally click on the one below that, "Close All BUT This", it annoyingly closes every single file I had open, which forces me to go back and reopen them all back up. It would be nice if you could add an "Are You Sure?" dialog, or at least move it somewhere else on the list so you can't accidentally click on it.

Incorrect regex matching

Version 6.7.7.
I've removed all plugins apart from the plugin manager.

Here is the simplest case I've came up with:

  • Open a new tab
  • Type/paste at least 380 "a"s
  • Ctrl+F -> with "Regular expression" search mode selected, search for ([^b])*b

1 occurrence is found, which matches the whole text, when of course the document doesn't contain "b".

default FunctionList sorting

I always sort functions by name and have to change the sort order every time I reopen notepad++ for each of my opened files. Please keep the last sort-order as a default for newly opened files as well as open files when reopening notepad++ or provide a setting to define the default sort order.

Refactor plugin-shared code into a separate header

Git has a fantastic feature called a subtree that uses nested repositories to manage project dependencies.

Before anything, There's lots of good information about it:

Refactoring some of the headers into a separate repo would make it far easier for plugin developers to build & maintain up to date plugins, as they could update their copy of the headers with a simple git shell command.

I'm not a plugin developer, but as best I can tell, the very minimal headers that a plugin dev needs to include are roughly:

  • Notepad_plus_msgs.h
  • PluginInterface.h
  • Scintilla.h
  • menuCmdID.h
  • Window.h
  • Docking.h (maybe)
  • DockingDlgInterface.h (maybe)

I came up with this while studying/fixing multiple buffer overruns in HexEdit, which seems to have last updated its copy of the Notepad++ headers in _~2009_.

Font name and size

In the current setup, it is difficult to get to font name and size. (Settings -> Style Configurator)
If that can be placed on the toolbar, it would be great.
In such a graphically rich GUI, it is a bit odd to have to search for font name and size.

You can place it anywhere in the line below
capture

Package code signing

This could be a duplicate (I do not want to be annoying), but that would be great to have N++ package signed and not to get 'Unknown origin' warnings during the install.

I'm aware of at least one CA that offers free code signing certificates for open source projects (https://www.certum.eu/certum/cert,offer_en_open_source_cs.xml ), there could be others as well.

The world is going more secure, HTTPS & signed code is becoming more and more common.
I believe we can make one more great app more secure.

Numeric sorting

Although Notepad++ native sort tend to lock on bigger files and one must use TextFX sorting which works just fine, there is still no way to sort files in numeric order.

Anyone know of any plugin (or some other way) to do that?

Crashes when opening .nfo files

Notepad++ crashes when opening files ending ".nfo" in Windows (you could only open the file by dragging it into N++). It's been an ancient bug...

2015-05-15_23-07-04

Code block boundaries detection bug

When c, c++, javascript syntax highlighting is turned on, end of code block detected incorrectly if comment inside a block contains closing bracket after two slashes:

Toggle search results window

F7 opens the search results but does not close the window when it's open.
Please make F7 a toggle or add a toggle as an extra function that can be assigned a shortcut.
It would be much appreciated. :)

checkSingleFile failed!!

When using context menu extension to open multiple files in Notepad++ I get this error message:

checkSingleFile failed!!
the buffer passed to GetFullPathName was too small!

However, all files are opened correctly afterwards.

System information: Windows 8.1 x64, Notepad++ 6.7.7

Cloud broken in 6.7.7

Hi Don,

The cloud is still broken in 6.7.7. Any idea how to fix ? It is not detecting any cloud services. To be fair, I only have Google Drive installed at the moment but still it's greyed :)

capture

"msvcr120.dll missing" problem in new release 6.7.8

The new release v6.7.8 got the "msvcr120.dll missing" problem.
It's not due to Notepad++ itself, but WinGup ( http://wingup.org/ ), the updater used by Notepad++.

cURL in WinGup has been updated to the latest version for supporting download via https, and the lib curl is built with VS2013 by using nmake.
That makes the error message "msvcr120.dll missing" happen for some machines in which Visual C++ Redistributable Packages ()for Visual Studio 2013) didn't install.
Does anyone know how to set the needed parameter in nmake file ( https://github.com/donho/wingup/blob/master/curl/winbuild/Makefile.vc ) in order to generate the xp compatible binairies (ie. without dependency of any dynamical library)?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.