Autocomplete+: complete paths


#1

One thing that I really miss from brackets.io is the ability to autocomplete file paths. I have been searching for a way to do this, but all I could find was this package, which does not work in html or css, and it does not work as easily or as intuitively as the built in filepath autocompletion in brackets. In brackets, if I am editing html, for example, and I type
<img src=, brackets recognizes that a pathname is coming next, and an autocomplete dropdown appears, showing the matching filenames in the project folder. Can an option this be added to the autocomplete+ package?


#2

If you go to the settings for the package (File -> Settings -> Packages -> autocomplete-paths), you will see Enable HTML support as the first setting.

or css

The package also provides the means to extend its functionality to other languages.

In brackets, if I am editing html, for example, and I type <img src=, brackets recognizes that a pathname is coming next, and an autocomplete dropdown appears, showing the matching filenames in the project folder.

My reading of the autocomplete-paths documentation does not suggest a way to get around having to add single or double quotes. Sure, you can change the default, but I can’t tell just by looking at it whether replaceOnInsert: [ ['^', '\"'] ] is valid. I would have to test that.