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
Problem
Many languages allow embedding language fragments inside of strings. In JavaScript for example:
`Max int: ${Number.MAX_SAFE_INTEGER}`
While typing within the ${...} however, we do not show quick suggestions. The root cause is that the template expression is within a string, and the editor.quickSuggestion.strings setting explicitly disable quick suggestions within strings.
Proposal
We now have a convention of marking languages embedded within strings with the meta.embeded scope. This could be used to reset the quick suggestions scopes.
Here's the scope of the above code:
In this stack, we'd first see string.template which would disable quick suggestions. Then, further up the stack, we see meta.embedded which would reset the quick suggestion mode.