You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using the recent 1.0-SNAPSHOT, if I type <feature>restConnector-1.0</feature>and have the cursor after the '0', the feature suggestions seem to only include the "1.0" as context and completely ignores the "restConnector" part.
The correct feature is restConnector-2.0.
Should LCLS try to make a suggestion from the perspective of "right feature name but wrong version"??
The text was updated successfully, but these errors were encountered:
After changing the completion code to inspect what was passed in for the feature name, and only returning features that start with or contain the first part of the feature name (before the version number), the list displayed in Liberty Tools for Visual Studio Code still did not include useful entries. The IDEs themselves seem to have some logic that is doing the fuzzy matching.
I did take this opportunity though to prototype adding a quick fix for the diagnostic. Here are a couple of screenshots of what that would look like. I think this is a good work around and may even be better. What do you think @scottkurz ?
Here is a more interesting one where only part of the feature name was entered:
Using the recent 1.0-SNAPSHOT, if I type
<feature>restConnector-1.0</feature>
and have the cursor after the '0', the feature suggestions seem to only include the "1.0" as context and completely ignores the "restConnector" part.The correct feature is
restConnector-2.0
.Should LCLS try to make a suggestion from the perspective of "right feature name but wrong version"??
The text was updated successfully, but these errors were encountered: