How to open peek window in vscode from a program

Viewed 657

I'm writing an extension for vscode, in typescript.

In the active editor, at a particular position, I want to open a peek window to display the content of a particular file. Like this one:

enter image description here

But I can't figure out how to do it. Is it possible? And how?

1 Answers
Related