IgnoreFiles icon indicating copy to clipboard operation
IgnoreFiles copied to clipboard

Extension no longer working with Visual Studio 2019 (16.5.2 or later)

Open thcase opened this issue 4 years ago • 5 comments

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

  1. 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).
  2. Try to edit .gitignore (Team Explorer, Settings, Repository Settings, edit link). Nothing opens
  3. Try to open .gitignore from file menu. One gets above error.
  4. 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

thcase avatar Apr 30 '20 15:04 thcase

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.

patware avatar May 06 '20 11:05 patware

Current behavior

The extension is not allowing the opening of the .gitignore file.

I am also seeing this behavior.

adamjstone avatar May 06 '20 13:05 adamjstone

Confirmed, extension no longer works. unfortunately no longer useful.

metablaster avatar May 08 '20 17:05 metablaster

Same here. Uninstalling.

wbsimms avatar May 18 '20 16:05 wbsimms

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)

BroMarduk avatar Feb 15 '21 20:02 BroMarduk