• Upload success but must refresh browser many times before viewing result

    Locked
    2
    0 Votes
    2 Posts
    1k Views
    PeterJonesP

    Sounds like a server issue to me. But I could be wrong.

    Does the same thing happen if you upload with a separate FTP client (like FileZilla)? If so, then the problem is solely on the server side, and you’ve asked your question in the wrong place

    I am assuming by “using the FTP function”, you mean you are using the NppFTP client to remotely edit files on your server. If you mean something different, please clarify. If that is what you mean, what version of NppFTP are you using?

    How do you determine “it upload with success”? Does the NppFTP - Output window (which can be enabled by the show messages window button in the main NppFTP interface) show “Upload of /path/to/filename succeeded.”? If so, do you really need to “click upload many times”, or is that multiple clicking just an attempt on your part trying to make the file accessible through your browser? Or do you have some other confirmation (other than not getting the updated file in the browser) that the file has not made it to your server, even though NppFTP claimed the upload was successful? If so, what is your other confirmation? (One possible confirmation: attach to your server using an external client, such as Filezilla or PuTTY-ssh, and confirm that the file has changed)

    Assuming the file made it correctly to the server on your first click of the upload (and being patient enough for the transfer to complete), then the problem is solely on the server side, and you’ve asked your question in the wrong place.

    server-side freebie advice: My guess is that if it’s correctly uploading, then there is a problem in communicating between the server and the browser that the file has changed. That might be as simple as timezone difference or misconfiguration: when you upload a file to the server, most webservers I’ve seen will send that stamp to the browser (when request) so that the browser can decide whether or not to download the new copy. Sometimes a bad timezone setup on the server, or sometimes web ISPs use a different machine for FTP connections than they do for the external web connections, so a date mismatch there will cause the file to appear to have been modified at an earlier time, so the browser doesn’t recognize it. (I seem to remember from years ago that some FTP clients allow you to specify a timezone offset for a given server, but NppFTP 0.27.4 does not appear to be one of them, and I cannot see those settings in my modern Filezilla 3.34.0) Also, even with the times correct, a webserver may have its own caching mechanism, and might not poll your particular file for some number of seconds or minutes before it notices the file has changed and starts serving the new Last Modified Time to the browser.

    We’re happy to answer Notepad++ questions, and NppFTP is reasonably connected enough that we’ll do our best (though we may have to pass you on to NppFTP experts at some point).

    But unless you share some evidence that it’s unique to the Notepad++ setup, then you’ve asked your question in the wrong place, and should probably find a better forum for experts in the field you’re using (ie, for your webserver).

  • Extend automatic reload on deleted and recurring files

    Locked
    2
    0 Votes
    2 Posts
    841 Views
    Claudia FrankC

    @bheorcnh

    I assume this FAQ should be considered.

    Cheers
    Claudia

  • Support of unix-like paths and file names in File|Open-Dialog possible?

    Locked
    3
    0 Votes
    3 Posts
    1k Views
    Alan KilbornA

    @PeterJones said:

    earlier post

    How come we can’t have both the new style dialog AND unix style path support at the same time??

  • How to tile tabbed pages?

    Locked
    3
    0 Votes
    3 Posts
    2k Views
    Benevolent DeityB

    Thanks for the info. It sounds like a worthwhile enhancement to an otherwise great product.

  • How do I tell Notepad++ to use spaces to auto-indent instead of tabs?

    Locked
    5
    0 Votes
    5 Posts
    25k Views
    Meta ChuhM

    @Kevin-Morris

    you’re welcome ;-)

  • 0 Votes
    11 Posts
    25k Views
    Naveen UgraiahN

    @Leigh-Wardle Awesome!! you were right… I was scratching my head all the while. Thanks!!

  • Any settings that would slow typing to > 1chr/sec?

    Locked
    4
    0 Votes
    4 Posts
    1k Views
    Claudia FrankC

    @Jonathan-Dzoba

    another known issue is to have a really big one-liner and try to edit it.
    Scintilla, underlying component Npp uses, isn’t really performant in such cases
    as it wasn’t designed to do so.

    Cheers
    Claudia

  • Automation Friendly Latest Version Download URL

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    PeterJonesP

    issue exists as https://github.com/notepad-plus-plus/notepad-plus-plus/issues/604 … might want to upvote it or add comments.

    as that issue points out, you can grab https://notepad-plus-plus.org/update/getDownloadUrl.php, which gives an XML file with the current download URL, so you could parse that XML to get the actual download URL.

  • timestamp highlighting

    Locked
    2
    1 Votes
    2 Posts
    740 Views
    Scott SumnerS

    @SkodaRunner said:

    is there any possibility to highlight timestamps

    Yes, show us a sample…timestamps can have many forms.

  • how to transliterate languages?

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    SalviaSageS

    Hi. This is possible. You must use either the programming language AutoIT or AutoHotkey to do this.

    Check out this link where someone made a cyrillic-latin transliterator.

    https://autohotkey.com/board/topic/55957-cyrillic-to-latin-and-vice-versa-transliterator/

    also, check out my earlier post
    https://www.autoitscript.com/forum/topic/150021-how-do-i-automatically-change-letters-to-other-letters-in-a-text-editor/

    You may be able to adapt something from there.

  • Type Ahead with index search would be awesome ...

    2
    0 Votes
    2 Posts
    830 Views
    Scott SumnerS

    @Java-Dev

    You forgot to offer up the $100 this time around.

  • can't save modifications to an existing file

    Locked
    2
    0 Votes
    2 Posts
    732 Views
    James DurbinJ

    cancel this request for help. figured it out.

  • Pasting Data from Excel in 4th Collapse Level

    Locked
    2
    0 Votes
    2 Posts
    1k Views
    cipher-1024C

    You may have show some examples like “I have this…”, “I want it to look like this…”. I think more people would understand what you’re looking for.

  • How to sort out duplicates?

    Locked
    4
    0 Votes
    4 Posts
    3k Views
    cipher-1024C

    If you’re working with just a list of values, you can install the CsvQuery plugin and run a SQL type query on your list. Say you have this as your list:

    filter1
    filter1
    filter1
    filter2
    filter2
    filter2
    Filter1
    filter2
    Filter3

    Open the CsvQuery window, (you may have to hit the “read file” button), type this into the command bar:

    SELECT col1, COUNT(*) FROM THIS GROUP BY COL1 ORDER BY COL1

    Click Execute
    the output window will show this:
    Filter1 1
    Filter3 1
    filter1 3
    filter2 4

    If you want case insensitive searches:

    SELECT col1, COUNT(*) FROM THIS GROUP BY COL1 COLLATE NOCASE ORDER BY col1 COLLATE NOCASE

    That will get you this:
    Filter1 4
    filter2 4
    Filter3 1

    I had to use ctrl-c to copy the output. Right click - copy didn’t work for me. Note that in a CsvQuery query “this” is the table name (your list in the active window).
    Reading a file with 100k lines and executing the search each took about a second on my test case (the sample above repeated a lot). IDK if you can make a macro out of this, but it’s another option besides regex and python.

    May the Sort be with you.

  • Call-tips - Questions, possible bug

    Locked
    3
    0 Votes
    3 Posts
    1k Views
    cipher-1024C

    I think what you’re looking for is in Preferences->Auto-Completion in the box titled Auto-Completion. On the right side of the box there’s a line that says “From X th character. Valid value: 1-9”

    The “x” is a clickable number. If you click on the number you can change it to 9, but that’s as high as it can be set. There are other options in this window that may ease some of your auto-complete pain.

    Sorry, I can’t help you with the function completion or tooltip color issues.

  • One annoying bug with ANSI encoding

    Locked
    3
    0 Votes
    3 Posts
    2k Views
    Vladimir OlegovichV

    Binary file was bad example (how file looks when bug occurs), but sometimes it happens to my txt files, even on selecting part of text with mouse. I’ll try with turned off “Enable session snapshot”, except bug is unpredictable, sometime after updates or changing settings to ANSI as default encoding I thought it fixed. And then it happens again when I made lot of changes and forgot to save before error.

  • Need help on Macro that prompts for number of rows to select

    13
    1 Votes
    13 Posts
    3k Views
    John MurrayJ

    You were right - that took care of it - and everything works perfectly now. Thanks a bunch Scott for hanging in there with me.

  • -1 Votes
    1 Posts
    2k Views
    No one has replied
  • Improve "Save all"

    Locked
    2
    2 Votes
    2 Posts
    1k Views
    Scott SumnerS

    @mpotra

    Not a bad suggestion I suppose…you may want to follow the advice here.

    You can have this functionality TODAY if you are willing to “script it”. The scripting plugins for Notepad++ are excellent. I tend to use Pythonscript; here’s some code for that which will implement a confirmation for Save All.

    Here’s SaveAllWithAreYouSurePrompt.py :

    def SAWAYSP__main(): if notepad.messageBox( 'Do you want to do a SAVE on all unsaved files?', # box body text 'Are you sure??', # box titlebar text MESSAGEBOXFLAGS.YESNO ) != MESSAGEBOXFLAGS.RESULTYES: return notepad.menuCommand(MENUCOMMAND.FILE_SAVEALL) SAWAYSP__main()

    You can remap the default Save All keyboard shortcut to run the script instead.

  • How to Share a Recorded Marco with others?

    7
    1 Votes
    7 Posts
    20k Views
    PeterJonesP

    Yes, of course. Sorry.