Skip to content
Zinggi edited this page Feb 24, 2013 · 12 revisions

Installing UnrealScript IDE

For questions about Sublime Text 2, please refer to the official site.

Also, I highly recommend watching this video tutorial series

Downloading and Installing UnrealScript IDE

Sublime Text 2 does not have Package Control installed by default. To install it, do the fallowing:

  • Open Sublime Text 2, go to 'View' -> 'Show Console'.
  • Copy this command into the console window:
import urllib2,os; pf='Package Control.sublime-package'; ipp=sublime.installed_packages_path(); os.makedirs(ipp) if not os.path.exists(ipp) else None; urllib2.install_opener(urllib2.build_opener(urllib2.ProxyHandler())); open(os.path.join(ipp,pf),'wb').write(urllib2.urlopen('http://sublime.wbond.net/'+pf.replace(' ','%20')).read()); print('Please restart Sublime Text to finish installation')
  • Press enter. It takes a few seconds, then it will tell you to restart.
  • Exit and restart Sublime Text 2
  • Press Ctrl + Shift + P
  • Type "install" (this should select "Package Controll: Install Package"), hit enter
  • Search for "UnrealScriptIDE", hit enter. Make sure you don't install 'UnrealScript'. This package is now fully integrated into UnrealScriptIDE. If you have 'UnrealScript' installed, uninstall it with Ctrl + Shift + P -> 'remove'

UnrealScript IDE is now installed on your pc. Package control will ensure that it always stays up to date. Next thing you need to do is to include your Src folder in your project. This is vital, otherwise the plugin won't work!

Setup

  • Go to 'Project' -> 'Add Folder To Project...' -> and select the Src folder (/UDK/UDK-201-*/Development/Src/) and add it.

Now UnrealScript IDE will always try to give you the best auto-completion suggestions. Having the Src folder in your projects also allows you to use the excellent "Goto anything" feature of Sublime Text 2 to quickly navigate between files. To use it just hit Ctrl + P.

Configure

If you want to change some Sublime Text 2 settings, use 'Preferences' -> 'Settings - User'. These are the settings I'm using that are relevant for auto-completion:

{
     "auto_complete_with_fields": true,  //this allows auto-completion inside snippets.
     "auto_complete_triggers":   //this activates auto-completion on '.' and '('
     [
         {
             "characters": ".(",
             "selector": "source.unrealscript"
         }
     ],
     "auto_complete_delay": 0,
     "auto_complete_commit_on_tab": true    // I prefer 'tab' to 'enter'
}

Usage

Read here: https://github.com/Zinggi/UnrealScriptIDE/wiki/Usage

Clone this wiki locally