-
-
Notifications
You must be signed in to change notification settings - Fork 577
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Escape periods in "projectile-globally-ignored-directories" #1762
Escape periods in "projectile-globally-ignored-directories" #1762
Conversation
The unescaped periods were causing unexpected directories to be ignored. E.g. for the following go project, the configitem directory was ignored because it matched the regex ".git": $ find pkg -type f pkg/metrics/argus.go pkg/secrets/secrets.go pkg/dynamo/dynamo.go pkg/utils/types.go pkg/utils/utils.go pkg/utils/errors.go pkg/configitem/configitem.go pkg/api/handlers.go pkg/api/middleware.go
Can you elaborate on this a bit? I was under the impression the items on this list were used for literal matches, but if they are used as regular expressions we can make them more specific. |
@bbatsov Happy to! The items on the list end up getting passed to Which in turn passes the list to a Now confusingly
Note any non-nil output from Also the comments on It's probably worth adding start and end anchors to |
Agreed. |
…` regular expressions
Done |
Thanks! |
The unescaped periods were causing unexpected directories to be ignored.
E.g. for the following go project, the configitem directory was ignored because it matched the regex ".git":
Replace this placeholder text with a summary of the changes in your PR.
The more detailed you are, the better.
Before submitting a PR make sure the following things have been done (and denote this
by checking the relevant checkboxes):
eldev test
)M-x checkdoc
warningsThanks!