• Regex: Select all between double quotes ""

    3
    0 Votes
    3 Posts
    408 Views
    Robin CruiseR

    thanks @guy038

  • Question About Formatting

    4
    0 Votes
    4 Posts
    310 Views
    Alexander Elan ConstantinoA

    @Terry-R said in Question About Formatting:

    For getting an exact copy use the windows explorer function to make a copy which will be a clone. However since it appears you are trying to alter settings so your app will be customised to your needs, using Notepad++ to perform edits on this file will very likely end in abject failure.

    Okay, that makes sense! Thank you for the information about binary files!

  • function list questions

    3
  • how do i delete the whole line based on a find argument

    3
    0 Votes
    3 Posts
    5k Views
    dinkumoilD

    @Ben-Robertshawe

    There is also a solution without using regular expression searches.

    Open the Find dialog box and navigate to register Mark. Enter your search tag in Find what. Tick option Bookmark line. You may also tick options Purge for each search and Wrap around. Furthermore tick option Normal in Search mode group box. Click on button Mark All. Navigate to (menu) Search -> Bookmark and click on submenu entry Remove Bookmarked Lines.
  • 0 Votes
    11 Posts
    400 Views
    Robin CruiseR

    I found a solution that works with PowerShell, that will replace all lines with the canonical link tag:

    $sourcedir = "C:\Folder1\" $resultsdir = "C:\Folder1\" Get-ChildItem -Path $sourcedir -Filter *.html | ForEach-Object { $content = Get-Content -Path $_.FullName -Raw $replaceValue = (Select-String -InputObject $content -Pattern '(?<=<link rel="canonical" href=").+(?=" />)').Matches.Value $content = $content -replace 'https:\/\/.+.html',$replaceValue Set-Content -Path $resultsdir\$($_.name) $content }
  • How do I Replace all at end of Line?

    3
    0 Votes
    3 Posts
    338 Views
    Nathan HeathN

    @PeterJones Thank you, it worked perfectly.

  • Plugin Admin not installing any plugins

    3
    0 Votes
    3 Posts
    5k Views
    jnappo64J

    go to proxy configuration and delete 0.0.0.0

  • Flickering when changing tabs

    3
    0 Votes
    3 Posts
    466 Views
    T

    Debug info:
    Notepad++ v8 (64-bit)
    Build time : Jun 6 2021 - 18:38:25
    Path : C:\Program Files\Notepad++\notepad++.exe
    Command Line :
    Admin mode : OFF
    Local Conf mode : OFF
    Cloud Config : OFF
    OS Name : Windows 10 Home (64-bit)
    OS Version : 2004
    OS Build : 19041.1052
    Current ANSI codepage : 1252
    Plugins : mimeTools.dll NppConverter.dll NppExport.dll RunMe.dll VisualStudioLineCopy.dll

    Although it also occurs when I use a fresh portable version. The files are relatively small XML files. It is especially visible in the document map. It only occurs when the »Word wrap« option is enabled, but then also on another (powerful) PC.

  • "Replace All" is not working

    7
    0 Votes
    7 Posts
    11k Views
    VikktourV

    Uncheck “In selection” worked for me

  • Can the number of spaces represented by a tab be changed?

    3
    0 Votes
    3 Posts
    168 Views
    Charles Anon 0C

    @mere-human

    That’s it - thanks very much!

  • How to Trun on Windows 10 Text Cursor Indicator in Notepad++?

    3
    0 Votes
    3 Posts
    2k Views
    PeterJonesP

    @tjor ,

    I searched the internet for “windows 10 text cursor indicator” and found a variety of sites that mentioned the Windows 10 > Settings > Ease of Access > Text Cursor settings page. But none of them showed the nifty quarter-circle indicators above and below like you showed: 12faa02a-6292-4c60-aa94-8a3b00ecde06-image.png The help pages I looked at (this and that) showed something that looked more like thick [ characters instead of the normal |.

    But when I looked in my Windows 10, I didn’t have that setting. Mine, in the Ease of Access, has something called “Cursor & pointer” instead of “Text Cursor”, where you can change the size and shape of the arrow pointer and the thickness of the | typing-cursor. And all of those are Windows settings, which appear to slightly vary from one version to the next (and/or maybe from one localization to the next, since you appear to be using a different native language than I use).

    Notepad++ for me honors the arrow settings (hollow/filled, size, etc) from “Cursor & Pointer”, but it doesn’t use the thickness setting. That’s probably because Notepad++ (or Scinitlla) is defining its own cursor caret thickness through the setting that @Alan-Kilborn already pointed out to you, rather than using the windows standard caret which is implemented in windows tools and applications (like windows dialogs, notepad.exe, and the like).

  • Jak naprawić to ( aplikacja świeżo po zainstalowaniu)

    2
    0 Votes
    2 Posts
    161 Views
    PeterJonesP

    @The-Martha ,

    What do you want to fix? As far as I know, Java .jar files are binary files, not text files. Notepad++ is a text editor.

    If you are trying to get at the Java source code behind the .jar file, your best bet is to find the source files for the .jar – if it’s open source, you should get that from the author/distributor; if it’s closed source, good luck. You might be able to find a Java forum where you could ask how to “uncompile” or “reverse compile” or otherwise extract the source code – that is not a topic for this forum, because it has nothing to do with Notepad++. I know with .exe compiled files, “reverse compilers” can come up with code that is effectively similar, but it won’t necessarily have the same readable structure that you would find in the original source code. But this Forum is not the right place to pursue such questions.

    If you found a .jar-to-source-code conversion application elsewhere, and wanted to ask here “how can I use this in conjunction with Notepad++”, there are ways in Notepad++ to run external processes (like the Run menu, or NppExec plugin, or similar) – and the basic ideas are covered in the FAQ: “How do I use Notepad++ to Compile my Source Code (or Convert My Text)?”

  • Search and Replace Value on a Table (LUA)

    4
    0 Votes
    4 Posts
    523 Views
    Mark LozadaM

    @guy038

    Thank you very much! It worked wonderful
    Thank you for your time!

  • 0 Votes
    10 Posts
    989 Views
    Alan KilbornA

    @mere-human said in Icons of some plugins don't appear after applying the new Fluent icons in Notepad++ v8:

    I don’t think this is good, but it just happens.

    I don’t see any other way of doing it, in practice.
    This isn’t a commercial product.
    I for one am cutting it some slack on this.
    Meaning, I’m okay with such growing pains.
    Now, if it corrupts my text files…that’s another story (but there’s no indication of any issues like that).
    I upgraded to v8 quickly for some of the non-dark new features.

  • Установка Notepad++

    5
    0 Votes
    5 Posts
    391 Views
    mere-humanM

    @Michael-Vincent said in Установка Notepad++:

    Alas, I now just use NppExec to hook external debuggers.

    Wow, it’s interesting to know that you use Notepad++ coupled with a debugger!

  • Plugin macro copy paste

    3
    0 Votes
    3 Posts
    879 Views
    Frank ÖsterF

    @PeterJones
    Wow it worked flawlessly! I’m just getting in to the space and I’m continuously flabergasted by how powerful a tool NPP can be. It’s exciting really! Thanks for your help, I’m sure that probably existed somewhere but I couldn’t find it with my search criteria…
    I’ll be saving this as a bookmark for sure!

    Thanks!

  • Adjust Numbers in an expression by a set amount

    16
    0 Votes
    16 Posts
    1k Views
    Leon Bob NoëlL

    @Alan-Kilborn if I was receiving answers while I was able to actually do it sure, but then if not I’d have to then ask if there was a way to do it. That seems much less efficient. I know when I’m helping someone I’d much rather have them ask questions right away. The longer they wait the less likely I’ll be looking at the forum to know they need a response. Maybe that’s just me, but having a question & waiting to ask it because it might not be necessary is just rude to the person giving help, while asking questions that are unnecessary right away is only really harmful to the ego of the asker, I’d rather look like I don’t know something I actually don’t know, than go to do something & have to come back & ask for more information because I was afraid of looking like an idiot, & thereby actually being an idiot

  • Light theme with consistent coloring

    3
    0 Votes
    3 Posts
    974 Views
    T

    I imagine there have to be lots of other themes available, but I did merely nothing.
    Is that due to lack of an official place (hub) to share themes? Is everybody who does not like the default theme doing his own thing and their themes never hit the internet?

  • custom button

    4
    0 Votes
    4 Posts
    692 Views
    Alan KilbornA

    @Philippe-Lajeu said in custom button:

    and how do you enable that ? :) please

    A good into to setting up a script is found HERE.

  • File changed status not visible in Folder as Workspace view

    3
    1 Votes
    3 Posts
    209 Views
    PeterJonesP

    @christopherpow ,

    The tab bar icon for each edited tab will show either a red disk icon for unsaved and blue disk icon for saved; or, with Settings > Preferences > General > Tab Bar > Alternate Icons checked, it will show a pencil for unsaved or checkmark for saved. Either way, the information is already available at-a-glance with the current implementation.

    Given that the Folder As Workspace might take up more than one screen, with the edited file scrolled out of view anyway, and that any edited-but-unsaved file will still have a tab in the tabbar, I think the tabbar indicator would be more obvious / noticeable than one in FaW panel. But “obvious / noticeable” is in the eye of the beholder.

    If that’s not sufficient, feel free to make a feature request as Alan linked, but understand that not all features requested are ever implemented, and if they are, it might be a while.