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
Absolute filepaths have a leading slash per default. The most straightforward is to add an regex (replace_on_insert) to your custom trigger, like the following
If you have not yet added the rules to your custom settings, i suggest you copy your required triggers to your FuzzyFilePath UserSettings and modify the corresponding config.
Activity
sagold commentedon Jan 1, 2018
Hi touhid-rahman.
Absolute filepaths have a leading slash per default. The most straightforward is to add an regex (replace_on_insert) to your custom trigger, like the following
{ "scope": "text\\.html", "prefix": ["src", "url"], "auto": true, "base_directory": true, "extensions": ["js", "png", "gif", "jpeg", "jpg", "svg"], "relative": true, "replace_on_insert": [ ["^\\\/", ""] ] }If you have not yet added the rules to your custom settings, i suggest you copy your required triggers to your FuzzyFilePath UserSettings and modify the corresponding config.