Skip to content

include/exclude files by glob #236

Description

@fredcallaway

It would be very useful to be able to restrict the search/replace to certain filetypes. For example, say we want to switch to space indentation in our python files, but not javascript. ripgrep has a very handy --glob flag for this, e.g.

ambr --regex '\t' '    ' --glob '*.py'

Could amber support something like this?

Activity

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions