Phase 0: strip JetBrains template, register Jai language and file type

- delete demo tool window + message bundle, rewrite plugin.xml metadata
- add JaiLanguage, JaiFileType, file icon, JaiTokenTypes (from the compiler's
  own lexer: modules/Jai_Lexer/module.jai)
- add ./jaitest: runs tests and reports the JUnit XML, not just the exit code
- ignore .kotlin
This commit is contained in:
hgranthorner
2026-08-04 10:19:11 -04:00
parent cb5a1d9555
commit 711334885b
11 changed files with 510 additions and 81 deletions

View File

@@ -1,33 +1,25 @@
<!-- Plugin Configuration File. Read more: https://plugins.jetbrains.com/docs/intellij/plugin-configuration-file.html -->
<idea-plugin>
<!-- Unique identifier of the plugin. It should be FQN. It cannot be changed between the plugin versions. -->
<id>dev.hgh.intellijai</id>
<!-- Public plugin name should be written in Title Case.
Guidelines: https://plugins.jetbrains.com/docs/marketplace/best-practices-for-listing.html#plugin-name -->
<name>Intellijai</name>
<name>Jai</name>
<!-- A displayed Vendor name or Organization ID displayed on the Plugins Page. -->
<vendor url="https://www.yourcompany.com">YourCompany</vendor>
<vendor>hgh</vendor>
<!-- Description of the plugin displayed on the Plugin Page and IDE Plugin Manager.
Guidelines: https://plugins.jetbrains.com/docs/marketplace/best-practices-for-listing.html#plugin-description -->
<description><![CDATA[
Enter short description for your plugin here.<br>
<em>most HTML tags may be used</em>
Support for the <b>Jai</b> programming language.<br/>
Syntax highlighting for <code>.jai</code> files.
]]></description>
<!-- Product and plugin compatibility requirements.
Read more: https://plugins.jetbrains.com/docs/intellij/plugin-compatibility.html -->
<depends>com.intellij.modules.platform</depends>
<resource-bundle>messages.MyMessageBundle</resource-bundle>
<!-- Extensions defined by the plugin.
Read more: https://plugins.jetbrains.com/docs/intellij/plugin-extension-points.html -->
<extensions defaultExtensionNs="com.intellij">
<toolWindow id="MyToolWindow" factoryClass="dev.hgh.MyToolWindowFactory"
icon="AllIcons.Toolwindows.ToolWindowPalette"/>
<fileType
name="Jai"
implementationClass="dev.hgh.jai.JaiFileType"
fieldName="INSTANCE"
language="Jai"
extensions="jai"/>
</extensions>
</idea-plugin>