/
linux.md
46 lines (22 loc) · 1.41 KB
/
linux.md
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# Install on Linux
Editor plugins in Sublime Text are managed with a project called **Package Control**.
If you just installed Sublime Text, you will need to install Package Control first.
If you have been using Sublime Text for a while, you may be able to skip to step two.
## 1. Install Package Control
Open Sublime Text and go to **Tools > Install Package Control...**
![Install Package Control](images/linux-1.png)
Click on that! Next you should see a dialog box like this:
![Package Control Dialog](images/linux-2.png)
Click **OK**. Now you have **Package Control** available!
**Note:** If you cannot find **Tools > Install Package Control...**, it may be installed already. Try moving on to step two!
## 2. Install elm-syntax-highlighting with Package Control
With Sublime Text open, go to **Preferences > Package Control**
![Open Package Control](images/linux-3.png)
Click on that, and select **Install Package** from the list of options:
![Select Install Package](images/linux-4.png)
Type in **Elm Syntax Highlighting** and select the package that comes up:
![Find Elm Syntax Highlighting](images/linux-5.png)
## 3. Restart Sublime Text
Once you have **Elm Syntax Highlighting** installed, restart Sublime Text.
After restarting, files like `src/Main.elm` should have syntax highlighting!
**Note**: Be sure to ask in a [community forum](https://elm-lang.org/community) if you are having trouble getting this set up!