• New SQL Formatter Plug-In (SQLinForm)

    Locked
    1
    0 Votes
    1 Posts
    3k Views
    No one has replied
  • Make a notepad++ app

    3
    0 Votes
    3 Posts
    2k Views
    Chris JonesC
    list item message
  • Bugs in normal search for v7.2.2 on windows 7

    6
    1 Votes
    6 Posts
    4k Views
    guy038G

    Hi, Scott,

    Many thanks for detecting my mistake ! Ah, I carried on my error, through all the contents of my post :-((

    So, simple lesson : beware about the real pasted text !! BTW, I’ve already updated my previous post

    Scott, you’re, really an attentive reader, aren’t you ? Brrrr ! I ought to be careful when I write future posts ;-)

    But, Scott, if I did an obvious grammar fault or if I was totally wrong about an English expression or word, don’t hesitate to tell me about it ! It will improve “my” English, which is far from being fluent !

    Cheers,

    guy038

  • 0 Votes
    2 Posts
    2k Views
    Claudia FrankC

    @Bruce-Hopkins
    not sure how it did work at all.

    I assume that the data is allways in the form

    name@domainPIPE… (PIP is ofcourse | )

    in such case I would use the following regex in find

    \|.*$

    and replace it with a comma.

    Make sure regex has been selected.

    Cheers
    Claudia

  • Can I Marry an APP?

    Locked
    2
    1 Votes
    2 Posts
    2k Views
    Claudia FrankC

    @Dan-Bowes

    you made me laugh - very nice.

    Thx
    Claudia

  • Sometimes Notepad++ can't run through double click

    6
    0 Votes
    6 Posts
    3k Views
    Claudia FrankC

    @yc-z

    this shouldn’t happen.
    Would you mind open an issue at
    https://github.com/notepad-plus-plus/notepad-plus-plus/issues/
    with a reference to the already closed issue #2700.

    Thank you
    Claudia

  • find in files unicode text

    17
    0 Votes
    17 Posts
    12k Views
    gstaviG

    Out of curiosity I did browse the code to see how “find in files” works in Notepad++. As far as I understood:

    NPP scans the directory tree and creates a list of all files that match the Filters. For each file in the list NPP will:
    – Load the ifile into NPP in “hidden” state. During that load NPP will guess the file’s unicode encoding. NPP may very well guess wrong.
    – Search hidden file within NPP for required pattern.
    – Add matching locations to ‘finder’.
    – Close hidden file.

    I did not go into the actual comparison but pattern should be matched to file using some common encoding. Either pattern is re-encoded into the guessed file encoding or during the scan each symbol is translated into its Unicode point of U+### and compared.
    The bottom line is that if the initial encoding guess was wrong NPP will fail to find matches.

    I use NPP mostly for UTF-8/ASCII files and sometimes for UTF-16 (Microsofts default). NPP auto detect these well.
    I will not be surprised if rarer (country specific) encodings are often misdetected.

    In any case this “find in files” scheme is very slow and I hardly use it. I prefer ‘greping’ externally.
    It would be nice to implement for code developers a much more efficient UTF-8 only find in files that does not bother to load each file into Notepad++. Possibly in a plugin.

  • 1 Votes
    2 Posts
    1k Views
    Scott SumnerS

    @Andrew-Dunn

    Not a bad idea, it might be tough to find a unique-enough default color to be pleasing to all. There’s a red already in use for the Mark feature. Aside from selected text (medium-to-dark grey) and anything else in use that I’ve forgotten, here are the colors that Notepad++ already uses (plugins not considered!):

    http://imgur.com/a/IoRHu

  • Document Map - change scrolling and scaling

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • same file side by side in full view

    Locked
    9
    0 Votes
    9 Posts
    7k Views
    notepad347N

    @Claudia-Frank Yes. That way, I can work on the same file in multiple places in the file. Plus, I work most of the time on laptop, and that is why the size of the view point is important to me. I was for a wile opening the same file as “Open in new instance”, so I had a full windows view. But the problem with this approach is, that I can not edit both file at once. After I save a file in one instance, I lost changes I made in another instance of notepad++.

  • Replace string across multiple files and increment value

    Locked
    6
    0 Votes
    6 Posts
    5k Views
    Claudia FrankC

    @Scott-Sumner

    no pressure, no pressure - I thought of a simple solution like

    import os search_string = 'HERE_YOUR_STRING' i = 0 for root, dirs, files in os.walk('C:\\WHAT_EVER_DIR\\'): # take care of double backslash like c:\\temp\\dir1\\ for file in files: fname, ext = os.path.splitext(file) if ext == '.xml': i+=1 full_path = os.path.join(root, file) with open(full_path) as f: s = f.read() s = s.replace(search_string, search_string + str(i)) with open(full_path, "w") as f: f.write(s)

    but now, maybe an windows api solution?? ;-))

    Cheers
    Claudia

  • Disable Folder as Workspace

    Locked
    3
    0 Votes
    3 Posts
    3k Views
    Nemanja BračkoN

    Thank you! That is what I need. I called “stupid” baceuse I have searched the Internet and I saw that many, many, many people wanted to disable that option. One of the main features of NPP is acctualy that: Open as much files as you can (by draging into interface) and process them simultaniously.

    Developers had had to consider all perspectives in the beginning. :)

    Anyway, I didn’t want to offence anyone and thank you for your help!

  • Confusing main/sub view behavior

    Locked
    7
    2 Votes
    7 Posts
    3k Views
    YaronY

    That’s a nice observation.

    And another point:
    Tabs from other windows are not displayed.
    So the window title should be “Window Tabs” instead of “Windows” and the command “Close window(s)” should be “Close tab(s)”.

    BR

  • DTD validation

    3
    0 Votes
    3 Posts
    5k Views
    eksemel spaiE

    Hi,
    correct, I use the XML Tools plug-in. Will check this issue with the plug-in authors.
    Best wishes

  • Feature idea - Remove all non existing file

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • "Date & Time - short format" (macro does not work)

    3
    0 Votes
    3 Posts
    2k Views
    Rhaone da SilvaR

    Thanks Claudia … have a nice day …

  • Which versions of Notepad++ are compatible with Windows 10?

    2
    0 Votes
    2 Posts
    2k Views
    Claudia FrankC

    @Kevin-McKee

    if it is a general question, then the answer is every recent version.
    If you have a particular issue then name it and we can see if there is a solution to it.

    Cheers
    Claudia

  • Feature: option to auto-open new file when using "Save Copy As"

    Locked
    2
    0 Votes
    2 Posts
    1k Views
    Claudia FrankC

    @D-L

    in the meantime, instead of using the menu funtion to sava as copy,
    you could use a scripting language like lua script or python script to do it.

    Possible way to go?

    Cheers
    Claudia

  • Save REGEX

    3
    0 Votes
    3 Posts
    3k Views
    Vasile CarausV

    hello guy38. Yes, it’s ok. I wanted to save my special regex into notepad ++ so that not to open the file with all my regex expressions.

  • Notepad++ to the context menu

    Locked
    8
    0 Votes
    8 Posts
    7k Views
    Claudia FrankC

    @Maison-da-Silva

    understood, thx.

    Windows 10 has changed something.

    Most likely, haven’t much time to test win10 as I was already migrating to Linux.

    Cheers
    Claudia