Open ksloan opened 6 years ago
If you want to emit file-extensions on insert, you can follow this tutorial https://github.com/sagold/FuzzyFilePath/wiki/Tutorial:-Add-support-for-python-packages.
With the option replace_on_insert
you can add a list for regex replacements, after your filepath has been selected. For javascript extensions, this looks like
"replace_on_insert": [
["\\.js$", ""]
]
The complete array is found within the settings: https://github.com/sagold/FuzzyFilePath/blob/master/FuzzyFilePath.sublime-settings#L58
Is there a way to customize this plugin to omit the file extension?
Thanks!