Skip to content

Commit

Permalink
Big Update: Build System, Launch game
Browse files Browse the repository at this point in the history
  • Loading branch information
Zinggi committed Feb 24, 2013
1 parent 4d2e09a commit d303641
Show file tree
Hide file tree
Showing 11 changed files with 538 additions and 81 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -161,3 +161,5 @@ pip-log.txt

# Mac crap
.DS_Store

*.log
17 changes: 17 additions & 0 deletions Default (Windows).sublime-keymap
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,23 @@
"command": "unreal_goto_definition",
"args": {"b_new_start_point": false}
},
{
"keys": ["f7"],
"command": "unreal_build_project",
"context":[{ "key": "selector", "operator": "equal", "operand": "source.unrealscript" }]
},
{
"keys": ["ctrl+b"],
"command": "unreal_build_project",
"context":[{ "key": "selector", "operator": "equal", "operand": "source.unrealscript" }]
},
{
"keys": ["ctrl+shift+b"],
"command": "unreal_build_project",
"args": {"b_build_and_run": true},
"context":[{ "key": "selector", "operator": "equal", "operand": "source.unrealscript" }]
},

// Add event right before auto-completion to insert a dynamic snippet
{
"keys": ["tab"],
Expand Down
156 changes: 91 additions & 65 deletions Main.sublime-menu
Original file line number Diff line number Diff line change
Expand Up @@ -2,101 +2,127 @@
{
"caption": "Goto",
"id": "goto",
"children":
[
{ "caption": "-" },
"children": [
{
"caption": "UnrealScript Goto Declaration (or back)", "id": "unreal_script_goto_declaration", "command": "unreal_goto_definition", "args": {"b_new_start_point": false}
"caption": "-"
},
{
"caption": "UnrealScript Goto Declaration (or back)",
"id": "unreal_script_goto_declaration",
"command": "unreal_goto_definition",
"args": {
"b_new_start_point": false
}
}
]
},
{
"caption": "Preferences",
"id": "preferences",
"children":
[
"children": [
{
"caption": "Package Settings",
"id": "package-settings",
"children":
[
"children": [
{
"caption": "UnrealScriptIDE",
"id":"Unreal_Script_IDE",
"children":
[
"id": "Unreal_Script_IDE",
"children": [
{
"command": "open_file",
"args": {
"file": "${packages}/UnrealScriptIDE/README.md"
},
"caption": "Readme"
},
{
"caption": "-"
},
{
"command": "open_file",
"args": {
"file": "${packages}/UnrealScriptIDE/UnrealScriptIDE.sublime-settings"
},
"caption": "Settings - Default"
},
{
"command": "open_file",
"args": {
"file": "${packages}/User/UnrealScriptIDE.sublime-settings"
},
"caption": "Settings - User"
},
{
"command": "open_file",
"args": {
"file": "${packages}/UnrealScriptIDE/README.md"
},
"caption": "Readme"
"caption": "-"
},
{ "caption": "-" },
{
"command": "open_file",
"args": {
"file": "${packages}/UnrealScriptIDE/Default (Windows).sublime-keymap",
"platform": "Windows"
},
"caption": "Keymap – Default"
"command": "open_file",
"args": {
"file": "${packages}/UnrealScriptIDE/Default (Windows).sublime-keymap",
"platform": "Windows"
},
"caption": "Keymap – Default"
},
{
"command": "open_file",
"args": {
"file": "${packages}/UnrealScriptIDE/Default (OSX).sublime-keymap",
"platform": "OSX"
},
"caption": "Keymap – Default"
"command": "open_file",
"args": {
"file": "${packages}/UnrealScriptIDE/Default (OSX).sublime-keymap",
"platform": "OSX"
},
"caption": "Keymap – Default"
},
{
"command": "open_file",
"args": {
"file": "${packages}/UnrealScriptIDE/Default (Linux).sublime-keymap",
"platform": "Linux"
},
"caption": "Keymap – Default"
"command": "open_file",
"args": {
"file": "${packages}/UnrealScriptIDE/Default (Linux).sublime-keymap",
"platform": "Linux"
},
"caption": "Keymap – Default"
},
{
"command": "open_file",
"args": {
"file": "${packages}/User/Default (Windows).sublime-keymap",
"platform": "Windows"
},
"caption": "Keymap – User"
"command": "open_file",
"args": {
"file": "${packages}/User/Default (Windows).sublime-keymap",
"platform": "Windows"
},
"caption": "Keymap – User"
},
{
"command": "open_file",
"args": {
"file": "${packages}/User/Default (OSX).sublime-keymap",
"platform": "OSX"
},
"caption": "Keymap – User"
"command": "open_file",
"args": {
"file": "${packages}/User/Default (OSX).sublime-keymap",
"platform": "OSX"
},
"caption": "Keymap – User"
},
{
"command": "open_file",
"args": {
"file": "${packages}/User/Default (Linux).sublime-keymap",
"platform": "Linux"
},
"caption": "Keymap – User"
"command": "open_file",
"args": {
"file": "${packages}/User/Default (Linux).sublime-keymap",
"platform": "Linux"
},
"caption": "Keymap – User"
},
{ "caption": "-" },
{
"command": "open_file",
"args": {
"file": "${packages}/UnrealScriptIDE/Default.sublime-mousemap"
},
"caption": "Mousemap – Default"
"caption": "-"
},
{
"command": "open_file",
"args": {
"file": "${packages}/User/Default.sublime-mousemap"
},
"caption": "Mousemap – User"
"command": "open_file",
"args": {
"file": "${packages}/UnrealScriptIDE/Default.sublime-mousemap"
},
"caption": "Mousemap – Default"
},
{ "caption": "-" }
{
"command": "open_file",
"args": {
"file": "${packages}/User/Default.sublime-mousemap"
},
"caption": "Mousemap – User"
},
{
"caption": "-"
}
]
}
]
Expand Down
33 changes: 25 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#UnrealScript IDE Plug-in for Sublime Text 2
* * *
UnrealScript IDE Plug-in for Sublime Text 2
===========================

UnrealScript IDE mainly adds better auto-completion features to Sublime Text 2 for UnrealScript and a goto declaration command.

Expand All @@ -17,11 +17,22 @@ Feautures
* get other completions depending where you are typing (e.g. in the defaultproperties block you only want to get variables)

* **Goto declaration and back again**
* use F10, alt + left click, right click menu or via 'Goto' -> 'UnrealScript Goto Declaration'
* use F10, alt + left click, right click menu, via 'Goto' -> 'UnrealScript Goto Declaration' or search in the command palette to go to the declaration of the currently selected word
* 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.

* **Syntax highlighting**

* **Build system**
* use Ctrl + B, F7 or search in the command palette to build your game
* if the build contains errors, the error log will be opened, allowing you to navigate to your errors quickly.
* if the build was successful, the game will start

* **Launch Game**
* quickly open the game with your last configuration
* you can chose witch map to open
* chose between Standalone or a Server and 2 Clients
* you can specify additional startup settings

* **Various useful Snippets**

* **Add bookmarks to your comments**
Expand All @@ -42,19 +53,20 @@ Planned

* **Add support for enumerations, structs and CONST**

* **Better build system**

* **Your suggestion here...**
* **Your suggestion here?**
* You can suggest features, report bugs and vote for features on this site here: [UnrealScript IDE - Userecho](http://unrealscriptide.userecho.com/)


Installation
------------
**Very easy with [Package Control](http://wbond.net/sublime_packages/package_control "http://wbond.net/sublime_packages/package_control") right inside Sublime Text 2 (Package Control needs to be installed):**
**Very easy with [Package Control](http://wbond.net/sublime_packages/package_control) right inside Sublime Text 2 (Package Control needs to be installed):**

1. Ctrl + shift + P
2. Search for "inst", hit enter
3. Search for "UnrealScriptIDE", hit enter

For a more in detail explanation visit the wiki: https://github.com/Zinggi/UnrealScriptIDE/wiki/Getting-Started

**Manually (not recommended):**

1. Clone or download this package
Expand All @@ -65,8 +77,13 @@ Installation
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/)

Usage
----------------
Please refer to the wiki: https://github.com/Zinggi/UnrealScriptIDE/wiki

------------
All **credits** for Syntax highlighting and Snippets goes to **[Michael Alexander](https://github.com/beefsack "https://github.com/beefsack")**. Thanks!
All **credits** for Syntax highlighting and Snippets goes to **[Michael Alexander](https://github.com/beefsack)**. Thanks!
All **credits** for Syntax highlighting in Log files goes to **[Rokit](https://github.com/rokit)**. Thanks!

My auto-complete settings
------------
Expand Down
Loading

0 comments on commit d303641

Please sign in to comment.