Difference between revisions of "Sublime Text"
no edit summary
imported>Hannibalektr |
imported>Hannibalektr |
||
Line 1: | Line 1: | ||
==Installation== | ==Installation== | ||
===Install Sublime=== | ===Install Sublime=== | ||
Line 12: | Line 9: | ||
====If no previous Papyrus plugin==== | ====If no previous Papyrus plugin==== | ||
#In Sublime, right-click and select PapyrusF4 -> Create default INI file | #In Sublime, right-click and select PapyrusF4 -> Create default INI file | ||
#Make the following changes: | #Make the following changes: | ||
Line 18: | Line 14: | ||
#*Point "compiler=" and "assembler=" at the compiler and assembler exe files in your PC folder | #*Point "compiler=" and "assembler=" at the compiler and assembler exe files in your PC folder | ||
#*Point "output=" at your "Data\Scripts" folder | #*Point "output=" at your "Data\Scripts" folder | ||
#*Change "wiki=" to "wiki=http:// | #*Change "wiki=" to "wiki=http://www.creationkit.com/fallout4/" | ||
====If you have the old Papyrus plugin==== | ====If you have the old Papyrus plugin==== | ||
Follow the above steps for if you have no Papyrus plugin, then do the following: | |||
#In Sublime, open an existing PSC file | #In Sublime, open an existing PSC file | ||
#Select View -> Syntax -> Open all with current extension as... -> PapyrusF4 -> PapyrusF4 | #Select View -> Syntax -> Open all with current extension as... -> PapyrusF4 -> PapyrusF4 | ||
Line 61: | Line 53: | ||
==Adding Snippets== | ==Adding Snippets== | ||
The existing Papyrus package for Sublime Text includes a number of snippets that will auto-complete to frequently used things (like typing "onhit" and then tab will create a proper OnHit event so you don't have to constantly be looking up the syntax). If you want to make more of these, you can simply add another .sublime-snippet file to the Package directory. Documentation on snippets is available at [http://www.sublimetext.com/docs/2/ Sublime Text docs site]. | The existing Papyrus package for Sublime Text includes a number of snippets that will auto-complete to frequently used things (like typing "onhit" and then tab will create a proper OnHit event so you don't have to constantly be looking up the syntax). If you want to make more of these, you can simply add another .sublime-snippet file to the Package directory. Documentation on snippets is available at [http://www.sublimetext.com/docs/2/ Sublime Text docs site]. | ||
==Tips 'n' Tricks== | ==Tips 'n' Tricks== |