Difference between revisions of "Atom Setup"
Jump to navigation
Jump to search
no edit summary
imported>Gawdl3y |
imported>Gawdl3y |
||
Line 11: | Line 11: | ||
== Quick compile == | == Quick compile == | ||
Obtain the [https://atom.io/packages/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 path in the cwd setting if you need to (make sure to use double-backslashes). If you don't have the DLC, just remove them from the -import= argument. | Obtain the [https://atom.io/packages/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 path in the cwd setting if you need to (make sure to use double-backslashes). If you don't have the DLC, just remove them from the -import= argument. | ||
<pre>{ | <pre>{ | ||
"cmd": "Papyrus Compiler\\PapyrusCompiler.exe", | "cmd": "Papyrus Compiler\\PapyrusCompiler.exe", | ||
Line 26: | Line 26: | ||
}</pre> | }</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'''. | 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'''. | ||
If there are errors during compilation, clicking a filename in the build output window will take you directly to the spot in your code in which the error occurred. | If there are errors during compilation, clicking a filename in the build output window will take you directly to the spot in your code in which the error occurred. '''Ctrl-Alt-G''' will also jump between any errors. | ||