liamcain / AutoFileName

Sublime Text plugin that autocompletes filenames
515 stars 78 forks source link

Default folder (or filetype) #51

Open juancpgo opened 10 years ago

juancpgo commented 10 years ago

When I start to type a path, it suggests every file on the project, which is not very useful to me, since I'd like only a fast way to create image links. Can I set up a starting file path, so it would link automatically to for example /assets/img?

thanks

chid commented 10 years ago

yes. "afn_proj_root": "assets/img",

braivs commented 4 years ago

Hi, I am using Pug, and my result files located in release folder. Tried to set this, but no work:

"afn_valid_scopes":["string","css","sass","less","scss","pug"],
"afn_use_project_root": true,
"afn_proj_root": "release/"

Maybe somebody know how to fix it?