allow caller to optionally provide a vscode.ViewColumn or {vscode.ViewColumn, vscode.preserveFocus} with command graphviz-interactive-preview.preview.beside. vscode.preserveFocus falls back to user settings unless overridden by the caller.
"openAutomatically" creates a new URI object. When revealing the graph for an already rendered .dot file the extension would open another render view because the lookup if the panel already exists fails as vscode.URI objects are not singletons (new vscode.Uri("hi") != new vscode.Uri("hi"). in order to fix this we now index vscode.Uri.toString() in the URI -> panelObject mapping. fixes https://github.com/tintinweb/vscode-interactive-graphviz/issues/131#issuecomment-1228644039
fixes #131
vscode.ViewColumn
or{vscode.ViewColumn, vscode.preserveFocus}
with commandgraphviz-interactive-preview.preview.beside
.vscode.preserveFocus
falls back to user settings unless overridden by the caller..dot
file the extension would open another render view because the lookup if the panel already exists fails asvscode.URI
objects are not singletons (new vscode.Uri("hi") != new vscode.Uri("hi")
. in order to fix this we now indexvscode.Uri.toString()
in theURI -> panelObject
mapping. fixes https://github.com/tintinweb/vscode-interactive-graphviz/issues/131#issuecomment-1228644039