• Editing shortcuts.xml

    20
    0 Votes
    20 Posts
    9k Views
    Meta ChuhM

    thank you for sharing your shortcuts.xml @James-Burke
    i’m glad you got it working, and my apologies that it consumed more of your time than it should.

  • Emmet Installation

    Locked
    2
    0 Votes
    2 Posts
    6k Views
    Meta ChuhM

    welcome to the notepad++ community, @mahmudmihon

    yes.
    here are the instructions on how to install the emmet plugin on notepad++ 7.6.4:

    first, follow the >>> Guide: How to install the PythonScript plugin on Notepad++ 7.6.3, 7.6.4 and above <<<, to install pythonscript manually.

    then download the 32 bit emmet plugin emmet-npp.zip from >>> here <<< and extract it.

    important note: the official version of the emmet plugin for notepad++ is only available for 32 bit.
    if you have notepad++ 7.6.4. 64 bit and you want to keep it, you could try to use the experimental,
    unofficial, user compiled 64 bit version of the emmet plugin from >>> here <<<.

    go to the notepad++ 7.6.4 menu plugins > open plugins folder to open your plugins folder, and create a new folder called EmmetNPP.

    copy all files and folders from the extracted emmet-npp.zip into the EmmetNPP folder you have created.

    note: your Notepad++\plugins\EmmetNPP folder should now contain a file called EmmetNPP.dll and another sub-folder that is also called EmmetNPP.

    now restart notepad++ and you will see both the emmet plugin and the python script plugin at your plugins menu.

  • 0 Votes
    3 Posts
    705 Views
    Meta ChuhM

    welcome to the notepad++ community, @NobleRogue

    the official solution to save your settings to a sync folder or remote location is using the cloud option at the preferences.

    important note: it’s recommended to use a local drive location only, as a network drive that is offline for just less than one second can lead to session data loss.
    this local folder should then be permanently synchronised to your server (e.g. using owncloud, cloud station, dropbox, onedrive, etc).
    keep in mind, that without the presence of this folder, notepad++ will not be able to function as expected.

    go to settings > preferences > cloud, select set your cloud location path here and browse to the drive and folder you wish to use, as seen at the screenshot below:

    Imgur

    the custom cloud folder will now contain the user’s settings, custom context menus and custom shortcuts/run menu entries.

  • Can't edit save files.

    Locked
    4
    1 Votes
    4 Posts
    7k Views
    Meta ChuhM

    @Matthew-Martell

    game saves are usually proprietary binary format files, which can not be cheated/edited with notepad++, so the settings mentioned above will not help you.
    newer games and all online games also have a tampering mechanism for all saves.

    note: if you follow a guide on how to cheat at your specific game, you will find the tools or hex editors you need, mentioned there.

    @Ekopalypse

    good news: autodetect character encoding is already fixed and available at the upcoming 7.6.5 release.

  • 7.5.9 checking for update: No update is available

    6
    0 Votes
    6 Posts
    2k Views
    Alan KilbornA

    @Spiros-Doikas

    When you say you saw your old plugins there, did you see them directly (as DLL files) or did you see them as folders (with the names of the plugins)?

    DLL files -> pre 7.6
    folders -> 7.6 onwards

    At least that is how it should be.

    Pythonscript install instructions for 7.6.x are here: https://notepad-plus-plus.org/community/topic/17256/guide-how-to-install-the-pythonscript-plugin-on-notepad-7-6-3-7-6-4-and-above

  • 0 Votes
    3 Posts
    649 Views
    Ziad AboramiZ

    Thank you ☺

  • Using Regex to replace email address

    Locked
    2
    2 Votes
    2 Posts
    3k Views
    EkopalypseE

    @Dave-Massa

    replace with \($0\)

  • How to copy multi-line text (hard Return) from Excel without extra quotes?

    10
    1 Votes
    10 Posts
    29k Views
    EkopalypseE

    @Pete-Wright

    maybe this is/sounds stupid but why not just replacing the double quotes with nothing afterwards?
    I mean, if this is a repetitive task you might even think about creating a macro to make your life easier.
    But I guess I’ve missed something here.

  • Problema ao executar HTML

    Locked
    2
    0 Votes
    2 Posts
    483 Views
    EkopalypseE

    @jose-matos-carvalho

    Assuming, either a syntax error or wrong filename but none are really related to
    npp.

  • VisualStudio C#: Custom LangType for the NotepadPPGateway

    Locked
    2
    0 Votes
    2 Posts
    595 Views
    EkopalypseE

    @KSI-JHoward

    don’t have a samle for c# but here is described what needs to be done and if you use, by any chance, the python script plugin in its latest version, check the samples for ColumnLexer and LogfileLexer - not the EnhancedPythonLexer example as this uses a different technique. Used to, as the name suggest, enhance an existing lexer rather than writing a new lexer.

  • 2 colorations syntaxique au sein d'un même fichier, possible ?

    Locked
    5
    1 Votes
    5 Posts
    1k Views
    EkopalypseE

    @amkp-gamy

    The html lexer is one of the few, if not the only one, lexers which uses multiple lexers
    under the hood. It styles html, js, perl, vbs, python and I assumed it does CSS as well
    but obviously this is not the case. At least with the current used scintilla version but
    I don’t know if a newer scintilla version would have CSS integrated into html lexer.

    Sorry, but I don’t think that there is a way to make two builtin lexers working at the same time. What one could try is to use a technique like described here but to be honest I haven’t much experience in css to understand its basic layout meaning. If you want to discuss this further let me know - will be online gain in about 7-8 hours.

  • Change from 32-bit to 64-bit?

    Locked
    2
    0 Votes
    2 Posts
    6k Views
    Meta ChuhM

    welcome to the notepad++ community, @bobsage123

    if you don’t need to edit files larger than appx. 320mb, there will be no need to switch to the 64 bit versions of notepad++.
    the 32 bit version also has a larger list of available plugins, so if you plan to switch to 64 bit, you should check if all plugins you need are available for 64 bit.

    if you do however want to switch to notepad++ 64 bit (max editable file size appx. 2gb) the best practice is to uninstall your 32 bit version completely and make a clean 64 bit install:

    make sure you have saved all documents, closed notepad++, and you don’t need any specific settings or customisations you have made at your notepad++ 32 bit.

    uninstall your existing notepad++ 32 bit.

    open %ProgramFiles(x86)% in windows explorer, and delete the folder Notepad++, if it still exists.

    open %AppData% in windows explorer, and delete the folder Notepad++, if it still exists.

    open %LocalAppData% in windows explorer, and delete the folder Don_HO_don.h@free.fr, if it exists.

    open %ProgramData% in windows explorer, and delete the folder Notepad++, if it exists.

    download the npp.7.6.4.Installer.x64.exe from >>> here <<< and install it.

  • Custom AutoComplete file for XML language

    13
    0 Votes
    13 Posts
    11k Views
    Emanuele AtzaE

    @Claudia-Frank

    Sorry forthe really late post

    I follow what you have done but doesn’t work…
    N++ doesn’t recognize the fuction and doesn’t show the hints

    this is the fuction definition

    <KeyWord name=“TestFuctionWord” func=“yes” />
    <Overload retVal=“int” >
    <Param name=“int Input” />
    </Overload>
    </KeyWord>

    it recognize enerything else like number, operator, keyword, comment

    and for Autocompleting the nameFuction?

    Sorry for the bad english

  • Running an HTML in Notepad++

    Locked
    10
    0 Votes
    10 Posts
    126k Views
    andrecool-68A

    @Phoebe-Jeebie said:

    thanks guys, all fixed!
    I just renamed the end of the file to *.html

    You need to select the desired syntax, and then it will be automatically saved in the desired file extension.

    Imgur

  • Notepad++ won't install Pythonscript extension

    Locked
    3
    0 Votes
    3 Posts
    618 Views
    Ziad AboramiZ

    Thanks so much ☺
    It works

  • 0 Votes
    10 Posts
    5k Views
    TyrantRCT

    @Meta-Chuh that’s a very interesting approach, will try this, although I honestly don’t know why notepad++ doesn’t have any way to open a new temp file without losing a session on start up as most software you find.

  • 0 Votes
    2 Posts
    2k Views
    Meta ChuhM

    welcome to the notepad++ community, @Wings2019

    notepad++ 7.6.4 (x86 and x64) consumes about 13-14mb ram, when all plugins are behaving correctly and no documents are opened.
    (when notepad++ is only showing a new 1 tab).

    please go to ? > debug info... > copy debug info into clipboard and paste it here, to have a look at your specific setup and your plugins.

    also check if you have opened large files in your session, as notepad++ will additionally allocate the memory to the size of all files to be re-opened.

    if the memory allocation drops and rises again in a loop, there might also be the chance, that you have opened one or more large files (300mb or more) and activated view > monitoring (tail -f) on one or more of them.

  • Doc Switcher missing

    Locked
    2
    0 Votes
    2 Posts
    1k Views
    Meta ChuhM

    @JVPage

    I can’t get the Doc Switcher anymore. Is there any way to get it back?

    yes. go to settings > preferences > general > document list panel and activate show.

    ps: how do you do with your >>> zoom level on status bar <<< ?
    did you file a feature request, or did you do it with pythonscript, or did you ignore it for now ? ;-)

  • Increase by Letters, not just numbers?

    11
    0 Votes
    11 Posts
    2k Views
    guy038G

    Hi, @moe-skaato, @alan-kilborn, @terry-r and All,

    Of course, the fact of inserting letters, only at a specific column could be binding :-(( So, here is a new method, not based on columns ;-))

    Assuming your text, in a new tab :

    preset1= “description about preset” preset2= “description about preset” preset3= “description about preset” preset4= “description about preset” preset5= “description about preset” preset6= “description about preset” preset7= “description about preset” preset8= “description about preset” preset9= “description about preset” preset10= “description about preset” preset11= “description about preset” preset12= “description about preset”

    Now, just append your list of letters, at the end of your text, with one letter per line ! Of course, you need to insert, at least, the 12 first letters, but you may list, for instance, all letters from A to Z

    Let’s add letters from A to P. So we get the text :

    preset1= “description about preset” preset2= “description about preset” preset3= “description about preset” preset4= “description about preset” preset5= “description about preset” preset6= “description about preset” preset7= “description about preset” preset8= “description about preset” preset9= “description about preset” preset10= “description about preset” preset11= “description about preset” preset12= “description about preset” A B C D E F G H I J K L M N O P

    Now, using the regex S/R :

    SEARCH (?-s)^(preset)(\d+)(?=(?:.+\R){12}(.))|^(.\R)+.?\Z

    REPLACE ?1\1\3

    You should get, after a click on the Replace All button :

    presetA= “description about preset” presetB= “description about preset” presetC= “description about preset” presetD= “description about preset” presetE= “description about preset” presetF= “description about preset” presetG= “description about preset” presetH= “description about preset” presetI= “description about preset” presetJ= “description about preset” presetK= “description about preset” presetL= “description about preset”

    And if you change the Replace regex with :

    REPLACE ?1\1\2\3

    While keeping the Search regex, you’ll obtain :

    preset1A= “description about preset” preset2B= “description about preset” preset3C= “description about preset” preset4D= “description about preset” preset5E= “description about preset” preset6F= “description about preset” preset7G= “description about preset” preset8H= “description about preset” preset9I= “description about preset” preset10J= “description about preset” preset11K= “description about preset” preset12L= “description about preset”

    Of course, you can choose any list of letters, in any order and, also, the leading part of each line :

    For instance, giving the initial text below :

    preset1= “description about preset” preset2= “description about preset” preset3= “description about preset” preset4= “description about preset” preset5= “description about preset” preset6= “description about preset” preset7= “description about preset” preset8= “description about preset” preset9= “description about preset” preset10= “description about preset” preset11= “description about preset” preset12= “description about preset” z a y b x c w d v e u f t g s h r i q j

    With the Replace regex, below ( Again, Search regex is not modified )

    REPLACE ?1Line #\2\3\t

    Here is the result :

    Line #1z = “description about preset” Line #2a = “description about preset” Line #3y = “description about preset” Line #4b = “description about preset” Line #5x = “description about preset” Line #6c = “description about preset” Line #7w = “description about preset” Line #8d = “description about preset” Line #9v = “description about preset” Line #10e = “description about preset” Line #11u = “description about preset” Line #12f = “description about preset”

    As you can see, the limit is just your imagination. With regular expressions, you can modify text in so many ways ;-))

    Notes :

    The search regex begins with (?-s), an in-line modifier, which tells that the dot ( . ) will match one standard character ( not EOL ones )

    Then there are two alternatives :

    ^(preset)(\d+)(?=(?:.+\R){12}(.))

    ^(.\R)+.?\Z

    The first alternative matches, from beginning of line ( ^ ) , the literal sting preset, stored as group 1, followed with a number \d+, stored as group 2 but ONLY IF the look-ahead is true that is to say if it exists 12 non-empty lines, with their EOL characters ( \R ), followed with, at least, one character ( a letter) on the next line, stored as group 3

    Of course, in case that your text to re-number contains more or less than 12 lines, just indicate that exact number in the search regex, instead of the number 12 !

    The second alternative simply matches the complete list of letters, at the end of your document. So a non-empty list of one-char lines ^(.\R)+, possibly followed with a last char ( .? ) before some possible EOL chars, ending the current file ( assertion \Z )

    The replacement regex, for instance ?1Line #\2\3\t, is a conditional replacement, which means that, IF group 1 exists, then it writes, first, the expression Line #, followed with the initial numbers ( group 2 ), followed with the character, taken from the list of letters ( group 3 ) and, finally, a tabulation char ( \t )

    Best Regards,

    guy038

  • 0 Votes
    3 Posts
    549 Views
    Christopher PhillipsC

    Perfect thanks 1-999 is also fine.