windup / intellij-mta

IntelliJ MTA Plugin
4 stars 7 forks source link

Define MTA configurations in project workspace (feat) #222

Open rmarting opened 2 years ago

rmarting commented 2 years ago

Each MTA Configuration is created in the $HOME/.mta/tooling/model.json file, a shared folder for any IntelliJ instance.

If you have different projects where you want to use the MTA extension, at the end you have a single view of all the MTA configurations, not related with the current project opened in IntelliJ. This is behaviour could impact in the user experience as in the same view there are many different configurations, related or no with the current project opened.

This screenshot shows a list of MTA configurations not related with the current project opened.

mta-shared-configurations

IMHO it could be very usefull to save the MTA configurations at the level of the project folder ($PROJECT_HOME/.idea), or at least allow user to choose where to save the configuration. This feature will the developer could decide where to save the MTA analysis and organize them under he/she convenience.

Does it make sense?

Tested and verified in the next environment:

IntelliJ IDEA 2021.3.3 (Ultimate Edition)
Build #IU-213.7172.25, built on March 15, 2022
Licensed to Roman Martin Gil
You have a perpetual fallback license for this version.
Subscription is active until February 21, 2023.
Runtime version: 11.0.14.1+1-b1751.46 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Linux 5.16.18-200.fc35.x86_64
GC: G1 Young Generation, G1 Old Generation
Memory: 1024M
Cores: 12
Non-Bundled Plugins:
    org.ermadan.kafkalytic (0.9.13)
    com.redhat.devtools.intellij.telemetry (0.0.2.18)
    com.redhat.devtools.intellij.kubernetes (0.4.2.114)
    com.jetbrains.ChooseRuntime (1.2)
    org.jetbrains.kotlin (213-1.6.10-release-961-IJ6777.52)
    org.jboss.tools.intellij.mta (0.0.1.118)
    com.intellij.guice (213.6461.21)
    com.github.copilot (1.1.15.1115)
    com.redhat.devtools.intellij.tekton (1.1.0.231)
    org.asciidoctor.intellij.asciidoc (0.37.12)
    com.intellij.javaee.ejb (213.6777.11)
    Key Promoter X (2021.3)
    org.sonarlint.idea (6.6.0.45106)
    org.apache.camel (0.8.5)
    com.redhat.devtools.intellij.quarkus (1.10.0.206)
    com.haulmont.jpab (2022.1.3-213)

Kotlin: 213-1.6.10-release-961-IJ6777.52
Current Desktop: GNOME
johnsteele commented 2 years ago

@rmarting Agreed. The state location could be improved. Let's start with your suggestion of using $PROJECT_HOME/.idea