Add internal intellij plugin (#1248)

This introduces an IntelliJ plugin that's meant to assist with development of the Pkl codebase itself.

The plugin adds a file editor that opens snippet tests in a split editor pane, showing the input on the left side and output on the right side.
This commit is contained in:
Daniel Chao
2025-10-21 03:42:21 -07:00
committed by GitHub
parent f6d3fb1228
commit cce49a40fa
9 changed files with 315 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
<idea-plugin>
<id>org.pkl.intellij.snippet-test-helper</id>
<name>Pkl Snippet Test Helper</name>
<vendor>Apple Inc. and the Pkl project authors</vendor>
<description><![CDATA[
Automatically opens snippet test output files when input files are opened.
This is an internal plugin that is meant for development on the Pkl project itself.
]]></description>
<depends>com.intellij.modules.platform</depends>
<extensions defaultExtensionNs="com.intellij">
<fileEditorProvider implementation="org.pkl.intellij.SnippetTestEditorProvider"/>
</extensions>
</idea-plugin>