Add tasks Check, Document, Install, Test#603
Add tasks Check, Document, Install, Test#603andycraig merged 2 commits intoREditorSupport:masterfrom
Conversation
|
Looks like |
|
When I choose to {
"version": "2.0.0",
"tasks": [
{
"type": "R",
"problemMatcher": [],
"label": "R: Document"
}
]
}I don't see a way to customize the command or arguments like configuring other self-created tasks in the fields available for this task in the auto-completion just like presented in #59 (comment). |
Done. |
|
Re: {
"tasks": [
{
"type": "R",
"problemMatcher": [],
"label": "R: Install",
"presentation": {
"reveal": "never"
}
}
]
} |
|
Looks like the configuration is meant to customize other properties of the task except the command to run. |
|
@renkun-ken Thanks for the review! I will merge. |
|
Would there be problems with using |
Relevant to #59
What problem did you solve?
Adds some Tasks (Document, Install, Test).
I'm hoping that having these in the code will encourage others to add tasks they think would be useful, since it should be pretty clear how these can be copy-pasted to add new tasks.
How can I check this pull request?
Run command
Tasks: Run Task. SelectR. ObserveR: Document,R: Install,R: Check. Select one of them. SelectContinue without scanning the task output. Observe that the Rscript command is sent to a new terminal. E.g., forR: Install, the following appears in the terminal:Executing task: Rscript -e "devtools::install()"