• FORUM: Posting Queue

    Pinned
    9
    12 Votes
    9 Posts
    1k Views
    PeterJonesP

    @donho ,

    Makes sense.

    Since deleting posts was tedious for me, I had recently been looking into whether I could use the API that the forum offers to write a script to automate some of the cleanup (like with purging the deleted posts/topics), but that will take some time to develop.

    update: As of Nov 9, the purge automation is working, and it will run once a week. (Along with purging deleted posts/topics, it will also delete user accounts that are more than a year old where the user never posted and never logged in after the first day – nearly half of the 30000 accounts were in this category)

  • Please Read This Before Posting

    Pinned Locked
    1
    5 Votes
    1 Posts
    4k Views
    No one has replied
  • Notepad++ lags when text files are on FTP

    2
    0 Votes
    2 Posts
    2 Views
    PeterJonesP

    @Alexander-Anisimov said in Notepad++ lags when text files are on FTP:

    I’m editing text files stored on an FTP server using Notepad++. The problem is Notepad++ “pings” the server every time the window regains focus, causing momentary stutters.

    Technically, it’s the NppFTP plugin, not Notepad++ itself, that is doing the pinging.

    Is there a way to configure Notepad++ to only sync with the FTP server when I save a file (Ctrl+S)? I want to avoid the constant background syncing and only upload changes on demand, in other words.

    Hmm… I cannot actually replicate your problem with constant “pinging” – whether by “window regains focus” you mean the main N++ application window regains focus, or the NppFTP tree-view or queue or message/output window. I am not seeing any unexpected traffic anywhere except when I intentionally open or save.

    May be there is a settings that when files are in Notepad++ and in use, it could create separate local temp files for those, or something like that.

    It’s up to the NppFTP plugin, not Notepad++ itself. And NppFTP plugin does use local “temp files” (what it calls its “cache”) – and in fact, you can edit the local cache file even when NppFTP isn’t connected, and when you hit save, it will re-connect so that it uploads the file. I cannot find any “extra”/unexpected traffic (“pings” or similar) caused by that plugin. (In fact, one of the longest-lived complaints about the NppFTP plugin is that it doesn’t have a keepalive function, unlike many FTP programs like FileZilla, so users are losing their connection, and it has to reconnect in order to save. Yours is rather the opposite complaint, since they are begging for pings to be added to the plugin.)

    If you can come up with an exact set of circumstances, and the exact way you can tell that the plugin “pings” the server (other than a “stutter”, which might be hard for someone to reproduce), then if another user can reproduce the same circumstances, it might be worth filing a bug report with the plugin – but again, there is nothing that the core Notepad++ app can do about it, and right now, I cannot replicate your problem with the plugin.

  • How to copy text file from Notepad++

    2
    0 Votes
    2 Posts
    3 Views
    PeterJonesP

    @Alexander-Anisimov ,

    Since you say it’s open in Notepad++, you can use Ctrl-A then Ctrl-C – this selects all, then copies. It’s slighly more than one keystroke, but that’s still super efficient.

  • Revert to Windows 10 NotePad

    2
    0 Votes
    2 Posts
    11 Views
    PeterJonesP

    @7-COME11 ,

    There’s a section in the usermanual devoted to those instructions (both how to set it up and how to delete it)

    https://npp-user-manual.org/docs/other-resources/#notepad-replacement – or, more specifically, the undo section is here: https://npp-user-manual.org/docs/other-resources/#undo-the-notepad-replacement-hack

  • Using Notepad++ for Script Review in Large-Scale Automation

    3
    1 Votes
    3 Posts
    87 Views
    Thomas KnoefelT

    @NebulaPulseX
    MultiReplace covers the complexity you’re dealing with quite well. While it doesn’t support syntax checking, it handles regex, variables, and multiline edits. Bulk replacements work across all open files in Notepad++. Folder-based processing is on the roadmap.

  • 1 Votes
    6 Posts
    472 Views
    PeterJonesP

    @deleelee said in The 'shortcuts.xml' file is NOT re-created if you delete it, on purpose or by mistake !:

    Perhaps I’m misunderstanding your meaning but, if the “exe” directory is the one containing notepad++.exe, the portable version does have shortcuts.xml there.

    You ignored the context of the discussion: the specific question @guy038 asked was,

    Is is normal that a default shortcuts.xml file is NOT created if absent in current folder ( for a portable version )

    Or, phrases a different way: “if you delete the shortcuts.xml and start Notepad++, why doesn’t it re-create it with default shortcuts”

    So, definitionally, if you’ve deleted the shortcuts.xml from the portable directory, there is no shortcuts.xml from which NPP can read the defaults, since NPP doesn’t have a .model for shortcuts.xml and it has no where else to look. (I was contrasting that to the normal installation, where if you delete the App data shortcuts.xml, NPP can recreate it using the shortcuts.xml in the exe directory)

  • How to remove a language from a srt file?

    3
    0 Votes
    3 Posts
    391 Views
    Md. Mobashir HasanM

    @rinku-singh it’s been long & i forgot for what exact reason I asked. Thanks, anyway.

  • How to set "zoom" level of menu, toolbar and footbar ?

    3
    0 Votes
    3 Posts
    120 Views
    mpheathM

    @Bernard-Schleich-0

    I currently use

    https://github.com/Tatsu-syo/noMeiryoUI

    in Windows > 7 removed settings to adjust fonts in Notepad++ and other programs . In Preferences, General -> Reduce may need to be unchecked for OS settings to be used.

    Size of fonts changed should be modest as larger sizes may not fit in the area allocated in the GUI.

    Microsoft appears to want users to use Scaling instead of the legacy of WindowMetrics.

  • Question(s)

    23
    0 Votes
    23 Posts
    4k Views
    CoisesC

    @mkupper said in Question(s):

    I verified that at least for my current setup that the zoom level seems to have no affect on the printed results.

    Same here. Perhaps I was unclear.

    If I leave the zoom at default and adjust the font size for Default Style to be large enough for me to read easily on my monitor, I would set a font size of 14 or 16 points with Liberation Mono. (14 is bit smaller than I like, 16 is too big, 15 isn’t an option.) Those are too large for printing, though.

    If I set Default Style to 12 points, printing is reasonable. If I then zoom in 3 steps, I’m just about where I want to be to read easily on the screen — without affecting printing.

    The question I was answering was, “Why not just change your default font size?” Because that does affect printing (and, though I hadn’t remembered until I tried just now, also isn’t as fine-grained as zoom).

  • Note++ file location

    3
    0 Votes
    3 Posts
    136 Views
    JE RamirezJ

    @PeterJones, thanks. Of course, it’s Notepad++, a little too fast with the typing and posting of the question.

    Thanks for the paths.

  • How to highlight text?

    12
    0 Votes
    12 Posts
    147k Views
    PeterJonesP

    @Farhan-Yazid said in How to highlight text?:

    Hi, any shotcut button to assign the highlight funtion?

    By default, the Style One Token / Style All Occurrences of Token commands do not have keyboard shortcuts.

    But if you use Settings > Shortcut Mapper, set Filter = style, you can choose any of them and use Modify to set a keyboard shortcut for that token-highlight style.
    1ccdb944-484d-4a28-9bc6-c301a59b0478-image.png

    (In case it’s not clear: Style all using Nth style in that dialog corresponds to Search > Style All Occurrences of Token > Using Nth Style [or the right-click context menu equivalent]; Style one using Nth style corresponds to Search > Style One Token > Using Nth Style [or the right-click context menu equivalent]. And for further clarification: the Search > Mark All that @Alan-Kilborn mentioned 6 years ago is the same as what’s now known as Search > Style All Occurrences of Token)

  • 1 Votes
    34 Posts
    11k Views
    EkopalypseE

    @Denis-Rionnet

    This usually works quite reliably as long as the underlying file system supports it.
    Where are these files stored and which file system is used?

  • Notepad++ funciona en linux?

    5
    0 Votes
    5 Posts
    666 Views
    EkopalypseE

    @ANDRES-MARIANO-MARTINEZ-PEÑA

    Yo sólo utilizo versiones portables, es decir, versiones que no necesitan ser instaladas, sino que simplemente se copian en un directorio.
    Para instalar un paquete de instalación sin entrada, hay que pasar el parámetro /S a setup.exe. https://npp-user-manual.org/docs/command-prompt/#installer-options.

    I only use portable versions, i.e. versions that do not need to be installed, but simply copied to a directory.
    To install an installation package without input, you have to pass the /S parameter to setup.exe. https://npp-user-manual.org/docs/command-prompt/#installer-options.

  • TranslateID (FolderName) in UserDefinedCommands (shortcuts.xml)

    3
    0 Votes
    3 Posts
    254 Views
    João MacJ

    @PeterJones said in TranslateID (FolderName) in UserDefinedCommands (shortcuts.xml):

    If you look again at the reference you linked, the TranslateID attribute is defined for the contextMenu.xml; however, the <Command> tags in the shortcuts.xml do not have that attribute listed as being available.

    Thus, I do not believe what you are looking for is currently possible. Thus, I think you would have to follow the instructions in our FAQ to put in a feature request to ask the developer to add TranslateID to the shortcuts.xml <Command> tag.

    Hello, @PeterJones.

    I truly appreciate your quick response and such a clear explanation!

    Indeed, upon rereading the documentation I referenced, I realized I misunderstood the use of the TranslateID attribute. It applies to contextMenu.xml, not shortcuts.xml, as I had mistakenly assumed. That was an oversight on my part, and I appreciate you pointing it out so objectively.

    In my case, this was just curiosity based on that mistaken understanding. It’s not something essential for daily use of the application. I’m glad to have learned the actual scope of this functionality.

    Thanks again for your kindness and clarification.

  • 8.8.2 - coming soon??

    5
    0 Votes
    5 Posts
    461 Views
    pbarneyP

    @PeterJones, that’s the holy grail of the daily coding grind: no open issues and fun stuff on the roadmap!

  • 0 Votes
    4 Posts
    292 Views
    CoisesC

    There is an issue about this:

    Search function impracticality #10438

  • [bug] Space not inserted for tabs

    4
    0 Votes
    4 Posts
    320 Views
    Terry RT

    @Coises

    As I read it, it seems that the OP wants their Preference to be updated if they use the Edit, Blank Operations, TAB to Space (or Space to TAB).

    Of course, I too could be confused. The lack of detail does make the OP open to interpretation.

    I’m with @PeterJones on this.

    One is a “Preference”, the other a “one-shot function”. This function should not be making changes to a Preference. And at the moment it isn’t, which I believe to be the correct decision.

    Terry

  • Replace in Files / "Directory" field scrolls right when clicked

    23
    0 Votes
    23 Posts
    6k Views
    fml2F

    @Alan-Kilborn Hehe, “for in much wisdom is much grief”.

  • Import AutoHotKey.XML into NotePad++

    3
    0 Votes
    3 Posts
    281 Views
    PeterJonesP

    I see that a GitHub user @paulm31 is submitting a AutoHotKey_V2.udl.xml to the User Defined Languages Collection in PR #324 – I have to assume that’s related to this post, even if it’s not you, given the timing.

    That PR is merged, and CollectionInterface shows the AutoHotKey_V2.udl entry for me.