VSCode pdf-editor extension

Viewed 5434

I would like to develop an extension to VSCode that would auto-detect *.pdf files (By PDF filename extension or by reading magic bytes)

The extension will then know the PDF file format and will allow the opening the "binary" pdf file and allow for simple text editing

What is the way in vs code to "auto-detect" file by types?

And, Once detected what is the proper way to open a binary file for editing purposes?

0 Answers
Related