New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Browse themes to install in the color theme picker #136371
Conversation
@sandy081 FYI the changes to src/vs/workbench/services/extensionResourceLoader/electron-sandbox/extensionResourceLoaderService.ts as discussed a while ago. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just reviewed changes in extensionResourceLoadedService
. Because, I think I am not an expert in other files. Otherwise, please let me know if you want feedback in particular.
private _getExtensionResourceAuthority(uri: URI): string | undefined { | ||
const index = uri.authority.indexOf('.'); | ||
return index !== -1 ? uri.authority.substring(index + 1) : undefined; | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we somehow reuse this in both services (browser & electron-sandbox) versions, instead of duplicating?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes. I would make a proposal for that in a follow-up PR, if that's ok. I think it's probably best done in a abstract base class for the ExtensionResourceLoaderService
Thanks, that's perfect (and the intent) |
No description provided.