{"id":13448173,"url":"https://github.com/sagold/FuzzyFilePath","last_synced_at":"2025-03-22T08:31:45.424Z","repository":{"id":16708443,"uuid":"19465273","full_name":"sagold/FuzzyFilePath","owner":"sagold","description":"Autocomplete relative or absolute file paths in Sublime Text project folder ","archived":false,"fork":false,"pushed_at":"2019-04-09T17:25:39.000Z","size":826,"stargazers_count":154,"open_issues_count":22,"forks_count":14,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-11T08:05:18.258Z","etag":null,"topics":["filepath","fuzzy-search","sublime-text"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"wtfpl","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sagold.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGES.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-05-05T17:53:41.000Z","updated_at":"2024-09-28T05:22:58.000Z","dependencies_parsed_at":"2022-08-25T13:23:14.961Z","dependency_job_id":null,"html_url":"https://github.com/sagold/FuzzyFilePath","commit_stats":null,"previous_names":[],"tags_count":27,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sagold%2FFuzzyFilePath","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sagold%2FFuzzyFilePath/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sagold%2FFuzzyFilePath/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sagold%2FFuzzyFilePath/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sagold","download_url":"https://codeload.github.com/sagold/FuzzyFilePath/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244931484,"owners_count":20534008,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["filepath","fuzzy-search","sublime-text"],"created_at":"2024-07-31T05:01:37.729Z","updated_at":"2025-03-22T08:31:45.113Z","avatar_url":"https://github.com/sagold.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# [FuzzyFilePath](https://github.com/sagold/FuzzyFilePath)\n\n__Sublime Text Plugin__\n\nFuzzy search and insert filenames inside your current project directory. Highly customizable.\n\n\u003cimg src=\"https://raw.githubusercontent.com/sagold/FuzzyFilePath/develop/FuzzyFilePathDemo.gif\" /\u003e\n\u003cbr /\u003e\n\u003cem style=\"display: block; text-align: right;\"\u003eBasic settings support Javascript, HTML, CSS, PHP and glsl, but may be\nadjusted for most languages\u003c/em\u003e\n\n\n## \u003ca name=\"installation\"\u003eInstallation\u003c/a\u003e\n\n\n### [Package Control](https://sublime.wbond.net/)\n\nAfter [Package Control installation](https://sublime.wbond.net/installation), restart Sublime Text. Use the Command Palette \u003ckbd\u003eCmd\u003c/kbd\u003e+\u003ckbd\u003eShift\u003c/kbd\u003e+\u003ckbd\u003eP\u003c/kbd\u003e (OS X) or \u003ckbd\u003eCtrl\u003c/kbd\u003e+\u003ckbd\u003eShift\u003c/kbd\u003e+\u003ckbd\u003eP\u003c/kbd\u003e (Linux/Windows) and search for *Package Control: Install Package*. Wait until Package Control downloaded the latest package list and search for *FuzzyFilePath*.\n\n\n### [github](https://github.com/sagold/FuzzyFilePath.git)\n\nin `\u003cSublimeConfig\u003e/Packages/` call: `git clone https://github.com/sagold/FuzzyFilePath.git`\n\n__Sublime Text 2__\n\nin `\u003cSublimeConfig\u003e/Packages/FuzzyFilePath/` switch to Sublime Text 2 Branch with: `git checkout st2`\n\nAttention: Sublime Text 2 will no longer be supported.\n\n\n\n## \u003ca name=\"usage\"\u003eUsage\u003c/a\u003e\n\n**Filepaths will be suggested if there is a matching\n[trigger](https://github.com/sagold/FuzzyFilePath/wiki/Settings#trigger) for the current context** and its property\n_auto_ is set to _true_. For a matching [trigger](https://github.com/sagold/FuzzyFilePath/wiki/Settings#trigger),\nfilepath completions may be forced (ignoring _auto_ property) by the following shorcuts:\n\n- \u003ckbd\u003eCtrl\u003c/kbd\u003e+\u003ckbd\u003eAlt\u003c/kbd\u003e+\u003ckbd\u003eSpace\u003c/kbd\u003e inserts filepaths relative, overriding possible settings\n- \u003ckbd\u003eCtrl\u003c/kbd\u003e+\u003ckbd\u003eShift\u003c/kbd\u003e+\u003ckbd\u003eSpace\u003c/kbd\u003e inserts filepaths absolute, overriding possible settings\n\nThe current string may modify the suggested filepaths by the following rules:\n\n- `word` suggests all matching files by the type (relative or absolute) as specified in the matched rule\n- `./` suggests matching files within the current directory and inserts selection relative\n- `../` suggests all matching files and inserts selection relative\n- `/folder` suggests all matching files and insert selection absolute\n\nFuzzyFilePath is disabled for single files or files outside the opened folder.\n\n\n### Open File\n\nUse \u003ckbd\u003eAlt\u003c/kbd\u003e+\u003ckbd\u003eEnter\u003c/kbd\u003e to open the file under cursor\n\n\n### Configure Completion Panel\n\nEnsure you have [autocompletion activated for Sublime](https://www.granneman.com/webdev/editors/sublime-text/top-features-of-sublime-text/auto-completion-in-sublime-text/). In those cases, where the autocompletion panel is still\nnot opened (for any type of completions), you may extend `auto_complete_triggers` to add special rules for the\ncompletion panel to show up. i.e. enabling autocompletion for latex `\\input{\"path/to/asset\"}`, you could add:\n\n```json\n\"auto_complete_triggers\":\n[\n\t{\n\t\t\"characters\": \"abcdefghijklmnopqrstuvwxyz\",\n\t\t\"selector\": \"text.tex.latex\"\n\t}\n]\n```\n\nor enabling html completion for `\u003cscript src=\"path/to/script\"\u003e`\n\n```json\n\"auto_complete_triggers\":\n[\n\t{\n\t\t\"characters\": \"abcdefghijklmnopqrstuvwxyz\",\n\t\t\"selector\": \"string.quoted.double.html\"\n\t}\n]\n```\n\n\n### Special Characters\n\nIf your projects contains filenames with special characters, consider modifying Sublime Texts `word_separators`.\n\ni.e. in AngularJs filenames may start with `$`. In _Sublime Text | Preferences | Settings - User_ redeclare word\nseparators, removing `$`:\n```js\n\t\"word_separators\": \"./\\\\()\\\"'-:,.;\u003c\u003e~!@#%^\u0026*|+=[]{}`~?\"\n```\n\n\n## Customization\n\nFor further details about troubleshooting, customization, settings and keybindings please\n[refer to the Wiki](https://github.com/sagold/FuzzyFilePath/wiki)\n\nTrying to integrate other languages? See the\n[auto complete Python package tutorial](https://github.com/sagold/FuzzyFilePath/wiki/Tutorial:-Add-support-for-python-packages)\n\n\n#### Related Plugins\n\n##### [AutoFileName](https://github.com/BoundInCode/AutoFileName)\n\n- uses file discovery based on current directory instead of fuzzy search\n- adds properties for images in autocompletion description\n\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsagold%2FFuzzyFilePath","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsagold%2FFuzzyFilePath","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsagold%2FFuzzyFilePath/lists"}