• update notepad++

    12
    0 Votes
    12 Posts
    29k Views
    PeterJonesP

    @lιƒєlιηє-__,

    Just press the question mark (?) button in Notepad++, located near the Windows key,

    The Windows key is a physical thing on the keyboard, the ? menu is a graphical element you can click in the Notepad++ menu bar. How a menu-entry can be “near” a key on your keyboard is completely and totally beyond comprehension.

    If you’re going to bother posting to a topic that had been answered and left dormant years ago, the least you could do is not bring in false information.

    (And the advice to “press the question mark (?) button … and click’Update Notepad++'” had already been given in various forms three years ago. So that added nothing new.)

  • Running a macro on all the open docs ?.

    52
    0 Votes
    52 Posts
    10k Views
    Alan KilbornA

    @Alan-Kilborn said in Running a macro on all the open docs ?.:

    Here’s the PS bug report: …

    The aforementioned bug is fixed in PS release 3.0.23.

  • "Join Lines" with trailing whitespace anomaly, older npp versions

    9
    2 Votes
    9 Posts
    472 Views
    Alan KilbornA

    @Neil-Schipper said in "Join Lines" with trailing whitespace anomaly, older npp versions:

    I couldn’t see a way to edit the commit msg

    Well, the owner of it would be the only one with the power to edit it.

    or even leave a comment

    Not everything is commentable.

    so I invite a keener to fix it as the task is beyond my weight class

    No one would really want to expend the tedious effort required to fix it (make the links go to the right place). It’s an unfortunate copy/paste result. Perhaps in the future more attention will be paid to it and Notepad++ could be used to replace # with “base url to Scintilla bug list site”.

  • Read-Only does not work

    8
    1 Votes
    8 Posts
    3k Views
    Alan KilbornA

    @Alan-Kilborn said:

    Ideally there would be three options:

    clear readonly (as it now functions) make readonly in Notepad++ (as it now functions – only disallows you from editing in the buffer – file system attribute unaffected) set readonly (currently missing! would set the readonly attribute in the file system as well as disallow editing in N++ buffer)

    In Notepad++ 8.8.2 and later are two “new” checkmarkable choices at the bottom of the Edit menu:

    5886cb49-dc35-4684-a952-f1d43fd6906e-image.png

    I use quotes because they aren’t entirely new; they replace old items whose functionality has been reworked a bit to cover all needs.

    The menu text is fairly self-explanatory for the functionality.

    Really, the only new part of it is that the readonly attribute in the file system can now be set as well as cleared.

    One more bit of newness: When the file system’s readonly attribute is set on a file, its tab icon will appear with an F on it, presumably standing for “File System”. (Truly, it would have been better for the menu text to have been “Read-Only Attribute in File System”…)

    Also, there can be a double level of protection: If Read-Only in Notepad++ is set first, then the Read-Only Attribute in Windows is applied, Read-Only in Notepad++ will be greyed but still checkmarked. Later if Read-Only Attribute in Windows is removed, Read-Only in Notepad++ will again be enforced.

    I’m sure all this and more appears in the user manual, I’m just modernizing an old thread here in case someone reading this is confused by the now outdated info above.

  • Add New Line Automatically After Pasting

    2
    0 Votes
    2 Posts
    187 Views
    PeterJonesP

    @Fern99 ,

    A few years back, I shared a macro here that pasted the clipboard and then adds a newline sequence. I think this is what you want.

  • Notepad++ replacing '!='

    6
    1 Votes
    6 Posts
    820 Views
    PeterJonesP

    @Michael-Goessmann-Matos said,

    @PeterJones

    Actually, I configured Notepad++ to update as soon as an update is available so I wonder how this could have happend.

    As I said above,

    or you previously had an older version that got upgraded without changing your setting (if you originally had DirectWrite off, and upgraded to a version that had it on by default, it would not generally overwrite your previously-saved setting).

  • 0 Votes
    11 Posts
    451 Views
    Alan KilbornA

    @PeterJones said:

    The script he was linking to is now in the second post in this topic.

    OK.

    I think the use of “script” for that (OP’s usage, not Peter’s) is a bit confusing.
    It’s just a command-line invoking Notepad++, albeit a rather complex one.
    I understand that it could be called a “shell script”, of course.

  • Legacy Print dialog freeze (Windows)

    8
    0 Votes
    8 Posts
    493 Views
    Alan KilbornA

    @PeterJones said in Legacy Print dialog freeze (Windows):

    In Emacs (and possibly other unixy apps), control key combos are indicated with…

    Nice to know, I guess, but I could’ve lived without that knowledge. :-)

    As Notepad++ is a Windows (only) app, let’s try to stick to its (and Windows’) notations when discussing it: Ctrl+X Current Microsoft notation

  • How does one create a desktop icon for this program please?

    10
    0 Votes
    10 Posts
    634 Views
    mathlete2M

    @Alan-Kilborn said in How does one create a desktop icon for this program please?:

    You should distill that down into something exactly applicable to Notepad++

    Good point.

    The command prompt code below will create a simple shortcut on the Desktop that shows the various command line arguments that NP++ supports in a pop-up before launching NP++ itself. The ICON-based pieces can be omitted if you prefer the standard icon, and PF may need to be adjusted depending on where you actually installed NP++ to.

    set PF=%PROGRAMFILES(x86)% set TARGET='"%PF%\Notepad++\notepad++.exe"' set STARTIN='"%USERPROFILE%\Documents"' set SHORTCUT='"%USERPROFILE%\Desktop\NP++ - help.lnk"' set ICON='"%PF%\Notepad++\updater\updater.ico"' set ARGUMENTS='--help' set PWS=powershell.exe -Command %PWS% "$ws = New-Object -ComObject WScript.Shell; $s = $ws.CreateShortcut(%SHORTCUT%); $S.WorkingDirectory = %STARTIN%; $S.TargetPath = %TARGET%; $S.IconLocation = %ICON%; $S.Arguments = %ARGUMENTS%; $S.Save()"
  • Font size and toolbar too small in Linux

    3
    0 Votes
    3 Posts
    338 Views
    ThosRTannerT

    possible AI spam?

  • help disabling smart quotes

    2
    0 Votes
    2 Posts
    237 Views
    Terry RT

    @Dave-Lang
    I’m not familiar with your problem but your issue did make me recall a previous post here.

    It might have occured as you just updated the version of Notepad++ from a very much older one, or possibly changed to a different font.

    Anyways, read that post and maybe you might find the answer.

    Terry

  • 0 Votes
    2 Posts
    313 Views
  • What makes notepad++ capable of making an html ???

    13
    0 Votes
    13 Posts
    4k Views
    PeterJonesP

    Since this has come up twice in the last couple months, I have cleaned up the instructions and split them off into a dedicated “FAQ: Using the GCC version of Notpead++

  • Keyboard shortcuts from external apps not working

    3
    0 Votes
    3 Posts
    262 Views
    Bernard DaninoB

    @Ekopalypse said in Keyboard shortcuts from external apps not working:

    @Bernard-Danino

    Right, that’s strange.
    I use Deepl, there is also the shortcut ctrl+c+c and as you can see in this screenshot, it works.

    ebeba1d0-a3b9-47fe-b0c6-147b935d1e4d-{68B7D05B-062A-4BBA-BDD0-5EE32126EC71}.png

    Understood. I passed it on to Reverso. Maybe they have an explanation, although the ticket I opened over there didn’t yield anything. Maybe this new info will get them going.
    Thanks

  • How to use VS Code keymap in Notepad++?

    3
    0 Votes
    3 Posts
    3k Views
    N

    Hi, I ran into the same issue.

    I unfortunately don’t have enough time to manually check every single vscode keymapping, but with the courtesy of an LLM I was able to generate a “good enough” shortcut map that has all the functionality I need, which is mostly just alt+up/down and ctrl+/

    https://gist.github.com/nopeless/b18fe37105fd165cd9c637d4a2a2b48b

    Here is the link

  • Some files no longer load. Many files are missing in the document list.

    2
    0 Votes
    2 Posts
    219 Views
    PeterJonesP

    @john-murphy ,

    I had delayed responding, because I’m not sure I understand exactly what’s going on for you. I was hoping someone else understood your post better, so they could provide help. But since it’s been a few days with no response, I will chime in saying, “I am confused”.

    I try to load a file I use often and it opens a workspace

    How do you load the file? Windows Explore double-click? Windows Explorer right-click and picking Edit with Notepad++? Notepad++'s File Open or toolbar equivalent? Double clicking on the filename in the View > Folder as Workspace’s panel? Double clicking on the filename in the View > Project Panels > Project Panel N? Something else I haven’t thought of?

    I cannot think of any way to get any of those actions to launch the project/workspace panel or folder-as-workspace panel. (Those last two had to manually open the panel first, before double clicking, and double clicking would still open the file.)

    About the only thing I can think that would change Notepad++ to automatically open a “workspace” instead of a file would be if you had set Settings > Preferences > MISC’s Workspace file ext: to an extension that happened to match your file’s extension (in this case, I think you want Portguese general.txt, and it would really surprise me if you’d set that extension setting to txt); but if you did that, and the content of your file was the right XML to match a workspace definition, then Notepad++ would open that workspace instead of opening a file. But that doesn’t quite sound like your symptoms, and it would be really confusing to me.

    I think you need to explain more step-by-step what you are doing – maybe even with screenshots at various points along the way, so we know exactly how you got to where you are.

  • AsNotepad.xml nolonger working as it did

    11
    1 Votes
    11 Posts
    739 Views
    Chris GorringeC

    Thanks Peter. I was starting to wonder if I was running NP in an odd way that was preventing it from working correctly. 😊

  • NPP context menu implementation

    2
    1 Votes
    2 Posts
    247 Views
    CoisesC

    It’s open source. Look here:

    https://github.com/notepad-plus-plus/nppShell

  • 0 Votes
    10 Posts
    1k Views
    EkopalypseE

    @Kunal-Mehta

    Everything is possible if someone with enough time and desire can tackle this.
    Unfortunately I personally don’t have the necessary time to realize this, the little free time I have at the moment is not even enough to maintain my own plugins with the necessary love and care.

  • Unexpected change in language

    3
    0 Votes
    3 Posts
    999 Views
    PeterJonesP

    @Pat-Mitchell ,

    Since this question had nothing to do with the installer issues from the original post that you replied to, I forked it out to a separate question: this will get it in the right place so people know you are looking for help on this separate issue.

    There are two ways that I could interpret your question: your first phrase, “My note pad switched to a foreign language”, makes it seem like the user interface (menus, dialog boxes, etc) changed to a different language. For that, @Jonathan-Johansen’s advice is solid. As it says in that discussion, if you cannot figure out which menus to click to access the settings, because it’s too foreign for you, you can exit Notepad++, and use Windows Explorer to go to %AppData%\Notepad++\ (or appropriate config file location for your Notepad++) and delete nativeLang.xml – when you restart Notepad++, it will go back to the default English language.

    But you also said, “When I try to load a document, it comes up foreign and unreadable” – and the Settings > Preferences > General > Localization (or deleting nativeLang.xml) can do nothing about that. Notepad++ shows you the text that’s in a file, regardless of what localization language your user-interface is set to. If the text is in Chinese characters, it doesn’t matter whether your user interface is set to English, Russian, or pig latin – the text will still show up as Chinese.

    So if you are loading a file and it is showing up in valid Chinese – if you don’t know, you could copy the text, and paste it into your favorite online translator, and if it can spit out meaningful English when it translates, then it probably is valid) – but if it’s showing up as real Chinese, that means the file is really written in Chinese. So either you are not opening the same file as you did before (if you are sure that exact same file used to be in English), or someone edited that file and replaced its contents with the Chinese. However, if the text copied from the file cannot be translated (even if you put the translator website into “automatically detect language”), then it’s probably a binary file. If so, you are either opening a different file, or someone zipped it or changed it to a different format (a .docx or .pdf are not text files, so Notepad++ cannot be used to read them); or maybe someone encrypted the textfile, in which case you will have to ask them how to decrypt it before you try to edit the text in Notepad++; or, unfortunately, if your machine has been infected with ransomware or some other malware, that malicious code (which has nothing to do with Notepad++) may have encrypted or destroyed your text files, maybe in the hopes that you would pay them to give you back your original files (never do that; clean things up and restore your data from your backup, if that’s the condition you are in).