Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
Add features based on file paths in the title and description #4270
base: master
Are you sure you want to change the base?
Add features based on file paths in the title and description #4270
Changes from all commits
9adba3f
4a43181
bdbf73d
9ce9d76
802c9bd
165e68a
49601eb
9166307
8250977
d1eb019
f0f1118
fad7dae
fdd6123
82a038a
bfd6334
5f4ec72
1f3921b
0cf2482
deadc18
a3f0ede
a96a1e2
176079c
19a289c
4fd1f04
0d8d9dd
c28ad97
24a5375
2bcfb18
9bed4a1
e76c0d0
1c00a10
f2a9d39
b677ccb
70f72f5
836d42d
d6f8002
e11be5b
38432cf
9373c0b
2022eb4
64e5c3b
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why don't we focus only on code-related extensions? Is this improving the results?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you elaborate on code-related extensions? I'm essentially extracting any instance of a file path in the title or description.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What value do extensions from
mime-types
add over using extensions fromlexers
only?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm a bit skeptical about adding a non-actively maintained package.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I understand your point, but in this case I'm only using the library for a list of public suffixes. If we want to avoid using a non-actively maintained package, we could also hard-code it, but I don't think that is any better.