Skip to content

Commit

Permalink
Remote task presentation options
Browse files Browse the repository at this point in the history
  • Loading branch information
badsyntax committed May 19, 2020
1 parent a43ec04 commit 35c0150
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 73 deletions.
7 changes: 0 additions & 7 deletions extension/i18n/es/package.i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,6 @@
"extension.config.enableTasksExplorer.description": "Habilitar una vista de explorador para tareas de Gradle",
"extension.config.debug.description": "Mostrar información adicional de depuración en el panel de salida",
"extension.config.focusTaskInExplorer.description": "Enfoca la tarea en el explorador cuando ejecutas una tarea",
"extension.config.taskPresentationOptions.description": "Opciones de terminal para ejecutar una tarea",
"extension.config.taskPresentationOptions.reveal.description": "Controla si el panel Terminal integrado se lleva al frente",
"extension.config.taskPresentationOptions.focus.description": "Controla si el terminal está tomando el foco de entrada o no",
"extension.config.taskPresentationOptions.echo.description": "Controla si el comando ejecutado se repite en el terminal",
"extension.config.taskPresentationOptions.showReuseMessage.description": "Controla si mostrar el \"Terminal será reutilizado por tareas, presione cualquier tecla para cerrarlo \" mensaje",
"extension.config.taskPresentationOptions.panel.description": "Controla si la instancia de terminal se comparte entre ejecuciones de tareas",
"extension.config.taskPresentationOptions.clear.description": "Controla si el terminal se borra antes de ejecutar esta tarea",
"extension.config.javaDebug.description": "Opciones de depuración de Java",
"extension.config.javaDebug.tasks.description": "Lista de tareas JavaExec para depurar"
}
55 changes: 0 additions & 55 deletions extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -379,61 +379,6 @@
"integration"
]
}
},
"gradle.taskPresentationOptions": {
"type": "object",
"description": "%extension.config.taskPresentationOptions.description%",
"scope": "window",
"properties": {
"reveal": {
"type": "string",
"enum": [
"always",
"never",
"silent"
],
"default": "always",
"description": "%extension.config.taskPresentationOptions.reveal.description%"
},
"focus": {
"type": "boolean",
"default": true,
"description": "%extension.config.taskPresentationOptions.focus.description%"
},
"echo": {
"type": "boolean",
"default": true,
"description": "%extension.config.taskPresentationOptions.echo.description%"
},
"showReuseMessage": {
"type": "boolean",
"default": false,
"description": "%extension.config.taskPresentationOptions.showReuseMessage.description%"
},
"panel": {
"type": "string",
"enum": [
"shared",
"dedicated",
"new"
],
"default": "shared",
"description": "%extension.config.taskPresentationOptions.panel.description%"
},
"clear": {
"type": "boolean",
"default": true,
"description": "%extension.config.taskPresentationOptions.clear.description%"
}
},
"default": {
"reveal": "always",
"focus": false,
"echo": true,
"showReuseMessage": false,
"panel": "shared",
"clear": false
}
}
}
},
Expand Down
7 changes: 0 additions & 7 deletions extension/package.nls.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,6 @@
"extension.config.enableTasksExplorer.description": "Enable an explorer view for Gradle tasks",
"extension.config.debug.description": "Show extra debug information in the output panel",
"extension.config.focusTaskInExplorer.description": "Focus the task in the explorer when running a task",
"extension.config.taskPresentationOptions.description": "Terminal options for running a task",
"extension.config.taskPresentationOptions.reveal.description": "Controls whether the Integrated Terminal panel is brought to front",
"extension.config.taskPresentationOptions.focus.description": "Controls whether the terminal is taking input focus or not",
"extension.config.taskPresentationOptions.echo.description": "Controls whether the executed command is echoed in the terminal",
"extension.config.taskPresentationOptions.showReuseMessage.description": "Controls whether to show the \"Terminal will be reused by tasks, press any key to close it\" message",
"extension.config.taskPresentationOptions.panel.description": "Controls whether the terminal instance is shared between task runs",
"extension.config.taskPresentationOptions.clear.description": "Controls whether the terminal is cleared before this task is run",
"extension.config.javaDebug.description": "Java debug options",
"extension.config.javaDebug.tasks.description": "List of JavaExec tasks to debug"
}
5 changes: 1 addition & 4 deletions extension/src/gradleView.ts
Original file line number Diff line number Diff line change
Expand Up @@ -465,10 +465,7 @@ export function registerExplorer(
'gradle:showTasksExplorer',
getConfigIsTasksExplorerEnabled()
);
} else if (
event.affectsConfiguration('gradle.javaDebug') ||
event.affectsConfiguration('gradle.taskPresentationOptions')
) {
} else if (event.affectsConfiguration('gradle.javaDebug')) {
vscode.commands.executeCommand('gradle.refresh');
}
}
Expand Down

0 comments on commit 35c0150

Please sign in to comment.