vscodium icon indicating copy to clipboard operation
vscodium copied to clipboard

generator-codium tooling to create extensions in vscodium itself

Open ar-daniel opened this issue 1 year ago • 4 comments

Describe the feature Can we have generator-codium much like generator-code for creating extensions with vscodium itself ? and be able upload to https://open-vsx.org/ repository also ? ref https://github.com/Microsoft/vscode-generator-code the npm repo used to package and create 'generator-code' a 'generator-codium' of the above repo would be nice also associated yeoman generator for it ( see below )

Please confirm that this feature is VSCodium-specific yes, feature is available with vscode but not with codium

general procedure to work with 'generator-code' involves installing yeoman as well when triggering codium with 'yo throws following error

$ yo codium

Error codium 

You don't seem to have a generator with the name “generator-codium” installed.
But help is on the way:

You can see available generators via npm search yeoman-generator or via http://yeoman.io/generators/. 
Install them with npm install generator-codium.

To see all your installed generators run yo --generators. Adding the --help option will also show subgenerators. 

If yo cannot find the generator, run yo doctor to troubleshoot your system.

Please confirm that the issue/resolution isn't already documented I guess not as this is a feature request.

Expected behavior To be able create extensions in vscodium itself and tooling like generator-codium when initiated should launch vscodium for extension creation instead of vscode

Desktop (please complete the following information):

  • OS: Linux mint VERSION="21.3 (Virginia)
  • Architecture : x64
  • Version : 1.96.2
  • App Manager: apt ( installed via deb package )
  • Sandboxed : no

ar-daniel avatar Jan 06 '25 17:01 ar-daniel

I use my own tooling tailored for me (https://github.com/daiyam/artifact-configs/tree/master/packages/vsx-ts) and not necessarily up to date.

The generator for Visual Studio Code should be fine for VSCodium. You just have to use a tool like https://github.com/HaaLeo/publish-vscode-extension to upload to OpenVSX

daiyam avatar Jan 06 '25 17:01 daiyam

Publishing is actually the next step (secondary), What I intended is to create an extension with/ using vscodium itself. and as I see the solution you mentioned to create extension uses custom made program https://github.com/zokugun/artifact which seems last updated 3 years ago. a tooling that is created by vscode team itself would be better as any issues with it is fixed by them in due time modifying this official tooling to work with vscodium would be ideal and its also will get updates from the parent repo.

The generator for Visual Studio Code should be fine for VSCodium.

so could we adjust it and create a generator-codium for vscodium ?

as a side note, the label 'bug' was automatically added. couldn\t change it, and there was only a bug template available to write any issue

ar-daniel avatar Jan 06 '25 20:01 ar-daniel

so could we adjust it and create a generator-codium for vscodium ?

Yes, there is no difference on how the extensions are created/developed.

as a side note, the label 'bug' was automatically added. couldn\t change it, and there was only a bug template available to write any issue

There a link under the list (yep only 1 item), it's a GitHub design...

Don’t see your issue here? [Open a blank issue.](https://github.com/VSCodium/vscodium/issues/new)

daiyam avatar Jan 06 '25 20:01 daiyam

Can I expect the VSCodium team to fork and adjust the code necessary in https://github.com/Microsoft/vscode-generator-code to work with VSCodium and upload to npmjs.com as modified npm package ( like generator-codium similar to package https://www.npmjs.com/package/generator-code ) to be readily installable via npm command and work with VSCodium (much like VSCodium itself is readily available to install and run )

Is this something the VSCodium team will be willing do it !? please do consider, it would be of great help to the community.

ar-daniel avatar Feb 23 '25 08:02 ar-daniel