• How to get the result of my (JS) code on the Notepad++ editor ?

    Locked
    2
    0 Votes
    2 Posts
    1k Views
    PeterJonesP

    Notepad++ does not run the javascript. It is just used for editing it. Normally, a browser (or some other javascript engine) will run the code. In my experience, you usually do not load a .js file directly in your browser and expect it to run… normally, you build an HTML file which calls the javascript in some way. Perhaps you should try to create that HTML, and launch that HTML in your browser. (The results will be in the browser, of course, not in Notepad++.)

    If I have not answered your question to your satisfaction, maybe you could better explain what exactly you want done, and why it is something that Notepad++ (which is a text editor, not a js-engine or browser) should perform for you.

  • UDL definition for keywords that begin with an operator

    5
    0 Votes
    5 Posts
    2k Views
    Tobias KriegT

    Hello Forum,
    I have a very similar problem. I trie to write a xml file to autocomplete ansys apdl syntax. In the case of keyworts without slash and star everything works fine. The Keywords with extra sign * or / are shown in the dropdown box but I can’t autocomplete it.

    Can someone tell me what’s going wrong?

    Thanks Tobias

  • Insertion point.

    Locked
    2
    0 Votes
    2 Posts
    1k Views
    Scott SumnerS

    @Ted-Lawrence

    Press the and release Insert key. There is a status bar section that will say INS or OVR (IIRC) to show if you are in “insert” (vertical caret or block) or “overwrite” (underline caret) mode.

  • Show timestamp for every new entry

    Locked
    2
    0 Votes
    2 Posts
    633 Views
    Scott SumnerS

    @Narada

    I think this qualifies for this response.

  • 2 Votes
    4 Posts
    6k Views
    Scott SumnerS

    @Daniel_______

    I probably should have mentioned what has disappointed people in the past: The styling you do with this won’t be remembered by Notepad++ if you exit and restart it. It doesn’t bother me all that much; perhaps that’s why I didn’t think to mention it in my first reply.

  • 0 Votes
    2 Posts
    690 Views
    PeterJonesP

    This isn’t an HTML forum, so you’ve probably asked in the wrong place.

    Best guess: after saving the file in Notepad++, you need to reload in your browser (if your browser is pointed at the local file, with a file:// URL), or you forgot to upload to your file to your server (if your browser is pointed at an https:// URL).

    If you really believe the problem lies with Notepad++, and not with the browser refresh or having to upload the file, then you are going to have to explain why you think it’s Notepad++ that’s going wrong, and give us more info.

    (Please see the two FAQ answers linked above… they provide details as to why you’ve asked in the wrong place, and what kinds of information are useful when you are asking us for help.)

  • Delete md5 using notepad

    10
    0 Votes
    10 Posts
    2k Views
    Scott SumnerS

    @rovitie

    Certainly no apology of any kind needed. It is tough to know what you don’t know. Good that it is working for you. I guess I was a bit harsh so I certainly apologize for that. Of course, I’m probably known for being somewhat harsh. ;-)

  • Find dialog

    Locked
    10
    2 Votes
    10 Posts
    2k Views
    guy038G

    Hi, @scott-sumner, and All,

    Like you, Scott, I rarely use the Wrap around option, because, either :

    I’m preparing a reply on this forum, and I add the text of the OP, which is to be changed with a regex, at the end of my text, for testing and debugging

    I’m working on a personal or test file and, to my mind, it doesn’t take more time to perform a Ctrl + Home operation than ticking the Wrap around option, anyway !

    Regarding the Wrap around option, maybe adding a visual sign, for instance , would improve its meaning :-)

    BR

    guy038

  • Command window closes automatically

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    Scott SumnerS

    @Cristina-Caravaca-García

    What does your Run command look like? If it starts with, say cmd /c and then other stuff to do your thing, then perhaps a simple change to cmd /k will work.

    Another option would be to keep the .log file open in Notepad++ and then when there is a change to it Notepad++ will pop up asking you if you want to reload it…doing so and switching to it will show you your errors.

    This is kind of a big topic and it really depends upon what you truly want to achieve. You can change your command into calling a batch file and do the logic in that, or you could use the NppExec plugin and its facilities…the list of possibilities goes on and on…

  • Mass replace text

    6
    0 Votes
    6 Posts
    2k Views
    A

    Is it possible in Replace edit capture group and reinsert another captured groups like this?1$3$1$2? Because “T” and “C” may have another digits.

  • Regarding: Restore Recent Closed File

    1
    0 Votes
    1 Posts
    418 Views
    No one has replied
  • 2 Votes
    2 Posts
    845 Views
    Vismund-CygnusV

    Bump? Any ideas?

  • hide the horizontal line under collapsed blocks

    9
    1 Votes
    9 Posts
    5k Views
    AnotherOneA

    @dail, thank you so much for your solution! Worked perfectly for me.

  • Delete text that repeats in the same line

    6
    0 Votes
    6 Posts
    1k Views
    VivianjenylordV

    @guy038
    guy038, I am very grateful to you, you are a great person for your selfless help, having taken the time to make an excellent explanation of the subject, I was able to solve my problem with the text.
    Thank you

  • Remember file monitoring (tail -f) status after program restart

    Locked
    1
    0 Votes
    1 Posts
    421 Views
    No one has replied
  • Is there documentation for macro/start recording?

    Locked
    4
    0 Votes
    4 Posts
    1k Views
    cipher-1024C

    Scott has pretty much covered it, but if you’re dying for something to read here’s a link to the wiki article for macros. Disclaimer: that article is almost a decade old. It’s probably still perfectly valid, but always take the wiki articles with a grain of salt since the maintenance of the wiki proved to be too much overhead for the project. There are a few other resources you can use to find information, but Scott’s google search method is going to get you most of what you’ll need.

    I’ll throw in one “new guy” plugin suggestion: NppMenuSearch will help you find a menu item, plug in command, or setting. It’s no replacement for browsing around and seeing what’s available, but it sure helps when you can’t remember where the heck you saw the thing you’re looking for.

    Good luck and welcome to NPP.

  • Open files that start with (or contain) a pattern

    Locked
    7
    0 Votes
    7 Posts
    2k Views
    Scott SumnerS

    @PeterJones said:

    … I can…“Open with notepad++” no matter the extension.

    Amen–it’s what I do as well. I’ve never really understood file extension association with something like Notepad++, so I don’t understand what all the usual hullabaloo is about (all the questions on this Community concerning it). Sure, I understand file associations for something like .xlsx where it is ALWAYS going to be Excel that opens those files…but Notepad++ has no such equivalent. .txt comes closest I guess, but still…

  • One Word / One Number

    Locked
    5
    0 Votes
    5 Posts
    968 Views
    Maurizio CecaroM

    Thanks for your Help it work
    Thanks again for your support

  • Special Character Display Issue (Bullets)

    Locked
    4
    0 Votes
    4 Posts
    2k Views
    PeterJonesP

    Yes, Scott’s way is easier. (That’s probably how I originally created the charmap entry, and had just forgotten.)