diku-dk / futhark-vscode

VS Code extension for Futhark
https://marketplace.visualstudio.com/items?itemName=DIKU.futhark-vscode
ISC License
12 stars 2 forks source link

Cant find Futhark on Marketplace #5

Open l8l opened 10 months ago

l8l commented 10 months ago

I was not able to find Futhark when browsing VSCODE extensions within the editor. Downloading the extension as a VSXI file from https://marketplace.visualstudio.com/items?itemName=DIKU.futhark-vscode and then installing it worked however. Not sure why but would be important to fix to make it easier for newcomers.

screenshot

athas commented 10 months ago

It shows up for me if I search for "Futhark".

image

l8l commented 10 months ago

Thanks for the fast reply. Okay, I found the problem. I installed the FOSS version of Vscode (which is the standard provided by the package manager of my distro) and it retrieves packages from the Open VSX Registry instead of the microsoft marketplace (because some packages on the marketplace are proprietary). Not sure if it is a hassle for you to upload and maintain your package to the Open VSX registry as well? In case it is inconvenient, I guess it is not strictly necessary, and one could instead provide a link to the .VSIX file in the github readme or something but if it is not a lot of additional work, it would be nice.

athas commented 10 months ago

I will not do it myself, because I don't understand or use any of this infrastructure, but I would accept a PR or instructions.

l8l commented 10 months ago

Okay, I understand that. Here are instructions on how to publish the extension. It seems to boil down to a 1-time-effort to create an eclipse account and an open-vsx access token and after that, one can simply publish a vsix file via npx ovsx publish <file> -p <token> (or if one needs to build from source then npx ovsx publish -p <token>, which could perhaps be automated and executed whenever the extension is published to marketplace. But yeah, I totally understand if that registration process is a bit too cumbersome.