Skip to content

Fix composite step kind not applied due to flags not copied in ResolvedStepDefinition#956

Draft
Copilot wants to merge 3 commits intomainfrom
copilot/add-step-differentiation-feature
Draft

Fix composite step kind not applied due to flags not copied in ResolvedStepDefinition#956
Copilot wants to merge 3 commits intomainfrom
copilot/add-step-differentiation-feature

Conversation

Copy link
Contributor

Copilot AI commented Feb 19, 2026

ResolvedStepDefinition extends StepDefinition but its constructor only forwarded the five base fields to super(...), silently dropping composite, deprecated, and dynamic flags. This meant CompletionItemService.asCompletionItem() always saw isComposite() == false, so composite steps were always rendered with CompletionItemKind.Method instead of CompletionItemKind.Function.

Changes

  • ResolvedStepDefinition: Copy composite, deprecated, and dynamic flags from the source StepDefinition after the super(...) call:
    setDeprecated(stepDefinition.isDeprecated());
    setComposite(stepDefinition.isComposite());
    setDynamic(stepDefinition.isDynamic());
Original prompt

This section details on the original issue you should resolve

<issue_title>Add possibility to differentiate built-in steps from composite ones in VS Code</issue_title>
<issue_description>As a QE
When I write/read Test Automation in VIVIDUS
I want to see which steps are built-in and which are Composite
So that it is clear which steps are being used

This will increase readability as well as help newcomers understand the code in already created repositories as they may be not aware of the full list of built-in steps
Currently all steps are being highlighted the same way and there's no way to differentiate the steps unless you remember them all or use Search or ./gradlew printSteps which is time consuming</issue_description>

Comments on the Issue (you are @copilot in this section)


🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.

…Kind

Co-authored-by: valfirst <5081226+valfirst@users.noreply.github.com>
Copilot AI changed the title [WIP] Add ability to differentiate built-in and composite steps in VS Code Differentiate built-in steps from composite steps in VS Code completion Feb 19, 2026
Copilot AI requested a review from valfirst February 19, 2026 21:44
… from source StepDefinition

Co-authored-by: valfirst <5081226+valfirst@users.noreply.github.com>
Copilot AI changed the title Differentiate built-in steps from composite steps in VS Code completion Fix composite step kind not applied due to flags not copied in ResolvedStepDefinition Feb 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add possibility to differentiate built-in steps from composite ones in VS Code

2 participants

Comments