requirements icon indicating copy to clipboard operation
requirements copied to clipboard

txt file detected

Open cnfree0355 opened this issue 5 years ago • 4 comments

When using this plugin, not only the requirements.txt but also that the file with txt suffix will be detected.

cnfree0355 avatar Nov 07 '19 09:11 cnfree0355

I confirm. All *.txt files are affected.

SLRover avatar Nov 07 '19 11:11 SLRover

Will be fixed ~~in version 2019.6.1~~ sometime

meanmail avatar Nov 16 '19 19:11 meanmail

You can go to File -> File Properties -> Associate With File Type -> Text and then right-click on the file and choose Mark as Plain Text

retnikt avatar May 31 '20 15:05 retnikt

This is because *.txt is listed as a pattern for this plugins filetype:

https://github.com/meanmail-dev/requirements/blob/d3df730f36c367e7f5d0378f2ea047dc61370684/src/main/resources/META-INF/plugin.xml#L19

Removing this pattern, or replacing it with just requirements.txt should resolve the issue for new installs. Existing installs can remove *.txt manually.

G-Rath avatar Sep 12 '20 23:09 G-Rath