• Cant Run a file in a browser??...

    Locked
    2
    0 Votes
    2 Posts
    480 Views
    Meta ChuhM

    welcome to the notepad++ community, @ForceTraps

    we would need more information to be eventually of help regarding your request.

    specify if by “run” you mean to open a file in notepad++ or to execute it with an external program ?
    if it is an external program you want to pass your document to, please name this external program.

    what file did you try to run ?
    (file location and name including it’s extension, aka “full path”)

    please clarify “Is it because i need a specific version”.
    what version of what program are you referring to ?

    please go to the notepad++ menu ? > debug info... > copy debug info into clipboard and paste the content here, as we will need this information, if some config files will have to be edited for your specific installation.

  • NppExec Problem

    Locked
    6
    1 Votes
    6 Posts
    937 Views
    PaoloRicardoP

    OK, I’ve found the problem. Instead of:

    c:\gnucobol\bin\cobc -x -std=mf $(FULL_CURRENT_PATH)

    I should have c:\gnucobol3\bin\cobc -x -std=mf $(FULL_CURRENT_PATH)
    ^
    Also, since I’ve already defined the PATH variable I can just use:

    cobc -x -std=mf $(FULL_CURRENT_PATH)
    or
    cobc -x -std=mf $(FILE_NAME)

    Thanks for the suggestions, guys.

    Paul

  • Search and replace with wildcards

    Locked
    6
    0 Votes
    6 Posts
    2k Views
    Meta ChuhM

    @Pingponguin

    I followed the noob path but really did not understand how this should help me with my question.

    yes, i can relate completely.
    whilst we (as the notepad++ community) do have a vast library of regex examples and guides, it can be difficult to get a first firm grip at regex, without having a few real life examples, one can personally relate to.

    also there are some vast differences on how different users reach the same results with almost completely different syntaxes (let’s call them “personal regex dialects”).
    for example @Alan-Kilborn 's regex syntax for your request is perfect to begin with, because it is as easy as possible to read and understand.

    but if you stick around, you will also see regexes that often do the same and are very difficult to digest.
    (i usually still stick to syntaxes i can completely understand and/or are easier to break down to smaller parts)

  • Problem mit Notepad++ / Problem with Notepad ++

    Locked
    5
    1 Votes
    5 Posts
    5k Views
    Meta ChuhM

    @PeterJones

    it seems as if we all get more and more multilingual lately …

    … if it continues like that, @Alan-Kilborn is going to answer every request in swedish only, and @guy038 will do all explanations in a specific japanese dialect, only spoken in a single village, north of gokayama 😂😂😂

    @Dennis-Schlüter
    yes, @PeterJones is absolutely correct.
    as long as you stick to one single encoding (like ansi) and no other software requires anything else (like utf-8), you will be on the safe side.
    and it is better to rely on yourself, choosing the file format encoding, than any auto-detection.

    note: once you manually changed to ansi, please re-check all vital documents for incorrect characters instead of german umlauts, as wrong characters are likely to exist, once the document has been switched back and forth from one encoding to another.

    @PeterJones

    最近私たち全員がますます多言語を話すようになります…

    …それでもこのように続けば、アランはすべての要求にスウェーデン語で答えることになります、そして男は特定の日本語の方言ですべての説明をするでしょう、gokayamaの北の単一の村で話されるだけです😂😂😂

    @Dennis-Schlüter
    はい、@PeterJones は正しいです。
    (ansiのように)1つのエンコーディングに固執し、他のソフトウェアが(utf-8のように)他に必要としない限り、あなたは安全な側にいるでしょう。
    自動検出よりも、ファイル形式のエンコーディングを選択して自分に頼ることをお勧めします。

    注:手動でansiに変更した場合は、文書をあるエンコードから別のエンコードに切り替えた後に、誤った文字が存在する可能性があるため、重要な文書すべてにドイツ語のウムラウトではなく誤った文字がないか再確認してください。

    😉

  • 0 Votes
    8 Posts
    2k Views
    PPsmmP

    Thanks Meta Chuh, that’s a really clever idea - I’ll definitely give this a try

  • 0 Votes
    4 Posts
    1k Views
    Ziad AboramiZ

    Thanks very much.
    It worked fine.
    I have put
    \R(?!(<article>(.+?)</article>))
    Then the same method

    Best wishes

  • How can i use zen coading plugin in Notepad++ 7.6.3 ?

    1
    0 Votes
    1 Posts
    338 Views
    No one has replied
  • 3 Votes
    2 Posts
    2k Views
    Meta ChuhM

    @Drew-Wesley

    this is a nice question and a good idea, but unfortunately not built into notepad++.

    currently it is not possible to start nppftp and connect to a server using command line switches, but it could be done using scripting plugins like pythonscript or luascript as a workaround and playground.

    first you would have to record a macro, as connecting to a specific ftp server can not be triggered by using the menu bar items.

    then, using pythonscript in this example, you can put something like Notepad.runMenuCommand('Macro', 'Connect to your FTP') in your startup.py startup script.

    of course there would be more things to do, like connecting to the corresponding ftp if a file is opened via command line from a specific list of locations, but it’s just an idea, in case you want to dig deeper into scripting.

  • Latest Version: Browser Export

    Locked
    5
    0 Votes
    5 Posts
    5k Views
    PeterJonesP

    Did you edit the right shortcuts.xml? Did you remember to do the exit, notepad++, edit, save, exit, notepad++ sequence that I gave?

    Please give us your ? > Debug Info > Copy debug info into clipboard, and tell us the full path name to the shortcuts.xml that you edited (if it’s still open, RClick on the tab name, select Full File Path to Clipboard).

  • 0 Votes
    6 Posts
    3k Views
    rinku singhR

    @Adriano-Ellero
    it works without plugin but without language name change you can watch at youtube

  • Autocompletion and spaces

    7
    2 Votes
    7 Posts
    2k Views
    Alan KilbornA

    @Adriano-Ellero said:

    To solve this in the end i have to cancel by hand the invisible   and replace it with a “Normal” empty space.

    Seems like you could make that part as painless as possible by recording a macro of the replacement and tying that macro’s execution to a convenient keycombination.

  • autocomplete for complex svg tag

    Locked
    6
    0 Votes
    6 Posts
    1k Views
    Adriano ElleroA

    Thanks a lot Peter, I tried Macro also and I found it simple and “clean enough”…

  • 0 Votes
    6 Posts
    992 Views
    Ziad AboramiZ

    Thanks very much
    I have tried the first one and it does work

    Best wishes 😊

  • Enterprise Management

    Locked
    2
    1 Votes
    2 Posts
    867 Views
    Meta ChuhM

    @NonSecwitter said:

    I was just wondering if any thought had been given to using the Windows registry to maintain configuration settings … Is this something that could be implemented?

    hopefully not.

  • The vertical line is gone PLS HELP

    Locked
    3
    0 Votes
    3 Posts
    1k Views
    Alan KilbornA

    Probably the INS key got pressed accidentally, changing the caret and making it harder to see. LOL.

  • Plugin Admin issues 7.6.3

    Locked
    6
    1 Votes
    6 Posts
    3k Views
    Meta ChuhM

    @Scott-Boyd

    Then it would let me modify that setting and keep it regardless of whether I ran it as admin or under my ID. Once I figured this issue was happening and corrected it, I was able to update and install plugins through the Plugin Admin option.

    this is perfect and nice to hear.
    thanks for reporting back.

  • How to delete lines without String

    Locked
    4
    1 Votes
    4 Posts
    1k Views
    Alan KilbornA

    @Sammy-Bresel

    Since you are “script willing”, I might suggest Pythonscript (which is super if you already know Python) and a script to get you going with search/replace that could be adapted to what you want might be found here: https://notepad-plus-plus.org/community/topic/16942/pythonscript-any-ready-pyscript-to-replace-one-huge-set-of-regex-phrases-with-others/

  • Notepad++ hangs when clicked on Styler when defining your language.

    4
    0 Votes
    4 Posts
    961 Views
    Meta ChuhM

    @zaki-khan

    that is a good thing.

    if you want you can now compare the differences (plugins, etc) between your new portable version 7.6.3 x86 and your old installed 7.5.6 x86 to find the problem within your old install.

    or you can keep using the portable version, as it is fully featured, and has the advantage that everything is contained inside this folder, making it possible to duplicate at will, or run a duplicate from a usb drive on any other machine.

  • Search and select lines containing all keywords in notepad++

    Locked
    4
    1 Votes
    4 Posts
    3k Views
    guy038G

    Hello, @alan-kilborn, @maria-nita and All,

    Alan, the first answer of this stackoverflow’s topic is really the best one ;-))

    Indeed ! At first sight, although that, in OP text , word CAT always precedes the word DOG, I thought about the search regex, below :

    ^.*(CAT).*(DOG).*|^.*(?2).*(?1).*

    However, the syntax ^(?=.*CAT)(?=.*DOG).* is really more elegant !

    We can generalize to any number of words and, also, add conditions which should not occur ;-)) . For instance, the following regex would match all lines, with their line-breaks, which :

    Contain the 3 expressions WORD_1 AND WORD_2 AND WORD_5

    Does NOT contain the 2 expressions WORD_4 OR WORD_6

    (?-s)^(?=.*WORD_1)(?=.*WORD_2)(?=.*WORD_5)(?!.*WORD_4)(?!.*WORD_6).*\R

    So, it matches the lines 5, 12 and 14, only, in the text :

    This line 1 contains WORD_1 WORD_2 This line 2 contains WORD_1 WORD_3 WORD_5 This line 3 contains WORD_3 WORD_5 WORD_4 This line 4 contains WORD_1 WORD_5 This line 5 contains WORD_5 WORD_2 WORD_1 This line 6 contains WORD_2 WORD_1 WORD_6 WORD_5 This line 7 contains WORD_4 WORD_1 WORD_5 This line 8 contains WORD_2 This line 9 contains WORD_5 WORD_2 WORD_4 WORD_7 WORD_1 This line 10 contains WORD_1 WORD_6 WORD_2 This line 11 contains WORD_4 WORD_2 WORD_1, WORD_5 WORD_6 This line 12 contains WORD_7 WORD_2 WORD_5 WORD_1 This line 13 contains WORD_6 WORD_2 WORD_1 WORD_5 This line 14 contains WORD_1 WORD_5 WORD_8 WORD_2 WORD_3

    Best Regards,

    guy038

  • How to remove "dots"?

    3
    0 Votes
    3 Posts
    3k Views
    BelzemosB

    That’s it. Thank you!