Skip to content

omit extension? #53

Open
Open

Description

@ksloan

Is there a way to customize this plugin to omit the file extension?

Thanks!

Activity

  1. sagold commented on Nov 2, 2018

    @sagold
    Owner

    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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions