Skip to content

Add "Run" Button for Java #45

Closed

Description

@champlooein

There is a run button next to the main function in go as shown below, but this is not the case for java.
I looked up the zed development documentation and issues and found that adding a run button requires a runnables.scm file.
Is there any development plan for this? After all, it's really not convenient to run it through the terminal every time.

Image

Activity

  1. valentinegb commented on Mar 19, 2025

    @valentinegb
    Collaborator

    I'm not really sure how to determine which build system to use to run a Java program (gradle, maven, standalone) using only runnables.scm and tasks.json

  2. alicesunhy commented on Mar 27, 2025

    @alicesunhy

    啥时候可以支持gradle、maven

  3. valentinegb commented on Mar 27, 2025

    @valentinegb
    Collaborator

    Not sure at the moment, if I'm understanding your question correctly (sorry, I can't read Chinese ^^')

  4. alicesunhy commented on Mar 27, 2025

    @alicesunhy

    Sorry, this was my mistake. I'm wondering when Zed will support Java Maven or Gradle?

  5. valentinegb commented on Mar 27, 2025

    @valentinegb
    Collaborator

    The extension already supports Maven and Gradle Java projects.

  6. lxgr-linux commented on Sep 3, 2025

    @lxgr-linux
    Contributor

    I'm looking into implementing this

  7. added 8 commits that reference this issue on Sep 3, 2025
  8. linked a pull request that will close this issueAdd runnables queries #79on Oct 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    grammarRelated to the Tree-Sitter grammar.help wantedExtra attention is needed

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions