liamcain / AutoFileName

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

Opens in way to many places #80

Open lombardi-gux opened 9 years ago

lombardi-gux commented 9 years ago

Every html.string.quoted.double. For example, I am doing a lot of forms this week, and every <input type="text" value="">

The "value" keeps suggesting every html file in the folder of the file in question. I had to disable the extension, despite it being valuable in things like script src, link href, and css urls.

Can it be limited?

zaynali53 commented 8 years ago

Use Keybinding.

{ 
    "keys": ["alt+p"], 
    "command": "afn_show_filenames",
    "context": [
        {
            "key": "afn_use_keybinding", 
            "operator": "equal", 
            "operand": true
        }
    ]
}

Also, add this in your Preferences.sublime-settings to enable AutoFileName keybinding

"afn_use_keybinding": true

Now you can use Alt + p to show suggestions.