-
Notifications
You must be signed in to change notification settings - Fork 13
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
Hover message is different for versioned and version less features with compatible platform added #329
Comments
The description for a feature comes directly from the features.json file. This is working as expected. Frankly, it would be very very difficult for the language server to know what version was actually resolved for the feature (and that can be affected by multiple Liberty config files...not just the current one being edited). That would be a major enhancement request. |
One more point...the whole point of using versionless features is not needing to know which version of a feature to specify for a particular platform. So why would we need to resolve and display the version here in a language server? The appropriate version of the feature will be used for the specified platform. End of story. |
@cherylking There may be other options here. I think the issue may be more that the description for the versionless feature is lacking compared to the versioned feature description. Maybe we should consider asking the Liberty team to add more info to the description for versionless features? Out of curiosity, does Liberty output its resolved feature list anywhere? Not sure if anyone on our team would know the answer to that. |
@TrevCraw You could ask the Liberty team to add info to the feature description. It is part of the json file that gets published in Maven Central. When LMP or LGP gets invoked and features get installed, the list of resolved and installed features appears in the console output like the following: For the following output, the server.xml contained these features/platforms:
Log message from LMP/LGP:
followed by log message from LMP/LGP based on output from Liberty feature installation command:
The following appears in the messages.log in the Liberty server for this use case:
|
For version less feature servlet, with a compatible platform added, the description for the feature is different with the feature having versions, see the screenshots below
Expected that, on hover over the version less feature, it will give a description about the version with which it got resolved by adding the platform
The text was updated successfully, but these errors were encountered: