-
Notifications
You must be signed in to change notification settings - Fork 14
Home
- Follow the tutorial to customize your filepath completions.
- Check settings for a detailed description of FuzzyFilePath customization options
- Ask a question or post a bug
Assuming no errors are logged on console, add a minimum scope rule as first item in settings.scopes. Go to Sublime Text | Preferences | Package Settings | FuzzyFilePath | Settings - User and add
"scopes": [
{
"scope": ".",
"auto": true,
// add your extensions here:
"extensions": ["css", "html", "js"]
}
]
This will propose filepaths for the given extensions in all autocompletion requests. To adjust the trigger see
settings. To log trigger evaluation, in settings set "log": true"
.
set your project_directory
either in project settings or user settings to the correct folder. project_directory
must be relative to your sublime project directory.
Relative filepaths point from the current file to the selected file. Folders are moved upwards until the target path is reachable. i.e. in case of css filepaths, the starting path may be relative from the html file importing the styles.
Set base_directory
in scope rules to point from project_directory to html file. This will always set the starting path of the trigger to base_directory
.