Skip to content

Commit

Permalink
refactor: allow gradle tasks to use 'run with arguments' command. [cl…
Browse files Browse the repository at this point in the history
…oses #88]
  • Loading branch information
spmeesseman committed Feb 7, 2021
1 parent 208a5f1 commit 8784e00
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ Provides a view in either (or both) the SideBar and/or Explorer that displays al

## Features by Version

* v1.30 - Configurable default click action (closes [#97](https://github.com/spmeesseman/vscode-taskexplorer/issues/97)), Add 'Open Task' inline button
* v1.30 - Configurable default click action (closes [#97](https://github.com/spmeesseman/vscode-taskexplorer/issues/97)), Add 'Run with Arguments' command (closes [#88](https://github.com/spmeesseman/vscode-taskexplorer/issues/88)), Add 'Run with NoTerminal' command (closes [#39](https://github.com/spmeesseman/vscode-taskexplorer/issues/39)) (note that as of VSCode 1.53, there seems to be a bug that prevents running tasks without showing the terminal).
* v1.29 - Support multi-level task groupings (closes [#129](https://github.com/spmeesseman/vscode-taskexplorer/issues/129)), Support user tasks (closes [#127](https://github.com/spmeesseman/vscode-taskexplorer/issues/127))
* v1.28 - Support Makefile aliases (thanks **MichaelCurrin**)
* v1.27 - Use gulp and ant to find their respective tasks (configurable on/off) (closes [#105](https://github.com/spmeesseman/vscode-taskexplorer/issues/105)), Make grouping separator configurable (thanks **richarddavenport**)
Expand Down
2 changes: 1 addition & 1 deletion src/tasks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export class TaskItem extends TreeItem
this.execution = tasks.taskExecutions.find(e => e.task.name === task.name && e.task.source === task.source &&
e.task.scope === task.scope && e.task.definition.path === task.definition.path);

if (this.task.definition.scriptFile) {
if (this.task.definition.scriptFile || this.taskSource === "gradle") {
this.contextValue = "scriptFile";
}
else {
Expand Down

0 comments on commit 8784e00

Please sign in to comment.