-
Notifications
You must be signed in to change notification settings - Fork 0
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
Tasks examples update: added new tasks examples in test-resources #5
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would adjust the label for the tasks so they are consistent as well.
{ | ||
"label": "Test compile problemMatcher", | ||
"type": "shell", | ||
"command": "tsc ${file}", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't believe this task actually works as intended in the test-resources
workspace, there are no typescript files to run tsc
on.
"presentation": { | ||
"reveal": "always", | ||
"panel": "new", | ||
"clear": true | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a reason we want to repeat the same presentation
options for:
test presentation
test compound task
test input variables
All three of them use:
"presentation": {
"reveal": "always",
"panel": "new",
"clear": true
}
"id": "taskName", | ||
"description": "enter the task name", | ||
"type": "promptString", | ||
"default": "Create a new class" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why class
here? It can be as simple as Name
or Task Name
.
"default": "Create a new class" | |
"default": "Name" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @vince-fugnitto, many thanks for your comments. I have updated my code accordingly.
added new tasks examples in test-resources Added new tasks examples to include problemMatchers, compound tasks, presentation options and variables substitution.
What it does
Add more options of tasks examples in test-resources to tests.
Closes eclipse-theia#6348
How to test
Review checklist
Reminder for reviewers