Difference between revisions of "Atom Setup"

868 bytes added ,  13:51, 13 September 2014
no edit summary
imported>Gawdl3y
imported>Gawdl3y
Line 9: Line 9:
=== Method 2 ===
=== Method 2 ===
Run <code>apm install language-papyrus</code> in a command prompt.
Run <code>apm install language-papyrus</code> in a command prompt.
== Quick compile ==
Obtain the [https://github.com/noseglid/atom-build build] package the same way as above. Then, place the below text in a file called '''.atom-build.json''' (yes, with the leading dot!) in your Skyrim\Data\Scripts\Source directory. Change the paths if you need to (make sure to use double-backslashes).
<pre>{
"cmd": "C:\\Program Files (x86)\\Steam\\SteamApps\\common\\Skyrim\\Papyrus Compiler\\PapyrusCompiler.exe",
"sh": false,
"args": [
"{FILE_ACTIVE}",
"-import=C:\\Program Files (x86)\\Steam\\SteamApps\\common\\Skyrim\\Data\\Scripts\\Source",
"-output=C:\\Program Files (x86)\\Steam\\SteamApps\\common\\Skyrim\\Data\\Scripts",
"-flags=TESV_Papyrus_Flags.flg"
],
"env": {}
}</pre>
After placing the .atom-build.json file there, any of the scripts you open in Atom will be able to be compiled simply by pressing '''Ctrl-Alt-B'''.


{{Languages}}
{{Languages}}
[[Category:Scripting]]
[[Category:Scripting]]
[[Category:Text Editors]]
[[Category:Text Editors]]
Anonymous user