microsoft / winget-dsc

MIT License
16 stars 9 forks source link

Support VSCode Insiders - Microsoft.VSCode.Dsc #59

Open Gijsreyn opened 2 weeks ago

Gijsreyn commented 2 weeks ago

Description of the new feature / enhancement

With the new Microsoft.VSCode.Dsc released 4 days ago, I was curious if VSCode Insiders will also be able to be configured using this resource.

Proposed technical implementation details

No response

denelon commented 1 week ago

@Gijsreyn thanks for pointing this out. We'll add support for the insider release.

Gijsreyn commented 1 week ago

@denelon Added a pull request. I had fiddled around with adding some sort of switch on the VSCodeExtension class, but noticed my class-based programming as sharp is I would have thought.

Anyway, having it as seperate class, always keeps a clear distinction between the two. I have moved away the function call to determine the path. It's called now when the methods are invoked. I included some Pester test based on the references from Microsoft.Windows.Developer module.

If I have some time left, I might also include the part for macOS/Linux.