Find Feature Children Action: enables Find Usage for children features#119
Open
Lycheers wants to merge 14 commits intoisselab:mainfrom
Open
Find Feature Children Action: enables Find Usage for children features#119Lycheers wants to merge 14 commits intoisselab:mainfrom
Lycheers wants to merge 14 commits intoisselab:mainfrom
Conversation
# Conflicts: # src/main/resources/META-INF/plugin.xml
…rking for feature-to-file)
# Conflicts: # src/main/java/se/isselab/HAnS/actions/FindChildrenAction.java
johmara
requested changes
Mar 7, 2025
Member
johmara
left a comment
There was a problem hiding this comment.
Does it work through the feature model view?
Does it work in code annotation context? in Fileaannotation context? and folder annotation context?
Don't forget to annotate your code
Author
Our current Implementation works as we discussed in a previous meeting only in feature model files. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
We implemented a FindChildrenAction that
Related Issue
#50
Motivation and Context
When features have multiple nested child features, manually inspecting each one to find code references becomes time-consuming. This action simplifies code navigation by a right click on the selected feature and automatically gathers all usages of a selected parent feature and its entire hierarchy of child features in one view. Developers can now instantly see how a feature family is used across the project. This centralized overview helps maintain better mental models of feature relationships while reducing context-switching during code analysis.
How Has This Been Tested?
We executed the "Find Feature Children" action manually in the feature-model-feature.file in the Snake project.
We did two kinds of tests:
In the first case, it displayed usages of the selected feature and its children features in the window.
In the second case, we ensured that no children from other features were shown, only the usage of the feature itself is displayed.
Demo:
Demo_FindFeatureChildren.mp4
Types of changes
Checklist: