• not finding ftp plugin

    Locked
    8
    0 Votes
    8 Posts
    12k Views
    Claudia FrankC

    I’m afraid, no - it was requested as a feature but developer never implemented it.
    The only shortcuts you can defined are

    to show NppFTP window to focus NppFTP window to call about NppFTP

    Not very helpful if you want one for uploading.

    Cheers
    Claudia

  • How to write a find ane replace experssion

    Locked
    3
    0 Votes
    3 Posts
    3k Views
    attathomeguyA

    THANK YOU SO MUCH THAT WORKED GREAT!

  • Unwanted number pop-u

    Locked
    3
    0 Votes
    3 Posts
    2k Views
    Robert W GlaubR

    Thanks!

  • Cannot install - cannot write to SciLexer.dll

    Locked
    2
    0 Votes
    2 Posts
    10k Views
    Claudia FrankC

    Hello Lisa-Cagle,

    it could be that you either

    have no write permission to the destination folder (did you use administrator account for installation?) or that there is already a file with the same name which has read-only flag set, so it can’t be overwritten.
    (if the file already exists, right click ->properties)
    Which OS do you use?

    Cheers
    Claudia

  • Selected tag background styling

    10
    0 Votes
    10 Posts
    6k Views
    Claudia FrankC

    @webdevpug,

    should I try and ask developers of the NPP to look into issue?

    I would give it a try, why not? There are already a lot of the scintilla
    styling parameters defined why not asking to provide the rest of it as well.
    There might be a reason not to do so but I guess asking can’t hurt.

    Cheers
    Claudia

  • Console Window Python Error Parsing Using NppExec

    Locked
    4
    0 Votes
    4 Posts
    4k Views
    Gregg T GeigerG

    Claudia: Your solution works perfectly. Thanks so much!

  • How keep tabs during deleting when set Replace tabs by spaces

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Unicode character displayed as an empty box.

    8
    0 Votes
    8 Posts
    16k Views
    guy038G

    Hello Angelo,

    In a prompt DOS window, your can know what is the current encoding : just type the command chcp and valid with the enter key. You probably use the codepage 850 ( OEM Multilingual Latin 1 ). Refer to the link, below :

    https://msdn.microsoft.com/en-us/goglobal/cc305160

    Of course, once your .bat file, opened in Notepad++, the accentuated characters, with code-point > \x{7f}, are wrongly displayed, because, Notepad++, use the default Microsoft ANSI codepage ( probably Windows-1252, as on my French configuration ! ). Refer to the link, below :

    https://msdn.microsoft.com/en-us/goglobal/cc305145

    You can, also, see that list, with the menu option Edit - Character Panel

    Remember that this ANSI code-page is the default codepage used, for all your NON Unicode programs, of your configuration.

    Therefore, the solution to get a well displayed .bat file, both, in N++ and with edit.com, in a DOS window, is to encode your file with the OEM 850 encoding with the menu option Encoding - Character sets - Western European - OEM 850
    ( if, of course, the chcp DOS command returned the number 850 )

    You may, also, convert, afterwards, this .bat file to the UTF-8 encoding, by using the menu option Encoding - Convert to UTF-8. However, this time, after opening it, with edit, in a DOS prompt window, it will be wrongly displayed too !

    Best Regards,

    guy038

    P.S. :

    BTW, I didn’t know the /U option of the DOS command cmd. Thanks for that tip :-))

  • 1 Votes
    9 Posts
    5k Views
    John SparkJ

    Hmm you wrote it like I would come from different planet.
    I’m not sure I described it well in my engrish :)

    But I’m sure it’s worth to build in. As I said for me as beginner, is pain in somewhere to make Atom work. It’s difficult to set it and know all available packages for my needs. It’s like every new package for every issue you want inside. It’s a lot of work to set it and also I’m not sure how overwrite basic-core key bindings and how manage conflicts of newcome key bindings coming with newly installed packages. But no more about Atom. My hero is Notepad++, I really want to stuck with it, but if me - a beginner has problems with it, I’m surprised others don’t.
    I just hope, this project won’t end like Sublime text ended or Lighttable too. Please developers listen to audience needs. Don’t let it die because of obsolete and not changing forward.

    Thanks

  • Double click selects whatever, but not what is mentioned to...

    Locked
    7
    0 Votes
    7 Posts
    5k Views
    webdevpugW

    Thanks for help =)

  • Disable Mouse Auto Movement

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    Claudia FrankC

    Hello jgjake2,

    you can’t blame npp for this rather your mouse properties settings.
    Check Pointer Options -> Snap to
    I assume this has been enabled(checked).

    Cheers
    Claudia

  • Is there a way to set %USERNAME% in the path?

    Locked
    5
    0 Votes
    5 Posts
    4k Views
    瀚程戴

    You guys got my point although I didn’t make it clear enough. It’s a pity that npp could not get an environmental variable.
    Just let you know my demand better and my solution in R:

    library(R.utils)
    user <- System$getUsername()
    directory <- paste(“C:\\Users\\”, user, “\\workspace”, sep=“”)
    setwd(directory)

    With the above code, I could set the working directory correctly regardless of which computer I use, so it’s easy for me to switch different computers.

    I’m just a beginner of Python, however, I will learn your script @Claudia-Frank .
    Thank you all!@XP1 @Claudia-Frank

  • Config File

    Locked
    5
    0 Votes
    5 Posts
    4k Views
    Dan McGovernD

    thanks for the answer

  • Can not install plugins.

    5
    0 Votes
    5 Posts
    34k Views
    Stanislav ChizhikS

    Hi Claudia,
    Thank you for the assistance! I solved the problem. Firewall… Notepad++ appeared in the block list somehow.

  • Can't figure out how to run WYSIWYG

    Locked
    3
    1 Votes
    3 Posts
    6k Views
    Claudia FrankC

    Hello Jim-Robson,

    I assume you are creating webpages with html and php
    and WYSIWYG refers to updated webpages which should be
    displayed automatically, correct?

    If so, no this doesn’t work that way. You need to edit the pages in npp
    and run (F5) it with your preferred browser. As you use php in addition,
    you need to have some web server instance running.

    In F5 dialog you can put in something like

    DRIVE:\YOUR_INSTALL_DIRECTORY\YOUR_BROWSER.exe http://localhost/$(FILE_NAME)

    DRIVE might be replaced with C, D, etc.
    YOUR_INSTALL_DIRECTORY is, of course the directory where your browser is installed
    YOUR_BROWSER.exe something like Firefox.exe etc.

    $(FILE_NAME) needs not to be replaces, it refers to the open active document but
    http://localhost/ may be, depending whether you store everything in web server root directory.

    In addition there is a nppExec plugin which does the same as F5 RUN function but with more
    functionality.

    Cheers
    Claudia

  • Error when opening any text file

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    Claudia FrankC

    Hello Alan-Wadsworth,

    some outcomes on this tips.

    Cheers
    Claudia

  • php(+html) highlighting issue

    Locked
    2
    0 Votes
    2 Posts
    3k Views
    Claudia FrankC

    Hello jahsql,

    I don’t quite understand what you mean by

    Second one - because it can’t understand that only one branch of “if” is executed.

    Well, I understand what you are saying but I don’t see how a lexer should
    know if parts of a code get executed or not. A lexer should tokenize
    the code and color each token in regards to the defined rules.
    That the lexer gets confused by your code doesn’t surprise me as you
    have four open but only three closing tags.
    And php/html lexer has increased complexity as the lexer needs to
    satisfy php and html code together.

    Any suggestions/solutions?

    <div> <div> <!-- this should be highlighted --> <?php if($x==$y) { echo ‘<div id=“bug1”>’; /* bugged highlight to here */ echo ‘</div>’; else echo ‘<div id=“bug2”>’; echo ‘</div>’; } ?> </div> <!-- bugged highlight from here --> </div>

    Maybe I didn’t get the point but this are my two cents worth.

    Cheers
    Claudia

  • Select and run option

    Locked
    2
    0 Votes
    2 Posts
    3k Views
    Claudia FrankC

    Hello sathish-kulal,

    the builtin function is Run (F5) which can execute an external program together with your file
    provided as a parameter.
    See here for a more detailed description.
    This means you can run batch files, python script, c program and so on but you provide your
    complete file like

    cmd /k python.exe “$(FULL_CURRENT_PATH)”

    “$(FULL_CURRENT_PATH)” is the path of the active document.

    In this article it is also mentioned that there is a plugin called NppExec which has much more functionality.
    Maybe worth to try it as well.

    Cheers
    Claudia

  • 当我使用一个黑色背景的主题时,会出现一些困惑

    Locked
    2
    0 Votes
    2 Posts
    3k Views
    Claudia FrankC

    If someone could translate this, I would appreciate it.

    Cheers
    Claudia

  • Finding number of Characters in SQL '' String

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    Claudia FrankC

    Hello Johan-Havenga,
    If there is a pattern in how they do the description, it should be possible.
    Can show us an example and describe how you want it to be done?

    Cheers
    Claudia