Syntax highlighting for Earthly Earthfiles for Sublime Text.
For an introduction of Earthly see the Earthly GitHub repository or the Earthly documentation.
- From Sublime ->
Preferences
->Browse Packages
-> This will open a directory - Copy the
Earthfile.tmLanguage
inside this directory and the syntax will be added to Sublime - After this, new Earthfiles that you open will have the syntax highlighted, and for the already opened earthfiles, either reopen it, or restart sublime, or select
View
->Syntax
->Earthfile
- From Sublime ->
Preferences
->Browse Packages
- It will open a directory similar to
<Installation Directory>\Data\Packages
- It will have a lot of dircetories with language names such as
C++
,Java
,Python
and many more. We need to create a folder calledEarthfile
and copy theEarthfile.tmLanguage
inside the newly created directory - After this, new Earthfiles that you open will have the syntax highlighted, and for the already opened earthfiles, either reopen it, or restart sublime, or select
View
->Syntax
->Earthfile
Initial release of earthfile-syntax-highlighting with readme and screenshot