-
-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
<a class="gh-social-link gh-social-facebook" href="{{facebook_url @site.facebook}}" title="Facebook" target="_blank" rel="me noopener">{{> "icons/facebook"}}</a>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
- Look into using the Language Extensions API
Metadata
Metadata
Assignees
Labels
No labels