liamcain / AutoFileName

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

Can't autocomplete for files in subfolder #39

Open AllanLRH opened 10 years ago

AllanLRH commented 10 years ago

Filename autocompletion is a neat feature, but is it possible to autocomplete filenames from a subfolder? I'd like to use this plugin with LaTeX, where I have code like \includegraphics[]{figs/someIllustration.pdf}, and autocompleting figure name would be awesome. Tried putting this in my settings file (the scope of the curly braces is meta.group.braces.tex):

"auto_complete_triggers":
    [
      {
         "characters": "figs/",
         "selector": "meta.group.braces.tex"
      },
      {
         "characters": "/",
         "selector": "meta.group.braces.tex"
      }
    ]
liamcain commented 10 years ago

Sorry I never responded to this. Did you ever get if figured out? AutoFileName autocompletes subfolders by default so there should be no need to add those triggers. Let me know if you're still having trouble.

AllanLRH commented 10 years ago

Nope. But I made a GIF showing the problem... since it should work, I want to be sure there's no miscommunication about the problem :)

output_optimized

josh-azrael commented 10 years ago

I have the same issue.

czhang03 commented 8 years ago

latexing supports that, if you reenter the braket