Closed peterbay closed 8 months ago
If files from different directories have the same name, other files could not be opened.
This PR has multiple scopes
Regarding opening file with the same name, the same issue is resolved in PR https://github.com/urfdvw/CircuitPython-online-IDE2/pull/15 which solved the issue in another way.
Regarding opening feature tabs from IDE head only once, will keep https://github.com/urfdvw/CircuitPython-online-IDE2/pull/2 open. However, that might also need discussions and redesigning.
With that said, this PR can be closed
Thanks for the contribution!
Check if the tab with opening file is already open: If yes, then switch to the tab. If not, then open a new tab.