10.03.2012, 20:10
(
Последний раз редактировалось Conroy; 11.03.2012 в 12:58.
)
Open up Sublime Text 2 and go to Tools -> Build System -> New Build System...
Enter the following:
Of course you need to replace the path
Save this file and close Sublime Text 2
Now navigate to AppData/Roaming/Sublime Text 2/Packages/User
Open up the .sublime-keymap file based on your operating system
Enter the following (this example is for the Windows file):
You can change f5 to another key if you wish
Save and reopen Sublime Text 2
Now go to Tools -> Build System
Click on the name of the build you created
You can now compile your scripts by pressing the button you assigned, enjoy...
Enter the following:
Код:
{
"cmd": ["pawncc.exe", "-i includes", "$file", "-;+"],
"path": "C:/path/to/pawno/folder"
}
Save this file and close Sublime Text 2
Now navigate to AppData/Roaming/Sublime Text 2/Packages/User
Open up the .sublime-keymap file based on your operating system
Enter the following (this example is for the Windows file):
Код:
[
{ "keys": ["f5"], "command": "build" }
]
Save and reopen Sublime Text 2
Now go to Tools -> Build System
Click on the name of the build you created
You can now compile your scripts by pressing the button you assigned, enjoy...





