Original date:2016-09-19 11:10:39 Edited by: ghaberek Subject: Re: New System, New Editor?

euphoric said...

Thanks, bug! How do I get NPP to actually run the code I have open?

Here are the basic steps to adding a new command in Notepad++.

  1. Click Run > Run... (or press F5).

  2. Enter the following in The Program to Run field...

    "C:\Euphoria\bin\euiw.exe" "$(FULL_CURRENT_PATH)"

  3. Click Save...

  4. Enter "Run with Euphoria" into the Name field.

  5. Select an optional shortcut key (e.g. Ctrl+F5) and click OK.

That being said, I noticed long ago that this does not have "Start in" option, which is useful for getting your ex.err file in the proper directory when something crashes. I have resorted to building my own "start" utility that allows me to change directory to the current path, and then launch the Euphoria interpreter with the current file (code follows). I typically bind this so I don't have to launch the interpreter to launch another interpreter. Update the command in step 2 above to use startw instead:

"C:\Euphoria\bin\startw.exe" -d "$(CURRENT_DIRECTORY)" "C:\Euphoria\bin\euiw.exe" "$(FULL_CURRENT_PATH)"

I also switch the shortcut keys around so Run with Euphoria is F5 and the generic Run... dialog is Ctrl+F5.

Get it here: startw.exw


Not Categorized, Please Help


Quick Links

User menu

Not signed in.

Misc Menu