Skip to content

Consider recommendation to install JBang #3111

Open

Description

@rgrunber

If a user has only opened a single Java file (no workspace folder), or a workspace folder with just a single Java file, it might make sense to recommend https://www.jbang.dev/ (https://marketplace.visualstudio.com/items?itemName=jbangdev.jbang-vscode).

This isn't about detecting a valid JBang file, but more about recommending they look into it's usage if they appear to be using Java to write a script.

Activity

  1. rgrunber commented on May 25, 2023

    @rgrunber
    MemberAuthor

    @fbricon @maxandersen , any value in this ? Should be pretty straightforward to do.

  2. maxandersen commented on May 25, 2023

    @maxandersen
    Contributor

    It's not the only usecase for jbang but I'll take it :)

  3. fbricon commented on May 25, 2023

    @fbricon
    Collaborator

    single Java file (no workspace folder)

    that's not supported by jbang-vscode. Other use case yes.

    Now I feel ambivalent about that recommendation. As much as I love JBang and jbang-vscode:

    • There are lots of cases when JBang is unneeded/unwanted.
    • jbang-vscode is basically a 1-man project, unsupported by Red Hat.
  4. burhanv14 commented on Nov 13, 2026

    @burhanv14

    I think your suggestion was actually useful.
    Implemented it.

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions