Skip to content

Commit c44d4f0

Browse files
Velutasalexcb
andauthored
update README and syntax for main intellij (earthly#17)
* update syntax base and README * add CODEOWNERS file * Update README.md Co-authored-by: Alex Couture-Beil <[email protected]> --------- Co-authored-by: Alex Couture-Beil <[email protected]>
1 parent ba58886 commit c44d4f0

File tree

4 files changed

+19
-5
lines changed

4 files changed

+19
-5
lines changed

CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* @earthly/engineering

Earthfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ RUN apt-get update && apt-get install -y \
44
zip \
55
&& rm -rf /var/lib/apt/lists/*
66
ARG version=0.0.0
7-
ARG bundle="github.com/earthly/earthly/contrib/earthfile-syntax-highlighting+export/"
7+
ARG bundle="github.com/earthly/earthfile-grammar+export/"
88
COPY settings.gradle.kts build.gradle.kts ./
99
COPY scripts scripts
1010
COPY src src
@@ -42,4 +42,4 @@ publish:
4242
ide:
4343
LOCALLY
4444
DO +GET_BUNDLE
45-
RUN gradle runIde
45+
RUN gradle runIde

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
IntelliJ plugin for Earthly language support.
44

5+
Check the currently released versions [on the JetBrains Marketplace](https://plugins.jetbrains.com/plugin/20392-earthly/versions).
6+
57
## Features
68
- [x] Syntax highlighting for Earthfiles
79
- [ ] Code completion
@@ -13,6 +15,17 @@ IntelliJ plugin for Earthly language support.
1315
![Darcula theme](documentation/darcula.png)
1416
![Light theme](documentation/light.png)
1517

18+
## Requirements
19+
20+
This plugin is dependent on https://github.com/earthly/earthfile-grammar for syntax.
21+
22+
This project has three branches for building intellij plugins. They are:
23+
- py
24+
- go
25+
- main
26+
27+
They should be both built and released in the same order to avoid any odd dependency issues.
28+
1629
## Building
1730
The following command generates a `earthly-intellij-plugin-<version>.zip` package in the current directory:
1831
```

src/main/resources/META-INF/plugin.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@
2525
<change-notes><![CDATA[
2626
<h2>New Features</h2>
2727
<ul>
28-
<li>Add support for patform build 231</li>
29-
<li>Add highlighting for WAIT, TRY, FINALLY, CACHE, HOST, PIPELINE, TRIGGER and PROJECT</li>
28+
<li>Add support for platform build 232</li>
29+
<li>Add highlighting for SET, LET, ADD, STOP SIGNAL, ONBUILD, and SHELL</li>
3030
</ul>
3131
]]>
3232
</change-notes>
@@ -48,4 +48,4 @@
4848
patterns="Earthfile;*.earth;*.earthly;*.Earthfile"/>
4949
<editorHighlighterProvider filetype="Earthfile" implementationClass="dev.earthly.plugin.language.syntax.highlighting.EarthlyEditorHighlighterProvider"/>
5050
</extensions>
51-
</idea-plugin>
51+
</idea-plugin>

0 commit comments

Comments
 (0)