• Login
Community
  • Login
  1. Home
  2. Help wanted · · · – – – · · ·
Log in to post
Load new posts
  • Recently Replied
  • Recently Created
  • Most Posts
  • Most Votes
  • Most Views
  • D

    Find in files - find extensionless files

    Watching Ignoring Scheduled Pinned Locked Moved
    4 Mar 9, 2022, 2:01 PM
    Mar 9, 2022, 10:40 AM
    0 Votes
    4 Posts
    943 Views
    P Mar 9, 2022, 2:01 PM

    @dada-a said in Find in files - find extensionless files:

    Is there a way to achieve exclude all files with extensions?

    What you want to exclude are all files that have at least one character after the extension. But *.* matches zero-or-more characters after the extension, so !*.* excludes all files, with or without extension.

    If you want to guarantee that it excludes only files with at least one character after the extension, use !*.?*, where the ? matches one character, and the * after it matches zero or more characters in the extension.

    So the full Filters setting of *.* !*.?* (or !*.?* if you’re on Notepad++ v7.8.7 or later) will only match files that have no extension.

    https://npp-user-manual.org/docs/searching/#find-in-files-tab
  • R

    How to change default tab name

    Watching Ignoring Scheduled Pinned Locked Moved
    5 Mar 7, 2022, 3:18 PM
    Mar 7, 2022, 1:38 PM
    0 Votes
    5 Posts
    2k Views
    R Mar 7, 2022, 3:18 PM

    Wonderful, thank you everyone! :)

    Kind Regards

  • D

    Tabs are floating after upgrade to 7.9.5

    Watching Ignoring Scheduled Pinned Locked Moved
    11 Mar 7, 2022, 5:57 AM
    Apr 6, 2021, 3:50 PM
    0 Votes
    11 Posts
    2k Views
    Q Mar 7, 2022, 5:57 AM

    Just hide it by resizing the editor window to the left, right, top, bottom. Exit and reopen it will remember the bigger window.

  • A

    Saving rolled text

    Watching Ignoring Scheduled Pinned Locked Moved
    2 Mar 6, 2022, 6:31 PM
    Mar 6, 2022, 12:28 PM
    0 Votes
    2 Posts
    270 Views
    P Mar 6, 2022, 6:31 PM

    @araders ,

    Notepad++ doesn’t store folding information when it exits, because it cannot guarantee that the file won’t have changed the next time it loads (which might be confusing or worse if it folded on the same line numbers as it did before).

    That said, back in this old discussion, I published a pair of scripts that will save the line numbers where folding occurs, and reload that folding on demand. it will only work if the file doesn’t change between the save and the load. To use that script, install the PythonScript plugin, then use that plugin to create two scripts, with the contents of the scripts from that other discussion; then run the individual scripts to save or load the folding from the CSV file.

  • I

    How to delete "(....)" but only in certain lines

    Watching Ignoring Scheduled Pinned Locked Moved
    13 Mar 5, 2022, 11:26 AM
    Mar 3, 2022, 2:15 PM
    0 Votes
    13 Posts
    3k Views
    G Mar 5, 2022, 11:26 AM

    Hello, @peterjones,

    After further testing, I came to the conclusion to keep the present syntax (?\A). Refer to this post for some explanations :

    https://community.notepad-plus-plus.org/post/74937

    So, sorry for the noise. I’m going to reformat most of my notes, concerning this specific regex.

    Then I will send it to you by mail for checking before finding a final destination for it !

    Cheers,

    guy038

  • W

    Replacing variable length file paths in a GEDCOM file

    Watching Ignoring Scheduled Pinned Locked Moved
    44 Mar 5, 2022, 8:26 AM
    Mar 3, 2022, 5:23 PM
    2 Votes
    44 Posts
    3k Views
    W Mar 5, 2022, 8:26 AM

    @paul-wormer The replacement string is constant so it’s a one-time entry into the expression the guys have devised for me.

  • A

    how to add *cs before.xml

    Watching Ignoring Scheduled Pinned Locked Moved
    6 Mar 4, 2022, 11:14 PM
    Mar 4, 2022, 6:29 PM
    0 Votes
    6 Posts
    382 Views
    A Mar 4, 2022, 11:14 PM

    @alan-kilborn

    thank you. I followed your example and saved it .

  • 2

    Replacing different values with one value

    Watching Ignoring Scheduled Pinned Locked Moved replace
    5 Mar 4, 2022, 7:02 PM
    Mar 4, 2022, 6:57 PM
    0 Votes
    5 Posts
    1k Views
    2 Mar 4, 2022, 7:02 PM

    @alan-kilborn I really appreciate it
    God bless you
    you made my day

  • A

    How to replace multiple "variables" vs a template

    Watching Ignoring Scheduled Pinned Locked Moved
    4 Mar 4, 2022, 6:01 PM
    Mar 3, 2022, 2:04 PM
    0 Votes
    4 Posts
    3k Views
    A Mar 4, 2022, 6:01 PM

    @michael-vincent said in How to replace multiple "variables" vs a template:

    conf\nconf

    And you’d want to be careful about what type of “newlines” you put in; specifically on Windows you are likely to want \r\n instead of \n.

  • M

    Notepad ++ is not working with encryption software when saved with newer versions

    Watching Ignoring Scheduled Pinned Locked Moved
    6 Mar 4, 2022, 4:44 PM
    Mar 1, 2022, 5:13 PM
    0 Votes
    6 Posts
    2k Views
    D Mar 4, 2022, 4:44 PM

    First question for me is, if the issue is created when saving or when opening the file(s).

    So does make changing the file in Notepad++ make it unreadable by Windows Notepad?

  • P

    regexp help: lookahead and lookbehind with spaces

    Watching Ignoring Scheduled Pinned Locked Moved
    12 Mar 4, 2022, 3:54 PM
    Mar 3, 2022, 10:18 AM
    0 Votes
    12 Posts
    754 Views
    Neil SchipperN Mar 4, 2022, 3:54 PM

    @patrickdrd said in regexp help: lookahead and lookbehind with spaces:

    why not match “accidental” carriage returns/ line feeds?

    I don’t know enough about your data or the intended purpose of the pair matching to say either way, but I will say that, since you are gathering up either ab or ba pairs, then, a small error can make every subsequent pair a different pair from what would have matched without the error.

    It’s up to you to think through whether this harms what you’re trying to accomplish, and if it does, to try to devise a strategy that could detect a malformed pair, and maybe skip it and then resync and pick up all subsequent pairs with desired grouping.

  • Jon MayJ

    Notepad++ becomes unresponsive

    Watching Ignoring Scheduled Pinned Locked Moved
    5 Mar 4, 2022, 8:44 AM
    Mar 3, 2022, 7:26 PM
    0 Votes
    5 Posts
    652 Views
    Jon MayJ Mar 4, 2022, 8:44 AM

    @terry-r
    Thanks for the reply.

    This is what I’ve done and so far all is working well.
    I’ll see how it goes today when I start using it properly, but so far so good.

    Thanks for the help :)

  • Michael VincentM

    PythonScript and system Python

    Watching Ignoring Scheduled Pinned Locked Moved
    15 Mar 4, 2022, 7:19 AM
    Feb 1, 2022, 1:52 PM
    1 Votes
    15 Posts
    2k Views
    chcgC Mar 4, 2022, 7:19 AM

    @michael-vincent See https://github.com/bruderstein/PythonScript/releases/tag/v3.0.12 and https://github.com/bruderstein/PythonScript/releases/tag/v3.0.11 with the proposed updates

  • Maverick DoeM

    Click on search results item prompts to save "new x" file

    Watching Ignoring Scheduled Pinned Locked Moved
    5 Mar 4, 2022, 2:25 AM
    Mar 4, 2022, 1:30 AM
    0 Votes
    5 Posts
    474 Views
    Terry RT Mar 4, 2022, 2:25 AM

    @maverick-doe said in Click on search results item prompts to save "new x" file:

    This fixed it for now. If it happens again, I’ll download the latest as you suggested.

    Actually I wouldn’t necessarily suggest always upgrading to the very latest.

    In recent months there have been a lot of new versions released. Unfortunately in getting some enhanced features running (large files were one) there have been other errors/regressions (re)introduced.

    So often being at the front of the queue is not ideal. You take your chances with potential issues. The system referred to is on my work PC and unfortunately those who do the patching at work (upgrading) didn’t listen to me. Luckily I haven’t had a bad run but on my home PC I tend to run a few versions back from the front. I sort of use the approach that if it ain’t broke don’t fix it. So unless a newer version has something I’d really like to use I hold back. YMMV!

    Terry

    PS I did note you now had the 32-bit version and wondered why

  • Gururaj JoisG

    Refresh "Folder as Workspace", is the folder is on the Network Drive.

    Watching Ignoring Scheduled Pinned Locked Moved
    2 Mar 3, 2022, 10:06 PM
    Mar 2, 2022, 2:39 PM
    0 Votes
    2 Posts
    979 Views
    P Mar 3, 2022, 10:06 PM

    @gururaj-jois ,

    So, it depends on what you mean by “mapped”. If you mean what Windows means, then my experience is exactly the opposite of yours. If you mean "a network drive accessed directly by UNC, not by a Windows OS Z:-style alias, which WIndows calls a ‘map’ ", then I can confirm your results:

    My experiment:

    I have a directory on a remote machine available from \\machinename\path\ I use Windows “map” feature (right click on This PC, then click Map Network Drive, and map \\machinename\path\ to the drive Z:\ – this is a Windows map. In Notepad++, I use File > Open Folder As Workspace twice. The first time, I select Z:\, and I see it show me the whole hierarchy The second time, I select \\machinename\path\, and I see it show me the whole hierarchy In Windows, I add a new file to \\machinename\path\ Instantly, the Z: portion in Notepad++'s Folder as Workspace panel shows me the new file. However, the \\machinename\path\ portion in Notepad++'s Folder as Workspace panel does not update

    (I see the same behavior on both v8.2.1 and v8.3.2)

    If possible, I would recommend just using Windows to map the UNC path to a pseudo-drive-letter, like I did for Z:. If you don’t want to do that long term, then you can read the “feature request” FAQ which explains how and where to make an official feature request. If you do make a feature request, make sure you follow their template (especially include the Debug Info of your current Notepad++, by going to the ? menu and clicking Debug Info); also, make sure you use correct terminology: a mapped drive is a drive letter that points somewhere else (like my example Z: points to the remote machine); a UNC path is using the double-backslashed \\machinename\path\ to access the machine directly, without a Windows mapping. Finally, if you create that request, please paste a link to that request in reply to this topic, so future people who find your request here can find out if it’s been implemented yet or not.

    Good luck.

  • Daniel TomberlinD

    Need Explanation of a few Session.xml Parameters & Values

    Watching Ignoring Scheduled Pinned Locked Moved
    8 Mar 3, 2022, 7:29 PM
    Mar 2, 2022, 6:33 PM
    0 Votes
    8 Posts
    2k Views
    Daniel TomberlinD Mar 3, 2022, 7:29 PM

    @PeterJones, thanks for clarifying. I got a sensible conversion from the online tool after entering the formula into Google to calculate an answer to provide it.

    So with this example, entering the calculated answer of 1.3201045e+17 into the online converter gave me Monday, April 29, 2019 8:56:40 PM, which is exactly what I needed.

    Thanks again @Alan-Kilborn and @PeterJones!

  • Devlin DeaneD

    Selecting text between tags and saving to another document

    Watching Ignoring Scheduled Pinned Locked Moved xml
    4 Mar 3, 2022, 7:02 AM
    Mar 3, 2022, 2:44 AM
    0 Votes
    4 Posts
    6k Views
    Devlin DeaneD Mar 3, 2022, 7:02 AM

    @terry-r

    This was exactly what I was looking for, I sure do thank you. Sorry, sometimes my head cannot figure out certain things.

  • Terrie HT

    ToolBucket Multiline Find & Replace won't open

    Watching Ignoring Scheduled Pinned Locked Moved
    8 Mar 2, 2022, 10:15 PM
    Mar 2, 2022, 5:53 PM
    0 Votes
    8 Posts
    2k Views
    Terrie HT Mar 2, 2022, 10:15 PM

    @peterjones THANK YOU! I did what you said, which actually did not work, but it prompted me to uninstall Notepad++ completely and this time I opted to not keep custom settings, then reinstalled v. 8.2.1 and now it works! :)

  • Terry CoxT

    How to Refresh Workspce folder after creating and adding a new file

    Watching Ignoring Scheduled Pinned Locked Moved
    6 Mar 2, 2022, 2:32 PM
    Feb 1, 2020, 2:42 AM
    0 Votes
    6 Posts
    2k Views
    Gururaj JoisG Mar 2, 2022, 2:32 PM

    @andrecool-68 For folders on the network drive, this is not working. We have to close and open the notepad++.

  • Thomas KlinghanT

    Search for range of values

    Watching Ignoring Scheduled Pinned Locked Moved
    7 Mar 2, 2022, 1:12 PM
    Mar 2, 2022, 10:13 AM
    0 Votes
    7 Posts
    2k Views
    Thomas KlinghanT Mar 2, 2022, 1:12 PM

    @alan-kilborn said in Search for range of values:

    \b69\d{2}.\d+\R

    ahhhh sorry for my misunderstanding.

    Thank you very much :-)

The Community of users of the Notepad++ text editor.
Powered by NodeBB | Contributors