Hi,
I use playwright to test my application, I open a simple text, and the tab selector is as follows
“shell-tab-code-editor-opener:file:///c%3A/Users/hp/AppData/Local/Temp/cloud-ws-93AtDa/sample.txt:1”
the difference is that the simple.txt use “c%3A” but my file use “c:”, why does this difference exist, I think the tab id is generated by Theia, it should be the same for every tab id.
because of this difference, I can not use the same method for both file formats
Can you share some code containing some more info on how you create the id of your widget custom widget? The tabbar id is simply generated from the widget id, see here.
Hi,
my vdm format in fact is a glsp diagram, so the widget id is created by the glsp manager. I debug and find that it uses uri.Tostring(true) which translates “c%3A” to “c:”.