Open McSodbrenner opened 2 years ago
Upstream issue created:
The same is true for the Markdown Preview. There tab.input
only contains the corresponding viewType
, but no information about which file the preview belongs to. So you cannot show the tab with vscode.open
nor with vscode.window.showTextDocument
.
Why not just list all these special tabs like settings/plugin/shortcut apart, for example below other tabs or above? In current version they just don't show up, if any of them opened the plugin will crash(reference of input, which is undefined) I'm glad to implement this feature and #19 too in my spare time
The API does not return a valid "input" value for this tab. The corresponding upstream issue should be linked here.