Skip to content

Project manager extension should have a dependency on Java Extension Pack聽#543

Closed

Description

Hi VS Code PM here 馃憢

I was just in a user study with Steven Clarke (@stevencl) and a new user to VS Code was setting up Java for VS Code. He fist installed this extension: the Java Package one. It would make good sense if this extension has a dependency on the Java Extension Pack, so if users decide to first install this one that all gets installed together nicely. I do not think this extension makes sense with the basic java one.

fyi Jinbo Wang (@testforstephen)

Let me know what you think, thanks!
Isidor

Activity

  1. isidorn commented on Aug 30, 2021

    @isidorn
    Author

    The user started from this Doc, so he first installed this extension
    https://code.visualstudio.com/docs/java/java-project

  2. jdneo commented on Aug 31, 2021

    @jdneo
    Member

    Hi Isidor Nikolic (@isidorn), I'm thinking that whether we need to hard depend on Java Pack, or ask user if he want to have full support of Java then install the Pack.

    Also + Rome Li (@akaroml) nickzhums Yan Zhang (@Eskibear) Shi Chen (@CsCherrYY)

  3. Eskibear commented on Aug 31, 2021

    @Eskibear
    Member

    Java Project Manager extension can work alone to provide limited features, but most features are available when Java language server is working (redhat.java is activated and a Java project is opened).

    I think one quick approach is to change the button to "Install Java Extension Pack" in docs. Because that's what we recommend, and most of the features only work when extension pack is available.

  4. isidorn commented on Aug 31, 2021

    @isidorn
    Author

    I agree you can also change the docs.
    Or whenever a user triggers some of the features that do not work without the java extension pack you would guide the user to install the extension pack.

    I personally would make a hard dependency and listen to negative user feedback, but I leave this up to you.
    I understand you wanted to make this extension "lightweight" but we should figure out if users actually use it that way. We should try to get numbers for users that have this extension installed and not the extension pack.

  5. Eskibear commented on Aug 31, 2021

    @Eskibear
    Member

    Action items for now:

    We should try to get numbers for users that have this extension installed and not the extension pack

    Agree, to learn how large the impact is. I'll give it a try before we make further decisions.

    BTW, I find hard dependency on redhat.java was removed by #322 . The original intention was to provide useful information while redhat.java is activating (because importing projects can take long time). I'll invite Sheng Chen (@jdneo) to comment if there's further context information.

  6. jdneo commented on Sep 1, 2021

    @jdneo
    Member

    The reason of removing the hard dependency of redhat.java is to make sure the Create Java Project command can response quickly. (not wait until the redhat.java is activated)

    While things might be different if we just depend on the Java Extension Pack, since the pack can be activated very quickly. We can make some investigation here.

  7. Eskibear commented on Sep 1, 2021

    @Eskibear
    Member

    We should try to get numbers for users that have this extension installed and not the extension pack

    Statistics shows roughly ~30% machines have project manager installed without extension pack. Sheng Chen (@jdneo) will drive this to optimize the experience for them.

  8. jdneo commented on Sep 16, 2021

    @jdneo
    Member

    To summarize the actions we've done for this issue:

    1. nickzhums has raised several PRs in VS Code document to guide users install the pack extension.
    2. In fix: Show the hints in Java Projects explorer properly聽#547 we will hint user to install the required extension if it's missing. (This can make sure some of the features can still response quickly)
      image

    I'm closing this issue for now, and let's see if things can be improved with these fixes.

  9. isidorn commented on Sep 16, 2021

    @isidorn
    Author

    Great, thanks for these improvements 馃憦

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

UXengengineering

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions