getgauge / Intellij-Plugin

Gauge IntelliJ IDEA plugin
Apache License 2.0
44 stars 28 forks source link

Seamless gauge installation via IDE #243

Closed sriv closed 6 years ago

sriv commented 7 years ago

Expected behavior

When a Gauge project is opened in Intellij, in a machine that does not have Gauge executable installed, download and install latest Gauge executable, after asking for the user's consent.

Actual behavior

When Gauge isn't installed, user is presented with a message indicating such.


Dev Notes

zabil commented 7 years ago

Prompt the user before creating a new project for an option of what gauge executable to use.

Download and install gauge per project

newopen_project_gaugewrapper

This will download the gauge binary in the project .gauge project and create a gaugew wrapper script that can be used to manage gauge versions. The gaugew wrapper can be checked in to make this configuration portable.

Use local Gauge distribution

newopen_project_gauge_1

The user can refer to an already installed version of gauge.

The configuration can be modified later via the project preferences page.

mahendrakariya commented 7 years ago

This is an awesome idea. But at the same time, I think we should cross check the JetBrains guidelines around installing something outside the IntelliJ ecosystem. In case of violation, the plugin maybe black listed and removed.

zabil commented 7 years ago

Sure will check. This will work similar to how gradlew works on intellij. Although again the gradle plugin is officially supported by intellij.

zabil commented 6 years ago

This will be implemented in VS code.