Binary-Plist icon indicating copy to clipboard operation
Binary-Plist copied to clipboard

Not invoking extension when file opened by association

Open RogerThiede opened this issue 5 years ago • 1 comments

The Binary-Plist extension is not used or properly activated when Visual Studio Code application is executed to open a specific file. Open Visual Studio Code via file association does not appear to invoke this extension when it should be invoked.

Works as expected:

  1. Execute Visual Studio Code
  2. Menu File->Open->Select binary .plist file
  3. Two tabs are opened, one in binary, and one in XML

Does not work as expected:

  1. Close Visual Studio Code if it is already running
  2. Associate .plist files with Visual Studio Code if not already done
  3. Double Click on a binary .plist file to open it
  4. Visual Studio Code starts with one tab opened, showing the file in binary form. Expected outcome: Two tabs are opened

RogerThiede avatar Dec 19 '20 03:12 RogerThiede

Opening a property list file using either method does not open an additional tab in most cases before clicking the "Do you want to open it anyway?". What you are describing could be possible if the XML tab was closed and Visual Studio Code was reopened with the binary file still open.

Can you provide a video of the problematic behavior?

dnicolson avatar Dec 19 '20 13:12 dnicolson