redhat-developer / redhat-developer/vscode-java

Running Gradle Tasks using language server commands

Open
#633 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Gradle
Dominant language
TypeScript
Stars
2.3k
Forks
546
Avg merge
20h 1m
Merged PRs (30d)
11

Description

Is there a way to run arbitrary Gradle tasks by using the java.execute.workspaceCommand call? We're running into some java issues between needing to run gradle tasks, and the java installation the extension picks up. It would be nice if we could just use the java extension to call gradle tasks. Or if we would need to build our own java extension jar, do you have a guide on how to do that? I tried a few weeks ago but couldn't figure out how to set up the extension plugin build.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the java.execute.workspaceCommand entry point and reviewing how the extension plugin build is set up. Determine whether arbitrary Gradle task execution is supported or whether a plugin-build guide is needed; the issue is done when one of those paths is clearly documented or implemented.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, typescript, vscode
Domain
build-system, developer-experience, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.