How to prevent Visual Studio Code from launching a PDF viewer when i want to edit the PDF code?

Is there a way to get Visual Studio Code show the actual code of a PDF rather than opening a PDF viewer?

When I open a PDF file in Visual Studio Code (macOS), it launches some PDF viewer with the WYSIWYG version of the file, and I find no menu whatsoever to show me the actual PDF code.

You know, PDF code like,

7 0 obj
<</ColorSpace/DeviceRGB/Subtype/Image/Height 152/Filter/DCTDecode/Type/XObject/Width 304/BitsPerComponent 8/Length 24109>>stream

I may have installed an extension that does this WYSIWYG trick, but I don’t even see displayed the name of any active extension nor a menu to turn it off or switch to the code.

Is that the default behavior? If not, how can I identify what causes this behavior, and how to control it?

Read more here: Source link