Difference between revisions of "Atom"

216 bytes added ,  05:28, 3 December 2018
Added categories
imported>Kicoax
m (Updated Sublime Text snippets link)
imported>Qazaaq
(Added categories)
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[Category:Scripting]]
[[Category:Text Editors]]
'''Atom''' is a completely free, open-source, highly-extensible text editor based on Chromium and Node.js.
'''Atom''' is a completely free, open-source, highly-extensible text editor based on Chromium and Node.js.
It was created and is being actively developed by the GitHub team.
It was created and is being actively developed by the GitHub team.
It can be downloaded from the [https://atom.io/ official Atom site].
It can be downloaded from the [https://atom.io/ official Atom site].
Atom's interface and functionality is very similar to Sublime Text, so it's a fairly painless transition if you have experience with it.
Atom's interface and functionality is very similar to [[Sublime Text]], so it's a fairly painless transition if you have experience with it.
Atom has an extremely flexible package system that allows customization of virtually everything about the editor.
Atom has an extremely flexible package system that allows customization of virtually everything about the editor.


Line 13: Line 11:
#Go to [https://atom.io/ the Atom website], download the setup file, and run it.
#Go to [https://atom.io/ the Atom website], download the setup file, and run it.


===Install Packages===
===Install packages===
Syntax highlighting and snippets are provided by the [https://atom.io/packages/language-papyrus language-papyrus] package.
* Fallout 4 [https://atom.io/packages/language-papyrus language-papyrus]
* F4SE [https://github.com/Neanka/atom-language-papyrus language-papyrus]
 
Syntax highlighting and snippets are provided by the one of the language packages.
Compilation is provided by the [https://atom.io/packages/build build] and [https://atom.io/packages/build-papyrus build-papyrus] packages.
Compilation is provided by the [https://atom.io/packages/build build] and [https://atom.io/packages/build-papyrus build-papyrus] packages.
#In Atom, open the settings tab (File -> Settings, or {{key press|Ctrl|,}})
#In Atom, open the settings tab (File -> Settings, or {{key press|Ctrl|,}})
Line 58: Line 59:
====Manual configuration====
====Manual configuration====
Place the below text into a file called <code>.build-papyrus.yml</code> in the base folder you have open in Atom:
Place the below text into a file called <code>.build-papyrus.yml</code> in the base folder you have open in Atom:
<pre>game: fallout4
<source lang="yaml">
game: fallout4
output: C:\Program Files (x86)\Steam\SteamApps\common\Fallout 4\Data\Scripts\
output: C:\Program Files (x86)\Steam\SteamApps\common\Fallout 4\Data\Scripts\
imports:
imports:
Line 65: Line 67:
     - C:\Program Files (x86)\Steam\SteamApps\common\Fallout 4\Data\Scripts\Source\DLC02
     - C:\Program Files (x86)\Steam\SteamApps\common\Fallout 4\Data\Scripts\Source\DLC02
     - C:\Program Files (x86)\Steam\SteamApps\common\Fallout 4\Data\Scripts\Source\DLC01
     - C:\Program Files (x86)\Steam\SteamApps\common\Fallout 4\Data\Scripts\Source\DLC01
     - C:\Program Files (x86)\Steam\SteamApps\common\Fallout 4\Data\Scripts\Source\Base</pre>
     - C:\Program Files (x86)\Steam\SteamApps\common\Fallout 4\Data\Scripts\Source\Base
</source>
If your mod's scripts are outside of the game's scripts directory, make sure you add it to the <code>imports</code> setting, and change the <code>output</code> directory.
If your mod's scripts are outside of the game's scripts directory, make sure you add it to the <code>imports</code> setting, and change the <code>output</code> directory.
If you do not have the DLC, simply remove them from the <code>imports</code> setting.
If you do not have the DLC, simply remove them from the <code>imports</code> setting.
Line 93: Line 96:
*[https://atom.io/packages/project-manager project-manager] - Lets you save your Atom workspace as a project, and easily reopen them
*[https://atom.io/packages/project-manager project-manager] - Lets you save your Atom workspace as a project, and easily reopen them
*[https://atom.io/packages/clipboard-plus clipboard-plus] - Keeps your clipboard history
*[https://atom.io/packages/clipboard-plus clipboard-plus] - Keeps your clipboard history
==See Also==
*[[:Category:Text Editors|Other Text Editors]]
[[Category:Text Editors]]
[[Category:Scripting]]
[[Category:Tooling]]
Anonymous user