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
Default word detection provided by VS Code's API, uses a simple regex to isolate words. This works for most cases, where {{facebook}} is recognized as facebook. However, for something like a partial, the syntax of which relies on non-word characters, detection is more problematic.
The current custom resolver fails when a helper and partial are on the same line.
Solutions:
Write more advanced custom resolvers
Remove the default word regex and use a custom one
Default word detection provided by VS Code's API, uses a simple regex to isolate words. This works for most cases, where
{{facebook}}
is recognized asfacebook
. However, for something like a partial, the syntax of which relies on non-word characters, detection is more problematic.The current custom resolver fails when a helper and partial are on the same line.
Solutions:
The text was updated successfully, but these errors were encountered: