Skip to content

Add jsonnet.languageServer.evalBinary option#70

Merged
julienduchesne merged 1 commit intomainfrom
feat/eval-binary-option
Feb 11, 2026
Merged

Add jsonnet.languageServer.evalBinary option#70
julienduchesne merged 1 commit intomainfrom
feat/eval-binary-option

Conversation

@julienduchesne
Copy link
Collaborator

Adds support for jsonnet.languageServer.evalBinary: when set, jsonnet.evalFile and jsonnet.evalExpression use the given external command (e.g. jsonnet or tk) instead of the in-process VM.

  • With Tanka mode: command is invoked as a Tanka binary (e.g. tk eval <envDir>).
  • Without Tanka mode: command is invoked as a jsonnet binary (temp script with -J, -V, --ext-code).

Requires the matching change in jsonnet-language-server that adds the eval_binary configuration and external eval execution.

Made with Cursor

- New setting to use an external command (e.g. jsonnet or tk) for eval
- When set, jsonnet.evalFile and jsonnet.evalExpression use it instead of
  the in-process VM. With Tanka mode the command runs as tk eval <envDir>;
  otherwise as jsonnet with temp script and -J, -V, --ext-code.

Co-authored-by: Cursor <cursoragent@cursor.com>
@julienduchesne julienduchesne merged commit 0b6a424 into main Feb 11, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant