In a multi-root workspace, folders are mounted by their names into the VFS with paths such as /workspaces/foo. When names are duplicated, the current implementation prioritizes the last one, which may be confusing.
I propose the following way of disambiguation: For each name that is not unique, add a hash suffix computed from its URI using VS Code's URI hash function, adding a serial number if still conflict. This should be opaque to the API consumer as the conversion happens in the URI converter created with createUriConverters.
In a multi-root workspace, folders are mounted by their names into the VFS with paths such as
/workspaces/foo. When names are duplicated, the current implementation prioritizes the last one, which may be confusing.I propose the following way of disambiguation: For each name that is not unique, add a hash suffix computed from its URI using VS Code's URI hash function, adding a serial number if still conflict. This should be opaque to the API consumer as the conversion happens in the URI converter created with
createUriConverters.