inkandswitch / vscode-hypermerge

A VSCode plugin to edit Hypermerge documents
28 stars 3 forks source link

Open documents imported by the user automatically #22

Closed pvh closed 5 years ago

pvh commented 5 years ago

Don't make them find it in the list of documents and open it after. We should also focus it in the browser.

mjtognetti commented 5 years ago

Taking a stab at this. Currently hitting a race where the document opens in VS Code before the hm doc is fully loaded. Result is the document renders as {} in the editor and (No /title) in the tree viewer, and then gets stuck and doesn't load actual contents.

Other times this works fine - even if it initially renders as {}.

mjtognetti commented 5 years ago

Implemented in master (minus what looks like a race)