Skip to content

V2‐Refactor‐2024

Peter Thomas edited this page Mar 1, 2024 · 10 revisions

The 2024 Plugin has been released !

version 2.0.1 - available now

Highlights

  • Delegate to VS Code Java debug support when available. This allows us to reduce the size of the extension and focus more on Karate capabilities
  • Much better support for Java teams using Maven and Gradle projects
  • Debug Karate tests even in a session started from a Java runner or unit-test
  • Karate break-points work even within a "standard" Java debug session (requires Karate 1.5.0.RC3 or greater)
  • No need to manually add a JAR file to your classpath for debugging. The extension bundles the debug-server runtime.
  • Lightweight 3MB instead of 100MB, since we don't bundle the Karate and Java runtimes any more
  • Re-designed VS Code Launch Configuration support - this covers all use cases (switching environments, tags, threads) and we don't need the "run mode switcher" any more, which was confusing
  • Support for stand-alone JAR improved, you can point to a folder and all JAR's within it will be picked up. You no-longer have to re-name JAR files and you can keep the version-number in the JAR file for better visibility. It is much easier to add any custom JAR files you may have to the mix. You have full control over which Karate version to use.
  • Simplified license-activation flow, fewer clicks and less browser back-and-forth
  • Bring up the Karate license status at any time, which shows you how many days are left in your offline session
  • Option to apply a license completely offline, without needing internet access (air-gapped), which is of interest for enterprises with strict security compliance needs

Coming Soon

  • Parser re-write from the ground-up, that includes JS support
  • Variable references
  • Autocomplete and click-to-navigate for "called" files
  • Paste cURL command and instantly convert to Karate snippet
  • Better auto-complete in JS contexts (e.g. karate.)
  • Better auto-complete in file contexts (e.g. read, karate.call())
  • Deep OpenAPI / Swagger support
  • Hover over code during a debug session to see values
  • (Feasibility to be confirmed) Debug JavaScript within Karate features
Clone this wiki locally