• how to resize plugin window

    2
    0 Votes
    2 Posts
    111 Views
    PeterJonesP

    @ccoreymcmillan said in how to resize plugin window:

    . it wont let me resize the window and i am super green

    It is up to each individual plugin author to decide whether a dialog should be resizeable, and if so to include the code to make it resize. If the plugin author didn’t make it resizeable, there is nothing you or Notepad++ can do to change that. Sorry

    i would include a screenshot but don’t see a file upload or anything

    You can just paste the image in your post.

  • 0 Votes
    20 Posts
    34k Views
    C

    Yes, this is annoying but you can put your backup anywhere you want and then create a symbolic link in the hardcoded location that points to your real backup. That is what I did and it works seamlessly. Should be able to update the path but this is a pretty clean workaround.

  • numeri casuali

    4
    0 Votes
    4 Posts
    205 Views
    guy038G

    Hello, @stephano-brovelli and All,

    From wikipedia, for example, here is the list of the 20 most common surnames in England, which will be our INPUT text :

    Surname Percentage Smith 1.26 Jones 0.75 Taylor 0.59 Brown 0.56 Williams 0.39 Wilson 0.39 Johnson 0.37 Davies 0.34 Robinson 0.32 Wright 0.32 Thompson 0.31 Evans 0.30 Walker 0.30 White 0.30 Roberts 0.28 Green 0.28 Hall 0.28 Wood 0.27 Jackson 0.27 Clark 0.26

    So, let’s suppose you want to insert, a column of random numbers between the Surname and Percentage existing columns. Follow this road map :

    First, determine the number of rows of your list : in our example we have 20 rows

    After your list, create 20 consecutive empty lines

    Move back to the beginning of these empty lines

    Open the Column editor ( Alt + C )

    Select the Number to Insert option

    Chose 1 for each option and Zeros or Spaces for leading characters

    Select the DEC format

    Click on the OK button

    => Of course, you’ll get this simple list :

    1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20

    Move back to the beginning of that list of numbers

    Do a normal selection of the lines ( from line 1 to line 20 )

    Use the Edit > Line Operations > Randomize Line Order option

    => You’ll get, for instance, this kind of OUTPUT :

    9 5 20 18 19 3 7 6 17 8 16 2 14 1 4 15 10 12 11 13

    Move to the first number of this new list, at column 1

    Hold down the Alt and Shift

    Do a zero-width column selection of these 20 numbers, with successive hits on the Down arrow

    Click two times on the Right arrow key, to select the complete numbers

    Click on the Ctrl + C shortcut

    Go to the beginning of your present list

    Put the caret/cursor on the 15th column of the first line Smith

    Click on the Ctrl + V shortcut

    => You should get your expected OUTPUT text, below :

    Surname Percentage Smith 9 1.26 Jones 5 0.75 Taylor 20 0.59 Brown 18 0.56 Williams 19 0.39 Wilson 3 0.39 Johnson 7 0.37 Davies 6 0.34 Robinson 17 0.32 Wright 8 0.32 Thompson 16 0.31 Evans 2 0.30 Walker 14 0.30 White 1 0.30 Roberts 4 0.28 Green 15 0.28 Hall 10 0.28 Wood 12 0.27 Jackson 11 0.27 Clark 13 0.26

    Best Regards,

    guy038

    Ciao, @stefano-brovelli e tutti,

    Da wikipedia, ad esempio, ecco la lista dei 20 cognomi più comuni in Inghilterra, che sarà il nostro testo INPUT :

    Cognome Percentuale Smith 1.26 Jones 0.75 Taylor 0.59 Brown 0.56 Williams 0.39 Wilson 0.39 Johnson 0.37 Davies 0.34 Robinson 0.32 Wright 0.32 Thompson 0.31 Evans 0.30 Walker 0.30 White 0.30 Roberts 0.28 Green 0.28 Hall 0.28 Wood 0.27 Jackson 0.27 Clark 0.26

    Supponiamo quindi di voler inserire una colonna di numeri casuali tra le colonne Cognome e Percentuale esistenti. Seguire questa tabella di marcia:

    Per prima cosa, determinare il numero di riga dell’elenco: nel nostro esempio abbiamo 20 righe

    Dopo l’elenco, creare 20 righe consecutive vuote.

    Tornare all’inizio di queste righe vuote.

    Aprire il Column editor ( Alt + C )

    Selezionare l’opzione Numero da inserire.

    Scegliere 1 per ogni opzione e Zeri o Spazi per i **caratteri di testa

    Selezionare il formato DEC

    Fare clic sul pulsante OK

    => Naturalmente, si otterrà questo semplice elenco:

    1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20

    Tornare all’inizio dell’elenco di numeri

    Effettuare una selezione normale delle righe ( dalla riga 1 alla riga 20 )

    Utilizzare l’opzione Modifica > Operazioni di riga > Randomizza ordine righe.

    => Si otterrà, per esempio, questo tipo di OUTPUT :

    9 5 20 18 19 3 7 6 17 8 16 2 14 1 4 15 10 12 11 13

    Passare al primo numero di questo nuovo elenco, alla colonna 1.

    Tenere premuti i tasti Alt e Shift.

    Eseguire una selezione a larghezza zero di colonna di questi 20 numeri, premendo successivamente la freccia Giù.

    Fare clic due volte sul tasto freccia Destra per selezionare i numeri completi.

    Fare clic sulla scorciatoia Ctrl + C

    Andare all’inizio dell’elenco presente

    Posizionare il cursore sulla 15° colonna della prima riga Smith

    Cliccare sulla scorciatoia Ctrl + V

    => Dovreste ottenere il testo aspettato OUTPUT, qui sotto:

    Cognome Percentuale Smith 9 1.26 Jones 5 0.75 Taylor 20 0.59 Brown 18 0.56 Williams 19 0.39 Wilson 3 0.39 Johnson 7 0.37 Davies 6 0.34 Robinson 17 0.32 Wright 8 0.32 Thompson 16 0.31 Evans 2 0.30 Walker 14 0.30 White 1 0.30 Roberts 4 0.28 Green 15 0.28 Hall 10 0.28 Wood 12 0.27 Jackson 11 0.27 Clark 13 0.26

    Cordiali saluti,

    guy038

    Tradotto con DeepL.com (versione gratuita)

  • update notepad++

    12
    0 Votes
    12 Posts
    27k Views
    PeterJonesP

    @lιƒєlιηє-__,

    Just press the question mark (?) button in Notepad++, located near the Windows key,

    The Windows key is a physical thing on the keyboard, the ? menu is a graphical element you can click in the Notepad++ menu bar. How a menu-entry can be “near” a key on your keyboard is completely and totally beyond comprehension.

    If you’re going to bother posting to a topic that had been answered and left dormant years ago, the least you could do is not bring in false information.

    (And the advice to “press the question mark (?) button … and click’Update Notepad++'” had already been given in various forms three years ago. So that added nothing new.)

  • Running a macro on all the open docs ?.

    52
    0 Votes
    52 Posts
    8k Views
    Alan KilbornA

    @Alan-Kilborn said in Running a macro on all the open docs ?.:

    Here’s the PS bug report: …

    The aforementioned bug is fixed in PS release 3.0.23.

  • "Join Lines" with trailing whitespace anomaly, older npp versions

    9
    2 Votes
    9 Posts
    332 Views
    Alan KilbornA

    @Neil-Schipper said in "Join Lines" with trailing whitespace anomaly, older npp versions:

    I couldn’t see a way to edit the commit msg

    Well, the owner of it would be the only one with the power to edit it.

    or even leave a comment

    Not everything is commentable.

    so I invite a keener to fix it as the task is beyond my weight class

    No one would really want to expend the tedious effort required to fix it (make the links go to the right place). It’s an unfortunate copy/paste result. Perhaps in the future more attention will be paid to it and Notepad++ could be used to replace # with “base url to Scintilla bug list site”.

  • Read-Only does not work

    8
    1 Votes
    8 Posts
    3k Views
    Alan KilbornA

    @Alan-Kilborn said:

    Ideally there would be three options:

    clear readonly (as it now functions) make readonly in Notepad++ (as it now functions – only disallows you from editing in the buffer – file system attribute unaffected) set readonly (currently missing! would set the readonly attribute in the file system as well as disallow editing in N++ buffer)

    In Notepad++ 8.8.2 and later are two “new” checkmarkable choices at the bottom of the Edit menu:

    5886cb49-dc35-4684-a952-f1d43fd6906e-image.png

    I use quotes because they aren’t entirely new; they replace old items whose functionality has been reworked a bit to cover all needs.

    The menu text is fairly self-explanatory for the functionality.

    Really, the only new part of it is that the readonly attribute in the file system can now be set as well as cleared.

    One more bit of newness: When the file system’s readonly attribute is set on a file, its tab icon will appear with an F on it, presumably standing for “File System”. (Truly, it would have been better for the menu text to have been “Read-Only Attribute in File System”…)

    Also, there can be a double level of protection: If Read-Only in Notepad++ is set first, then the Read-Only Attribute in Windows is applied, Read-Only in Notepad++ will be greyed but still checkmarked. Later if Read-Only Attribute in Windows is removed, Read-Only in Notepad++ will again be enforced.

    I’m sure all this and more appears in the user manual, I’m just modernizing an old thread here in case someone reading this is confused by the now outdated info above.

  • Add New Line Automatically After Pasting

    2
    0 Votes
    2 Posts
    123 Views
    PeterJonesP

    @Fern99 ,

    A few years back, I shared a macro here that pasted the clipboard and then adds a newline sequence. I think this is what you want.

  • Notepad++ replacing '!='

    6
    1 Votes
    6 Posts
    707 Views
    PeterJonesP

    @Michael-Goessmann-Matos said,

    @PeterJones

    Actually, I configured Notepad++ to update as soon as an update is available so I wonder how this could have happend.

    As I said above,

    or you previously had an older version that got upgraded without changing your setting (if you originally had DirectWrite off, and upgraded to a version that had it on by default, it would not generally overwrite your previously-saved setting).

  • 0 Votes
    11 Posts
    317 Views
    Alan KilbornA

    @PeterJones said:

    The script he was linking to is now in the second post in this topic.

    OK.

    I think the use of “script” for that (OP’s usage, not Peter’s) is a bit confusing.
    It’s just a command-line invoking Notepad++, albeit a rather complex one.
    I understand that it could be called a “shell script”, of course.

  • Legacy Print dialog freeze (Windows)

    8
    0 Votes
    8 Posts
    372 Views
    Alan KilbornA

    @PeterJones said in Legacy Print dialog freeze (Windows):

    In Emacs (and possibly other unixy apps), control key combos are indicated with…

    Nice to know, I guess, but I could’ve lived without that knowledge. :-)

    As Notepad++ is a Windows (only) app, let’s try to stick to its (and Windows’) notations when discussing it: Ctrl+X Current Microsoft notation

  • How does one create a desktop icon for this program please?

    10
    0 Votes
    10 Posts
    494 Views
    mathlete2M

    @Alan-Kilborn said in How does one create a desktop icon for this program please?:

    You should distill that down into something exactly applicable to Notepad++

    Good point.

    The command prompt code below will create a simple shortcut on the Desktop that shows the various command line arguments that NP++ supports in a pop-up before launching NP++ itself. The ICON-based pieces can be omitted if you prefer the standard icon, and PF may need to be adjusted depending on where you actually installed NP++ to.

    set PF=%PROGRAMFILES(x86)% set TARGET='"%PF%\Notepad++\notepad++.exe"' set STARTIN='"%USERPROFILE%\Documents"' set SHORTCUT='"%USERPROFILE%\Desktop\NP++ - help.lnk"' set ICON='"%PF%\Notepad++\updater\updater.ico"' set ARGUMENTS='--help' set PWS=powershell.exe -Command %PWS% "$ws = New-Object -ComObject WScript.Shell; $s = $ws.CreateShortcut(%SHORTCUT%); $S.WorkingDirectory = %STARTIN%; $S.TargetPath = %TARGET%; $S.IconLocation = %ICON%; $S.Arguments = %ARGUMENTS%; $S.Save()"
  • Font size and toolbar too small in Linux

    3
    0 Votes
    3 Posts
    266 Views
    ThosRTannerT

    possible AI spam?

  • help disabling smart quotes

    2
    0 Votes
    2 Posts
    176 Views
    Terry RT

    @Dave-Lang
    I’m not familiar with your problem but your issue did make me recall a previous post here.

    It might have occured as you just updated the version of Notepad++ from a very much older one, or possibly changed to a different font.

    Anyways, read that post and maybe you might find the answer.

    Terry

  • 0 Votes
    2 Posts
    184 Views
  • What makes notepad++ capable of making an html ???

    13
    0 Votes
    13 Posts
    2k Views
    PeterJonesP

    Since this has come up twice in the last couple months, I have cleaned up the instructions and split them off into a dedicated “FAQ: Using the GCC version of Notpead++

  • Keyboard shortcuts from external apps not working

    3
    0 Votes
    3 Posts
    197 Views
    Bernard DaninoB

    @Ekopalypse said in Keyboard shortcuts from external apps not working:

    @Bernard-Danino

    Right, that’s strange.
    I use Deepl, there is also the shortcut ctrl+c+c and as you can see in this screenshot, it works.

    ebeba1d0-a3b9-47fe-b0c6-147b935d1e4d-{68B7D05B-062A-4BBA-BDD0-5EE32126EC71}.png

    Understood. I passed it on to Reverso. Maybe they have an explanation, although the ticket I opened over there didn’t yield anything. Maybe this new info will get them going.
    Thanks

  • How to use VS Code keymap in Notepad++?

    3
    0 Votes
    3 Posts
    3k Views
    N

    Hi, I ran into the same issue.

    I unfortunately don’t have enough time to manually check every single vscode keymapping, but with the courtesy of an LLM I was able to generate a “good enough” shortcut map that has all the functionality I need, which is mostly just alt+up/down and ctrl+/

    https://gist.github.com/nopeless/b18fe37105fd165cd9c637d4a2a2b48b

    Here is the link

  • Some files no longer load. Many files are missing in the document list.

    2
    0 Votes
    2 Posts
    173 Views
    PeterJonesP

    @john-murphy ,

    I had delayed responding, because I’m not sure I understand exactly what’s going on for you. I was hoping someone else understood your post better, so they could provide help. But since it’s been a few days with no response, I will chime in saying, “I am confused”.

    I try to load a file I use often and it opens a workspace

    How do you load the file? Windows Explore double-click? Windows Explorer right-click and picking Edit with Notepad++? Notepad++'s File Open or toolbar equivalent? Double clicking on the filename in the View > Folder as Workspace’s panel? Double clicking on the filename in the View > Project Panels > Project Panel N? Something else I haven’t thought of?

    I cannot think of any way to get any of those actions to launch the project/workspace panel or folder-as-workspace panel. (Those last two had to manually open the panel first, before double clicking, and double clicking would still open the file.)

    About the only thing I can think that would change Notepad++ to automatically open a “workspace” instead of a file would be if you had set Settings > Preferences > MISC’s Workspace file ext: to an extension that happened to match your file’s extension (in this case, I think you want Portguese general.txt, and it would really surprise me if you’d set that extension setting to txt); but if you did that, and the content of your file was the right XML to match a workspace definition, then Notepad++ would open that workspace instead of opening a file. But that doesn’t quite sound like your symptoms, and it would be really confusing to me.

    I think you need to explain more step-by-step what you are doing – maybe even with screenshots at various points along the way, so we know exactly how you got to where you are.

  • Cannot change Encoding to correct encoding of UTF-8

    5
    0 Votes
    5 Posts
    379 Views
    Tom SassonT

    @Coises said in Cannot change Encoding to correct encoding of UTF-8:

    Open Settings | Preferences… | MISC. and look for Autodetect character encoding.

    Thank you for your suggestion, this liitle “trick” with unchecking Autodetect fixed the issue for me