Open lewisl9029 opened 2 years ago
Hey @lewisl9029! Thanks for the issue!
Currently, we don't have an extension marketplace. Since we're early in the process we looked at what was most popular and was most requested by users and manually loaded those extensions. We're definitely interested in pursuing a marketplace of sorts for extensions, but don't have plans in that direction yet.
In regards, to running extensions for development purposes in CodeFlow - you can definitely do that!
Here is a repo where I actually sideload and symlink-ed a very basic extension: https://pr.new/HeyGarrison/codeflow-extension
The main logic behind the extension's setup is that all of the extensions are located in the .codeflow
folder. See the symlink command here: https://github.com/HeyGarrison/codeflow-extension/blob/b30a2a700e14e9827ec8f37c0d40901bc82eb09a/package.json#L71
I'm not super sure if your extension can be developed in StackBlitz, but this should at least get you going in the right direction.
@HeyGarrison thank you so much for the example repo! Definitely puts me on the right track. Will explore further and get back to you if I run into any further blockers.
hi @HeyGarrison! i'm looking to sideload an extension too. i've created a working vscode extension, and now trying to sideload it in codeflow.
my plan was to checkout the git repo of the extension, install & build it directly in the .codeflow/extensions
folder. it works fine but the IDE doesn't seem to pick it.
how do you force-sideload the new extension? is there some refresh command i dont see?
Hi @y-nk ,
Once you've symlinked your extension, you can go to the extension panel, click on the refresh icon (see screenshot). This will allow you to look for your extension and then you can enable it.
Hope this helps!
@KwintenP after a couple of debugging it worked (mostly the extensionKind needed to be set, and the engine.vscode should be 1.57.0 so that codeflow allows installation)
sadly now i'm stuck again because my extension uses a too recent version of git (2.37 expected, 2.32.0 installed) so it breaks at activation (i should probably handle that in some way later on tho 🤔)
Oh thats awesome! Great work!
The git cli we use is a custom written one. So it doesn't use the native one you have on local. Which also means that we can't just update the version. Are you actively checking the version in your extension? Are there any specific commands that you use that you'd need to be available? If so, we could potentially look into providing them.
@KwintenP i think i could eventually write the same commands differently, but for the sake of being elegant i'm using git branch --contains
which seems to break in codeflow. since i can't pass this step i'm not sure of others, although it's the only one which seems rather "modern"
Describe the bug
I was excited to learn the new Codeflow beta supported extensions, since I was looking for an alternative to running Reflame projects using our VSCode extension in GitHub Codespaces, which is slow and prohibitively expensive for many.
However, when I tried to install the extension through the marketplace, it didn't come up in search. I tried a few more random extensions, and some of them also seemed to be missing. This leads me to believe there's an allowlist of some kind.
A few questions:
Link to the blitz that caused the error
https://stackblitz.com/~/github.com/reflame/example-just-react
Steps to reproduce
Expected behavior
Parity with Local
Screenshots
No response
Platform
Additional context
No response