IgnoreFiles
IgnoreFiles copied to clipboard
Extension no longer working with Visual Studio 2019 (16.5.2 or later)
Installed product versions
- Visual Studio: 2019 (version 16.5.4)
- This extension: 1.2.77
Description
When this extension is installed, one can no longer edit .gitignore files. One also cannot open .gitignore files. They get and error when opening that states: “gitignore file name or extension cannot be associated with multiple content types.”
Steps to recreate
- Update Visual Studio 2019 to 16.5.2 or later (I have 16.5.4, but issue is reported to Microsoft starting with 16.5.2).
- Try to edit .gitignore (Team Explorer, Settings, Repository Settings, edit link). Nothing opens
- Try to open .gitignore from file menu. One gets above error.
- Uninstall extension. Try steps 2 and 3 again. They work.
Current behavior
The extension is not allowing the opening of the .gitignore file.
Expected behavior
Allow one to open the .gitignore file either by the Team Explorer, Repository Settings panel or through File-Open menu.
Cross Reference: Microsoft Developer Community issue: https://developercommunity.visualstudio.com/content/problem/981158/unable-to-open-gitignore-files-from-solution-explo.html
Same problem with .tfignore. VS 16.5.3
More info:
- I'm using .ignore extension, 1.2.77
- In the output window, the message is:
Asian characters
TF10187: Could not open document d:...path...tfignore
- In Notepad and/or VS Code, the file opens without a problem.
- Also tried saving as ascii, same result
Tried 8953.
- didn't find any .cache,
- I'm not using TextMate
- I did find a ignore folder but not much in there.
- ".vs\Extensions\ignore\syntaxes\Gitignore.tmLanguage" content looks good.
Will be trying updating VS to latest.
Current behavior
The extension is not allowing the opening of the .gitignore file.
I am also seeing this behavior.
Confirmed, extension no longer works. unfortunately no longer useful.
Same here. Uninstalling.
It is working for me in Visual Studio 2019 16.8.5 for '.gitignore' files. I did not check with previous versions between 16.5.2 and 16.8.5. A bit slow, but I never had it working before so can't tell if that's to be expected (60+ project solution)