sagold / FuzzyFilePath

Autocomplete relative or absolute file paths in Sublime Text project folder
Do What The F*ck You Want To Public License
154 stars 14 forks source link

Not detecting new files #54

Open davidalejandroaguilar opened 6 years ago

davidalejandroaguilar commented 6 years ago

Newly created files are not detected automatically, I have to close and re-open Sublime 3, is there something I can do to fix this?

These are my custom settings:

{
  "additional_scopes": [
    {
      // es6 import from/import "*"
      "scope": "string.quoted.js",

      "auto": true,
      "relative": true,
      "base_directory": false,
      "prefix": ["from", "import"],
      "extensions": ["js", "html", "scss", "css", "png", "jpg"],
      "replace_on_insert": [
        ["\\.js$", ""],
        ["([^.])\\/index$", "\\1"],
        ["^([\\/.]+)?\\/(bower_components|node_modules)\\/", ""]
      ]
    },
  ]
}

And Sublime 3 settings:


{
    "auto_complete": true,
    "auto_complete_commit_on_tab": true,
    "auto_complete_triggers":
    [
        {
            "characters": "abcdefghijklmnopqrstuvwxyz",
            "selector": "string.quoted.js"
        }
    ],
    "color_scheme": "Packages/Oceanic Next Color Scheme/Oceanic Next.tmTheme",
    "dpi_scale": 1.4,
    "draw_centered": true,
    "ensure_newline_at_eof_on_save": true,
    "folder_exclude_patterns":
    [
        ".bundle",
        ".git",
        ".sass-cache",
        "coverage",
        "tmp"
    ],
    "font_options":
    [
        "directwrite",
        "gray_antialias",
        "subpixel_antialias"
    ],
    "font_size": 10,
    "highlight_modified_tabs": true,
    "ignored_packages":
    [
        "JavaScriptEnhancements",
        "SublimeCodeIntel",
        "Vintage"
    ],
    "material_theme_small_statusbar": true,
    "rulers":
    [
        79
    ],
    "tab_size": 2,
    "theme": "Adaptive.sublime-theme",
    "translate_tabs_to_spaces": true,
    "trim_trailing_white_space_on_save": true
}
`` 
sagold commented 5 years ago

Hi David.

This is an issue with sublime itself. I am not aware if things have improved since 2016: https://github.com/sagold/FuzzyFilePath/issues/27#issuecomment-192836509

For this reason a command "FuzzyFilePath: rebuild cache" can be found in the command list (shift+super+p)

davidalejandroaguilar commented 5 years ago

Great to know about FuzzyFilePath: rebuild cache, thanks @sagold !