Skip to content
Go to file

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time


Windows only! Sorry.

Setting up an environment:

This guide will explain how to make a nice standalone environment, almost an IDE, that fits on a single folder or on a pendrive. After evaluating many free editors, I chose to use Notepad++. It's the best by far. However, it lacks a feature: it has no option to automatically save the file before running it. If you, like me, get annoyed by that, you can fix it installing a plugin named NppExec, but I will not cover this here. Crimson Editor can be configured to save before running and has Rebol syntax hightlighting, but lacks many other nice features that Notepad++ has.

Here we go:

1 - Download Notepad++ from Notepad website . Make sure you download a non-installable version, I suggest the "minimalist package 32-bit x86". No real need for the extras or for a 64 bit version.

2 - Create a folder for the environment. I suggest calling it "RedIDE", inside the "Documents" folder.

3 - Unpack Notepad++ in this folder.

4 - Download RED .exe file HERE and move it to this same folder.

5 - Download RED syntax highlight file from HERE . Use the download zip button. Unpack it somewhere and move the "Red-lang.xml" file to the RedIDE folder too.

6 - I suggest you also create a "programs" folder inside RedIDE, so you keep your programs and your environment in the same place. You will end up with something like this:

7 - Open Notepad++ and go to "Language/Define your language..." . Click on "Import..." and choose the downloaded "Red-lang.xml". A popup will tell you that the import was sucessfull.

8 - Check the box "Ignore case" Click in "Save As..." and save as "Red". THEN write "red" in the "Ext." box (never mind the image below, it's just illustrative, the "Ext." box comes after the save).

9 - Open the "Settings/Preferences/Auto Completion" window. Check the boxes for "()", "" "{}" and "[]". If you can't find those in the options, create a "matched pair".

10 - Open the "Run/Run.." window and write down the name of the RED executable file you donwloaded folowed by a space and "$(FULL_CURRENT_PATH)", with the quotes. Click on save, give it your favorite shortcut keys and a name like "Red_Run" (remember that later you may want to add a "Red_Compile" etc.), and click "OK"

11 - Close and reestart Notepad++

12 - Open a "new" document in Notepad++ and write the code below. Notice it is "Red", not "red", this is an exception as in most cases Red language is case insensitive:

print "Hello world!"

13 - Save your program with .red extension (""). You should see the syntax highlighted. I suggest saving it in the "programs" folder you created. Click "Run/Red_Run". You should see Red's console open up in the center of the screen.

14 - Move and stretch your Notepad++ and your console so that you get a nice environment for developing and THEN close the console in the position you want. This will make it open there next time you run a program.

15 - I strongly suggest you make a copy of your "RedIDE" folder now and save it as "RedIDE_fresh" somewhere, so in case you mess up in the future you won't have to do it all over again.

16 - Now you write your code in Notepad++, SAVE IT (every time, pain), an run it clicking on "Run/Red_Run".

17 - Happy coding!!


How to put together a makeshift IDE for the RED programming language.



No releases published


No packages published
You can’t perform that action at this time.