These (power)shell scripts let the Plain Plain Text community install popular and useful packages to Atom, the hackable text editor. It also changes the configuration file to enable autosave, which is disabled by default in Atom.
These instructions presume that you have Atom already installed.
- Ensure
apm
is installed, by opening Atom, going to the “Atom” menu, and choosing “Install Shell Commands.” Do so (typing in your password when prompted) until you see “The shell commandsatom
andapm
are installed.” - Save the file atom-setup.sh as a file to your desktop.
- Open up
Terminal.app
(located inApplications/Utilities
) - In
Terminal.app
, type in:sh ~/Desktop/setup-atom.sh
and hit “return.”
Just like the MacOS instructions, more or less. For now.
- Save atom-setup.ps1 as a file to your desktop by right-clicking on the link and choosing “Save Link As...”
- Right click on the file and choose “Run with PowerShell” in the drop-down menu.
- Several screens will popup and then disappear, suggesting the process has executed.
If you do not see the “Run with PowerShell” command or get an error about a “PSSecurityException,”:
- Open the DOS prompt by typing “cmd” in the search window in the taskbar or Start Menu. Choose the first result.
- Type in
powershell -ExecutionPolicy Unrestricted
and hit “Enter.” The prompt (the part ending in>
) should change and have aPS
at the start. - Type
~\Desktop\setup-atom.ps1
and hit “Enter.” - A warning about running scripts will appear. Type
r
for “Run Once” and hit “Enter.” - Several windows will popup and disappear, suggesting the process has executed.
file-icons
: Adds pretty iconsplatformio-ide-terminal
: Creates interactive shells executing scripts within atom.wordcount
: Adds a wordcount report
Linter is a package that helps find errors in code or syntax in Atom. You can add additional linter layers above it for whatever language or markup you are using. We offer a few base linter languages that the Plain Plain Text community is likely to need.
-
linter
: The base package -
busy-signal
: A dependency -
intentions
: A dependency -
linter-ui-default
: A dependency -
linter-eslint
: ESLint for JavaScript -
linter-pylint
: Pylint for Python
For the time being, our shell scripts only make one configuration change. They enable autosave, which is disabled by default.