github1s icon indicating copy to clipboard operation
github1s copied to clipboard

Is there any support of defining extensions to use per repo?

Open jonascarlbaum opened this issue 4 years ago • 4 comments

Is there any support of defining extensions to use per repo? Like the .vscode/extensions.json and the recommendations part?

I showed this by changing the url of a repo for someone, changing github to github1s, and the reaction was the same as for me, really cool, but he wanted the go to implementation in c#-interface-methods, and I guess that's only adding an c#-extension, but does those things work on this online version of vscode?

jonascarlbaum avatar Feb 10 '21 08:02 jonascarlbaum

In this case I think we can push some useful extensions that has built for web to the repositories, and then offer an switch in settings.

conwnet avatar Feb 10 '21 08:02 conwnet

Maybe scan the repo for files - and enable some extensions based on the filenames (file extensions).

Niek avatar Feb 10 '21 08:02 Niek

There is api to list repo’s language https://docs.github.com/en/rest/reference/repos#list-repository-languages

xcv58 avatar Feb 10 '21 09:02 xcv58

Cool, loading extensions based on presets for the languages returned from that api sounds really neat... 👍😉

jonascarlbaum avatar Feb 10 '21 16:02 jonascarlbaum