• Save all before running external tool

    Locked
    5
    0 Votes
    5 Posts
    3k Views
    Pat SinclairP

    Would like the feature to be merely a check box or option in preferences to save all before run.
    One option would be to just have it as an option when you are saving a run command where you get to name it and set an accelerator for the shortcut.

    Below is ver info…
    Notepad++ v7.4.2 (64-bit)
    Build time : Jun 18 2017 - 23:38:43
    Path : C:\Program Files\Notepad++\notepad++.exe
    Admin mode : ON
    Local Conf mode : OFF
    OS : Windows 10 (64-bit)
    Plugins : mimeTools.dll NppConverter.dll

  • Help with assets file code

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    PeterJonesP

    A quick search for endless space assets file format led me to a github issue on unpacking/repacking asset files, with a mention of Endless Space, so this “Disunity” tool might be able to extract readable information from the asset file.

    Most likely (ie, I don’t know how Unity or Endless Space do it, but this is my guess based on the Disunity page), the asset bundle is a binary-encoded and/or compressed data file.

    Notepad++ is a text editor. (Yes, it’s possible to look at more than text, and if someone were to write a plugin-wrapper for disunity or write a plugin that duplicates the functionality of disunity, you might be able to use Notepad++… but if it’s not a text file, it’s not in Notepad++'s mainstream use case.)

    Without a dedicated plugin, or using the results of a tool like Disunity to convert the file to text before editing: You could using the HEX Editor plugin for Notepad++ (download thru plugin manager), and might be able to edit the non-text data directly, but you’d have to do the interpreting of the individual bytes yourself. (And the last time I tried, HEX Editor was pretty buggy/crashy; your results may vary.)

  • regex: match whole content of a file that contains a particular WORD

    3
    0 Votes
    3 Posts
    1k Views
    Robin CruiseR

    thank you

  • The end tag for java class programs ie" }"

    Locked
    3
    0 Votes
    3 Posts
    2k Views
    Oba OcholaO

    I coded the program afresh and noted where the error was coming from. Thanks for any assistance.

  • Compare Plugin - How to work with its output?

    Locked
    1
    0 Votes
    1 Posts
    3k Views
    No one has replied
  • 64 bit console/terminal available?

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    Claudia FrankC

    @Cookie-UK

    menu Run->Run
    type cmd
    press Run button

    Cheers
    Claudia

  • How to zoom in on white space symbols

    Locked
    5
    0 Votes
    5 Posts
    2k Views
    Claudia FrankC

    @Scott-Sumner, @dail

    Thx for the hint and alternatives. Actually I thought it is a buffer setting but gave it a try
    and have to confirm it isn’t. But it is a per editor attribute which means, we have to set
    editor1 and editor2 from within startup.py

    editor1.setWhitespaceSize(4) editor2.setWhitespaceSize(4)

    Cheers
    Claudia

  • How to do variable (and function) highlighting for my own language?

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    Jim DaileyJ

    You could try adding “.” as an operator.

  • How to very simply and easily replace blocks of text?

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    Claudia FrankC

    @Bruno-Vincent

    do you look for some automatism or are you looking for column mode?
    If the first is the case we need to have more details about the real data it the latter
    is the case, click with the mouse to the first position, press SHIFT+ALT and while still pressing
    click with the mouse the end position. Then do simple CTRL+X and CTRL+V

    Cheers
    Claudia

  • Notepad++ Replaces some numbers with random characters?

    4
    0 Votes
    4 Posts
    3k Views
    Claudia FrankC

    @Revreo

    this means, that the font you used previously has been corrupted.
    If you do a web search for fix broken font you should get a plenty
    of links which will show you what needs to be done in order to make
    this font working properly again.
    Btw. npps default font used by the editor control is, afaik, Courier New.

    Cheers
    Claudia

  • 7.4.2 - FTP Folder structure collapses sub-folders upon save...every time

    Locked
    2
    0 Votes
    2 Posts
    1k Views
    Michael BrownM

    Apparently my transfer protocol changed. Correcting this setting resolved the issue.

  • Help file?? Preferably integrated into Notepad ++

    Locked
    1
    0 Votes
    1 Posts
    892 Views
    No one has replied
  • 0 Votes
    1 Posts
    1k Views
    No one has replied
  • Find and Replace to include <cr><lf>?

    Locked
    4
    0 Votes
    4 Posts
    27k Views
    EP PackE

    @guy038, worked like a champ!! Thanks!

    It initially didn’t because I hadn’t noticed the “use regex” radio button :) but once I did, hurray!

    elaine

  • unable to save html file

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    Peter SeymourP

    Just found out someone else had a problem 3 weeks ago saving
    HTML file. So I will uninstall notepad++ and use a different HTML
    editor. My thanks to Parpabuck209 who gave the advice back then.

  • Remove special characters in certain location in csv file

    10
    0 Votes
    10 Posts
    10k Views
    guy038G

    Hi, @claudia-frank,

    In other words, considering the general case, we have to search for C text, between two limits A and B

    But, how to define text, which is between these two limits ? Well, simply, because, at ANY location reached :

    A limit A must not be found, further on, in the same line

    A limit B must be found, further on, in the same line

    This implies the two conditions to respect :

    The negative look-ahead (?!.*?A)

    The positive look-ahead (?=.+?B)

    In our particular case :

    Limit A is the string "file:\x2F\x2F ( \x2F represents the normal slash character, / )

    Limit B is the simple ending " character

    And, of course, C is the regex to get special characters [^\w:/.]

    Just notice that we could swap the two lookarounds, without any problem ! Remember that, at any location, reached by the regex engine, the two conditions, resulting of the look-arounds, are, necessarily, both, evaluated !

    Thus, the complete search regex (?-is)(?=.+?")(?!.*?"file:\x2F\x2F)[^\w:/.], correctly, find the same special characters, as in my previous post !

    Now, using the example text, below :

    A sim^ple tes#t "file://^598C308F;75D2A1D485#22405CE21918@E94D6475FC22E^pimgpsh_thumbnail_win_distr.jpg" A si;mple Te@st

    As long as the current regex engine location is before the string "file:…, the negative look-ahead (?!.*?"file:\x2F\x2F) is not true, so no overall match is possible, whatever the text C searched

    As soon as the current regex engine location is at the ending " double quote, or further on, the positive look-ahead (?=.+?") is false, so no overall match is possible, too, whatever the text C searched

    But, when the current regex engine location is, BOTH, right after the "file:… string AND before the ending " double quote, the two conditions are, simultaneously, TRUE. So, an overall match may be found, providing it, also, matches the C text. That is to say, the regex [^\w:/.]

    Cheers,

    guy038

    P.S. :

    Note that when the current regex engine location is right after the starting double quote, the negative look-ahead (?!.*?"file:\x2F\x2F), this time, is true. So, we need to include the semicolon and the slash, as regular characters. Otherwise, they would be found and deleted, as well as the dot character !

  • Copy and paste inside a macro

    5
    0 Votes
    5 Posts
    7k Views
    guy038G

    Hello, @gregory-west,

    No doubt, @claudia-Frank, that your macro does the job, correctly !!

    But, I’m thinking about an easier method !

    First, select any range of characters that is to be repeated, several times, with additional text

    ( In our example it would be all the characters, located to the left of a specific column ! )

    Secondly, opens the Replace dialog ( Ctrl + H )

    => The selection is, automatically, filled up, in the Search what: box

    In the Replace with: box, simply type $0 added text $0 another text $0

    Select the Regular expression search mode ( IMPORTANT )

    Click on the Replace button, several times or just once time the Replace All button

    Et voilà !

    Notes :

    The $0 syntax represents ALL the search contents !

    To insert a new string, just do any other selection and update the Replace dialog, hitting the Ctrl + H shortcut !

    You may, as well, change the additional replacement text. For example : $0 This is $0 the text $0 to insert, among the "$0" strings

    Remark :

    Gregory, if your selection contains one, or more, of these 13 characters . [ { } ( ) \ * + ? ^ $ |, you’ll must escape each of them, with a backslash ( \ ), as there are special regex characters !

    Best Regards,

    guy038

  • Unable to associate .Config files with Notepad ++ !!

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Creating Notepad++ Plugin from Scratch

    Locked
    1
    0 Votes
    1 Posts
    982 Views
    No one has replied
  • all lines highlighted by default after update

    3
    0 Votes
    3 Posts
    1k Views
    Matthew HollanderM

    thank you so much for the suggestion.
    i deleted a few of the installed plugins and the problem immediately disappeared.
    phew!
    npp is my favorite text editor-
    thanks again,