Extend Autocompletion with task and taskrun expressions and the root available variables #3622
Open
12 of 16 tasks
Labels
backend
Need some backend code changes
enhancement
New feature or request
frontend
Need some frontend code changes
Milestone
As a follow-up to #3331 we can extend autocompletion.
In the order of priority
Prio 1 - DONE
Add autocompletion for root attributes when in an empty Pebble
you type {{ and then cmd+Space will give you:
Prio 2
{{ namespace.myvar }}
Out of scope for now
Those can be explored later if time is available
Prio 3
{{...}}
and there's a word ahead of the cursorPrio 4
Context aware:
taskrun.parentId
taskrun.value
taskrun.iteration
taskrun.id NEED TO BE CONTEXT AWARE, POSTPONE TO 0.18
taskrun.startDate NEED TO BE CONTEXT AWARE, POSTPONE TO 0.18
taskrun.attemptsCount NEED TO BE CONTEXT AWARE, POSTPONE TO 0.18
parents NEED TO BE CONTEXT AWARE, POSTPONE TO 0.18
The text was updated successfully, but these errors were encountered: