Add project type detection and language support notifications to Cucumber Eclipse Editor #570
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.
Overview
This PR implements automatic project type detection in the Cucumber Eclipse Editor, allowing users to be notified when enhanced language-specific support is available but not installed. The feature seamlessly integrates with the existing validation infrastructure and provides a user-friendly quick fix for installing missing support bundles.
Problem
Currently, users working with Cucumber feature files in Java or Python projects may not be aware that language-specific support bundles are available to enhance their development experience. These support bundles provide features like:
Without awareness of these bundles, users miss out on valuable productivity features.
Solution
This implementation adds intelligent detection that:
How It Works
When a feature file is opened or edited, the
GherkinSyntaxValidatornow:org.eclipse.jdt.core.javanature) or Python nature (org.python.pydev.pythonNature)io.cucumber.eclipse.javafor Java projectsio.cucumber.eclipse.pythonfor Python projectsUsers can then:
The quick fix opens a progress dialog that simulates the installation process (10-second blocking operation as specified). The actual installation logic is a placeholder ready for future implementation.
Technical Details
Changes Made
checkLanguageSupport()andisBundleInstalled()methodsDesign Decisions
Code Quality
StepCreationMarkerResolutionGenerator)Example User Flow
Testing
Due to network connectivity issues with Eclipse P2 repositories during development, full integration testing could not be completed. However:
Runtime testing should verify:
Future Enhancements
The implementation provides hooks for future work:
Backward Compatibility
This change is purely additive and maintains full backward compatibility:
Statistics
Closes #[issue-number]
Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
http://download.eclipse.org:80/releases/2025-09/content.jarREDACTED, pid is -1(http block)http://download.eclipse.org:80/releases/2025-09/p2.indexREDACTED, pid is -1(http block)If you need me to access, download, or install something from one of these locations, you can either:
Original prompt
💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.