Setting up a Notepad++ Environment   21 comments

This is a short write-up on how to get Notepad++ to work with your game, which basically only means setting up Unreal Script highlighting.

Video Version

Subject: Setting up a Notepad++ Environment
Skill Level: Beginner
Run-Time: 6Min
Author: Michael Allar
Notes: A video-guided process of RTFM for Notepad++

Streaming:     720×480 1920×1080

Download:     Low-Res (12MB) Hi-Res (25MB)

Written Version

Subject: Setting up a Notepad++ Environment
Skill Level: Beginner
Author: Notepad++
Notes: One of many ways to set up a development environment for UDK.
Prerequisites: UDK

Acquiring The Software

  1. Download and Install Notepad++ (Listed under Binary Files)
  2. Download the UnrealScript Highlighter for Notepad++

Setting Up Unreal Script Highlighting

These instructions are directly taken from the download page of Notepad++ (here) under the User Defined Language Files section.

  1. Download the user-defined language to your computer
  2. Open the file with your favourite text editor (such as notepad++ or notepad)
  3. Click start, run, (or hit Windows Key + R), and  type (or paste in) %APPDATA%Notepad++ then click ok
  4. Open userDefineLang.xml with a text editor if it exists, if not, create a new file named userDefineLang.xml
  5. If this is the first userdefined language you are adding, copy/paste the entire first file (which you downloaded) into the userDefineLang.xml, replacing all that was there. If this is the second or more language you add, simply copy everything from the first file starting at <UserLang…> to </UserLang> and paste it at the end of the userDefineLang.xml right before </NotepadPlus>
  6. Save the newly improved userDefineLang.xml
  7. Restart Notepad++

Your Done!

Now while you don’t get the fancy organizational features you’d get with something like nFringe, Notepad++ should suffice for your code making needs. To build/compile/test your code however, you will need to use the UnrealFrontend instead of the build buttons in Visual Studio.

Credit

The people over at Notepad++ for documenting how to install a user-defined file :D

Posted November 28, 2009 by Allar in Unreal

Tagged with , ,

21 responses to Setting up a Notepad++ Environment

Subscribe to comments with RSS.

  1. Pingback: Beginning Your Game Part 1 | Allar's AWESOME Blog

  2. I have notepad++ installed to an external harddrive, as the computers at my school auto-restore on reboot. so I had to save userDefinedLang.xml to my installation folder and copy it over to the "%APPDATA%/Notepad++" area everytime I login to one of the school computers. do you know if there is a way to work out of the installation folder so I don't have to set it up every time?

  3. Pingback: Notepad++ und UnrealScript | Thesis

  4. Wow, this is one of the best tutorials I've read and watched on Unrealscript I have ever since. If there was anything bad about the tutorial is that sometimes you say "..and…ya.." or "um.. ok" to many times in a row which gave a slight distraction. But other than that, GREAT JOB and thank you very much.

  5. Wow, this is one of the best tutorials I've read and watched on Unrealscript ever. If there was anything bad about the tutorial is that sometimes you say "..and…ya.." or "um.. ok" to many times in a row which gave a slight distraction. But other than that, GREAT JOB and thank you very much.

  6. Thanks, great tip for notepad++ and Unreal Script :)

  7. I have now succesfully installed notepad++ with UScript highlighting, but i have serious problems with the whole thing! I am accustomed to the Eclipse IDE, that comes with many luxury features, such as Auto-Complete, Call-Hierarchy, Hover-Info etc. I cant live without this stuff -.- Is programming with UDK REALLY that crappy? Please say no :'-(

  8. might sound silly, but i dont know how to install the unrealscript highlighter for notepad++. I need help urgently please!!

  9. You're not silly, they've basically changed everything from this tutorial. Its not working for me either. I'll just give up on it I have other ones working I was just trying notepad++ out again.

  10. Followed tutorial to the T. But Pad++ doesnt show unrealscript as an option. A little lost and need help please.

  11. The tutorial worked fine for me (Notepad++ v5.6.8 on 32-bit Windows 7)

    Make sure you are creating/copying “userDefineLang.xml” in the right folder (Win7 default: C:Users[your account]AppDataRoamingNotepad++) and that the .xml file is named exactly that.

    If you’ve set it up correctly, in N++ the UnrealScript option will appear at the bottom of the Languages menu.

  12. The link of "the UnrealScript Highlighter for Notepad++" has an error

  13. Pingback: The Best 3D Animation Review

  14. Thanks.

  15. Pingback: knocko

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>