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
The current logic for completion on attribute values removes all $, { and } with no regard to context. If someone typed myValueWith$Sign, the current logic would try do variable completion for myValueWithSign.
The current attribute value needs to be parsed to look for the pattern ${xyz} where xyz is some alpha-numeric value and do completion on xyz. We should probably also support matching the pattern ${xyz with no ending bracket. If neither of those patterns are detected, completion should just be done on what was entered without removing any characters.
If there are multiple matches those patterns, we need to determine what our code can do. Can the current cursor position be used to determine which portion of the attribute value we should do completion on?
${myFirstVar}/${mySecond
For example, if the above attribute value is entered and the user triggers completion after the d, can we only provide completion for mySecond and just replace that var and not change the rest of the attribute value when they select a completion value?
The text was updated successfully, but these errors were encountered:
The current logic for completion on attribute values removes all
$
,{
and}
with no regard to context. If someone typedmyValueWith$Sign
, the current logic would try do variable completion formyValueWithSign
.The current attribute value needs to be parsed to look for the pattern
${xyz}
wherexyz
is some alpha-numeric value and do completion onxyz
. We should probably also support matching the pattern${xyz
with no ending bracket. If neither of those patterns are detected, completion should just be done on what was entered without removing any characters.If there are multiple matches those patterns, we need to determine what our code can do. Can the current cursor position be used to determine which portion of the attribute value we should do completion on?
${myFirstVar}/${mySecond
For example, if the above attribute value is entered and the user triggers completion after the
d
, can we only provide completion formySecond
and just replace that var and not change the rest of the attribute value when they select a completion value?The text was updated successfully, but these errors were encountered: