Previous versions

2022.1.8

The plugin has a new name – Jsonnet Pro.

Jsonnet core

  • Completion/navigation/Find usages for field names inside super statement (nested elements is not supported at the moment)
  • An inspection that checks arguments usages
    • Verifies if the specified number of arguments is less/more than the number of parameters
  • Improved Code Analysis engine. Now it understands parenthesized expressions.
  • Added error reporter. If you encounter an error inside the plugin, the IDE will prompt you to send a report to MovaTech
  • Added missing std.sum method to the standard library.
  • Now documentation is shown for items inside the completion popup.

Grafana Tanka

  • Add completion for native function names inside calls std.native()

Other

  • Added Drone CI icons

2022.1.7

This is a feature release. The following functionalities have been added

Structure view

  • Simple Structure view for jsonnet files

Inspections

  • Now duplication check is aware of the lexical context where the variable is defined.
  • A new inspection Navigate to the first definition for duplicated variables.

External variables

Jsonnet files can be parameterized by using external variables. So, the following features have been added.

  • A new configuration field in the AutoPreview settings. It is now possible to define a list of external variables that will be used in the AutoPreview mode.
  • A new inspection for undefined external variables. If a variable is not defined -> suggest to open the settings dialog and add it
  • Automatic completion When you add a std.extVar("")" statement, the plugin can show a list of defined variables

Spellchecker

  • Spellchecker for identifiers/comments/string literals

Jsonnet Bundler and Tanka Integration

  • Navigation between tanka jsonnet files and spec.json file
  • Added missing sum and single properties completion inside jsonnetfile.json files

Jsonnet Grammar changes

  • Grammar changes – addition of importbin statement

2022.1.6

Jsonnet Core

  • AutoPreview functionality for Jsonnet files (tanka files are not supported yet)

Bugfix

  • Creation of relative files with dots in names

Deprecation

  • Versions older than 2021.3 are not supported anymore

2022.1.5

Jsonnet core

  • Improve automatic closing for quote symbols (single, double, verbatim single, verbatim double )
  • Documentation for functions from the Standard Library

Jsonnet Bundle integration

  • Highlights uninstalled/missing dependencies in jsonnetfile.json file.

Grafana Tanka integration

  • Properties completion for imported JSON files in Grafana Tanka
  • Properties completion from spec.json files

2022.1.4

Jsonnet core

  • Improved code completion performance for import and importstr expressions (especially for the big vendor directories)

Jsonnet Bundle integration

  • Added properties completion inside jsonnetfile.json
  • Added jsonnetfile.json structure validation (json schema validation)

Grafana Tanka integration

  • Added code completion for environment properties from spec.json configuration file
  • Added spec.json structure validation (json schema validation)
  • Added completion for project local libraries (from lib directory)

2022.1.3

Jsonnet core

  • Duplicated locals inspects only global locals, skip ones defined in function literals
  • All strings are injectable now
  • Method is now resolved to overridden method
  • Parameters info shows overloaded method parameters

Grafana Tanka integration

  • Files in the lib directory are now visible in import/importstr expression
  • Navigation is on by default(Go to declaration and Find Usages) for files import from the lib directory