AutoFileName icon indicating copy to clipboard operation
AutoFileName copied to clipboard

Can't autocomplete for files in subfolder

Open AllanLRH opened this issue 12 years ago • 4 comments

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"
      }
    ]

AllanLRH avatar Oct 08 '13 18:10 AllanLRH

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.

liamcain avatar Nov 27 '13 18:11 liamcain

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

AllanLRH avatar Dec 06 '13 23:12 AllanLRH

I have the same issue.

josh-azrael avatar Mar 20 '14 17:03 josh-azrael

latexing supports that, if you reenter the braket

czhang03 avatar Feb 04 '16 20:02 czhang03