Difference between revisions of "Sublime Text Setup"

Jump to navigation Jump to search
193 bytes added ,  13:46, 25 January 2012
no edit summary
imported>SLiesegang
imported>SLiesegang
Line 1: Line 1:
Sublime Text is a new text editor that has a lot of modern features, a pretty cool dev community, and a very slick feel to it. We've made a package for it that makes it a good tool for developing Papyrus scripts.  
Sublime Text is a new text editor that has a lot of modern features, a pretty cool dev community, and a very slick feel to it. We've made a package for it that makes it a good tool for developing Papyrus scripts.  
Go to [http://www.sublimetext.com/2 the Sublime Text website] and install the latest release of version 2.


==Loading syntax highlighting and auto-complete==
==Loading syntax highlighting and auto-complete==
#Go to [http://www.sublimetext.com/2 the Sublime Text website] and install the latest release of version 2.
#Run the program at least once so it will set up its preferences and whatnots.
#Copy the Papyrus folder from [[Media:Papyrus.zip|this zip file]] to your local drive: %APPDATA%\Roaming\Sublime Text 2\Packages
#Copy the Papyrus folder from [[Media:Papyrus.zip|this zip file]] to your local drive: %APPDATA%\Roaming\Sublime Text 2\Packages
#Select Papyrus from the Tools -> Build System menu. (You should be able to leave this as "automatic," but just in case.)


==Quick Compile==
==Quick Compile==
Assuming that your copy of the Papyrus Compiler and its associated batch files are still in their default locations, you should be able to hit F7 while looking at a Papyrus file to run it through the compiler. (The output will appear in the bottom panel, so be sure to check for any errors!)
Assuming that your copy of the Papyrus Compiler and its associated batch files are still in their default locations, you should be able to hit F7 while looking at a Papyrus file to run it through the compiler. (The output will appear in the bottom panel, so be sure to check for any errors!) If you have any problems, look at <code>%APPDATA%\Sublime Text 2\Packages\Papyrus\Papyrus.sublime-build</code> and make sure the path to your compile batch file is correct.
 
(You'll also want to check the batch file itself, obviously.)


==Updating the snippets==
==Updating the snippets==
Anonymous user

Navigation menu