Open ixje opened 2 years ago
_//Update as of 5/28/22- actually this issue is still open. The reason I thought I had this issue fixed was because I had changed my setting
"workbench.editor.showTabs": false
and this resulted in only one tab showing up at a time. However, this is true for all tabs, not just for wallet or contract. Therefore, the problem is still there. Will have to find another solution for this. //_
I removed the activation event from package.json which was triggering a wallet and/or contract being opened in a new window every time a user clicked on a wallet or contract on the side bar. Now a wallet/ contract opens up only once in the same window, so should be much less clutter. Should double check to make sure that this is what we want. See commit below:
https://github.com/ngdenterprise/neo3-visual-tracker/commit/4634306da8765a8610f28aace9b72bd639fd915d
Each click on a wallet or contract opens a new window without checking if the window was already open.![image](https://user-images.githubusercontent.com/6625537/157468159-8773090c-8de7-4e32-bf74-0ebb0ed55aa5.png)
The default file explorer of VSCode does not seem to open duplicate windows when clicking a file so this feels like deviating behaviour from the default.