UnrealScript IDE for Sublime Text 2 / 3 | Update: Content Assist
Hey UDK community!
About one month ago I discovered this awesome text editor named Sublime Text 2. Check it out if you haven't already. If you're new to Sublime Text 2, I'd recommend watching this video tutorial series, because otherwise you would probalby not find all the cool features of this editor.
I liked it so much that I started to work on an auto-completion plug-in for UnrealScript and now I feel like I've reached an acceptable state in development where I'd like to share it with you. I have profited enough from this community and now it's time to give something back. So here it is:
UnrealScript IDE for Sublime Text 2 / 3
Catchy title, hm? It's not yet a full IDE, but I'd like it to become one soon.
Dynamic, intelligent auto-completion hints
Fully object-oriented completions
Context sensitive completions (e.g. in the defaultproperties block you only want to get variables)
Content Assist. You wont have to open the editor anymore to search for asset names.
Display documentation when you need it
Completions feel like the great Sublime Text snippets
Goto declaration and back again
Object-oriented goto declaration (pressing it over controller.GetPlayerViewPoint(a, b) will take you to the declaration of GetPlayerViewPoint in Controller)
use F10, alt + left click, right click menu or via 'Goto' -> 'UnrealScript Goto Declaration'
when browsing in the declarations you can always return to your starting position by using one of the above keys when nothing is under your cursor.
UnrealScriptIDE will only work properly if you add the src folder as a project.
To do so, goto 'Project' -> 'Add Folder To Project...' -> add the Src folder (/UDK/UDK-201*-**/Development/Src/)
Please also note that this is my very first python program and I've learned python along with this project. So if you're a python developer please have a look at the source code. I'd really appreciated constructive feedback on this. Thanks.
All credits for UnrealDebugger goes toCarlos Lopez. Huge Thanks!
All credits for various Snippets (and also for the old (now unused) Syntax highlighting file) goes to Michael Alexander. Thanks!
All credits for Syntax highlighting in UnrealScript files goes to Rokit and Eliot. Thanks! Credits for Syntax highlighting in log files goes to Rokit. Thanks!
If UnrealScriptIDE is helpfull to you, please consider making a donation. (especially when you're using it commercially) Thanks!
how use this ????
i download package and put in to directory in program but it dont work
Please read and fallow the installation instructions in the first post. (Install with package control!)
After that, to quote myself: "Please note:
UnrealScriptIDE will only work properly if you add the src folder as a project. To do so, goto 'Project' -> 'Add Folder To Project...' -> add the Src folder (/UDK/UDK-201-*/Development/Src/)"
Then it should work. If not report back and I look into this.
I've uploaded a small update, adding some more snippets and I've added the language keywords to the completions.
If you've installed my plugin with package control, it will automatically keep my plugin up-to-date.
A bigger update is coming soon, including a build system and error reports, so stay tuned.