AutoFileName
AutoFileName copied to clipboard
Always start from project root
First of all, let me tell you that this is an awesome tool and I use it with S3!
However, something is bothering me and I hope that there is an easy fix for it.
I have this in the AFN settings:
"afn_use_project_root": true, "afn_proj_root": ""
When I hit "/", it always starts from the root of the folder where the file is located.
I want my paths to always be relative to the project root. For example, like this:
/assets/images/image.jpg /assets/css/styles.css
So, my questions is, how do I make it to always start from the project root, no matter where the files is located in the folder hierarchy of the project?
Thanks! Alex
I'm having this same problem. In fact, changing afn_use_project_root
from false
to true
in my user settings is having no change to the behavior, regardless of afn_proj_root
's settings. No matter what, AFN is beginning at the location of the current file.
I also tried setting afn_use_project_root
to true
and changed the path
in my project settings, but am having the same issue.
Any change? :/
Hi, I am using Pug, and my files located in release folder. Tried to set this, but no work:
"afn_use_project_root": true,
"afn_proj_root": "release/"