I want to be able to open certain file extensions in a new tab, .mp3/.mp4 or possibly make a new pane renderer to run these files within editor, maybe a playlist and such features? Is this doable, simply by extensions? Where should I look into?
[original thread by Ivan Miskic]
@ungatz are you looking into creating a theia extension or are you thinking of developing and then using a vscode extension within theia? Just as a heads-up, the question has been similarly asked before: https://github.com/eclipse-theia/theia/issues/7219
From what I can see on the related question, Extension seems like a better option, the idea was to either build a renderer like settings/file-editor,image-viewer are, but for mp3. flac. and other extensions, basically to support any type of file to open within the Theia, I would definitely go in direction to extend it to a point to make a player if possible.
I am using Theia as my … UI for my whole userspace, so playing music would be ultimate finishing touch
@ungatz you are right that extensions will give you the most flexibility and control In theory it should be possible, you can likely create your own
.mp4 files), and from there decide on what you want to do. We currently have custom
OpenHandlers for images and markdown files if you’d like to take a look (as a starting point): https://github.com/eclipse-theia/theia/blob/500432b7ce052731918528820462eeccba85e2c4/packages/preview/src/browser/markdown/markdown-preview-handler.ts#L32
@vince-fugnitto Thank you for an awesome answer, I will look trough contribution guide on github, and see how far I can get into this, seems very interesting, exactly what I was looking for, blew my expectations !