-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Parallel runnning of gradle task #1045
Comments
Hi @hanct , I have started to support this feature. IMO #798 (comment) makes sense overall, but some small questions:
|
Hi. Thanks for the support of this feature! This is equivalent to ,me, opening 2 command prompt. Each running the command line gradle bootRun on the same application. Is that equivalent to parallel feature in gradle? |
So my initial thinking is, once we click on the Run button, the Run button remain as it is, so that we can click on it to trigger another execution of the same task. Hopefully there can be a number indicator beside the Run button to indicate how many instances of this gradle task are currently still in execution. |
got it. I'll add a new configuration to control this behavior (it will be disabled by default, but you can enable it for your case).
Not sure if it's very helpful and feasible:
So my suggestion is to waiting for the feedbacks of this feature. I'll update here once the PR has been created. |
@hanct #1122 will fix this issue, and could you try https://github.com/CsCherrYY/vscode-test/blob/main/vscode-gradle-3.8.4.vsix to see if this works in your scenario? You can set |
Noted. Agree to wait for feedback for the number indicator. Thanks! |
By the way, I presume the debug also works the same. We can click on debug button multiple times, to run application (in debug mode) in multiple instances. |
VSCode: v1.61.0
vscode-gradle: v3.8.0
In view of current trend towards cloud and microservice, developer might need to run multiple instances of the same microservice application in the development machine to simulate replicas,
Currently, when i execute a gradle task to run the application via vscode-gradle, the play button become stop button. if i have to run another new instance, i have to click the stop button in order to stop the current running instance, This implies that there is no way to go thru vscode-gradle to run multiple instances of the same application concurrently.
Hence, hope to request to allow parallel running of same gradle task concurrently, similar to what Intellij can do.
For more details on how intellij does this, refer to #798 .
In view that microsoft has currently taken over to maintain this extension, hence i open this new feature request .
The text was updated successfully, but these errors were encountered: