You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is a pain to specify loading of pattern editor definitions every time a file is opened. https://docs.werwolv.net/pattern-language/core-language/preprocessor
Automatic loading with mimeType exists, but it is not user friendly because it requires mimeType to be set in the system.
I would like the ability to match by file name.
example
#pragma FILENAME *.any.bin
How will this feature be useful to you and others?
Improves the efficiency of parsing binary files that do not have a mimeType registered.
I used to parse 100 binary files with the same structure, and it was a pain to specify the pattern 100 times.
Moreover, I had to specify the pattern again when I reloaded the file.
Request Type
I can provide a PoC for this feature or am willing to work on it myself and submit a PR
Additional context?
No response
The text was updated successfully, but these errors were encountered:
What feature would you like to see?
It is a pain to specify loading of pattern editor definitions every time a file is opened.
https://docs.werwolv.net/pattern-language/core-language/preprocessor
Automatic loading with mimeType exists, but it is not user friendly because it requires mimeType to be set in the system.
I would like the ability to match by file name.
example
How will this feature be useful to you and others?
Improves the efficiency of parsing binary files that do not have a mimeType registered.
I used to parse 100 binary files with the same structure, and it was a pain to specify the pattern 100 times.
Moreover, I had to specify the pattern again when I reloaded the file.
Request Type
Additional context?
No response
The text was updated successfully, but these errors were encountered: