reesemclean/blueprint

Doesn't support Windows paths

Closed this issue · 9 comments

Your extension uses the foward slash for the linux/unix based OS's, but for Windows it can't ever find the path to the blueprint-templates folder:
No Templates found in C:\users\Nate\Documents\Work\Powershell/blueprint-templates

Yep you are totally right, we have hardcoded for posix-like paths. I think I have that all cleaned up but since I don't have windows won't be able to really test it out myself.

You can either test it out by using the commit referenced above or we should have a new version published to the marketplace where you can test it out soon.

Would you be able to compile this to a vsix file for me? I have never compiled something for visual studio code before

So I uninstalled the current version and installed this version via VSIX install and tried creating a new template. Here is the error that I got
blueprintissue

Okay I missed one place. If you don't mind give it one more try:

blueprint-1.3.0.vsix.zip

If this doesn't work I will try to find a windows computer I can debug on.

That worked. You're the man! Thanks! BTW it works with powershell scripts if you want to add that as a supported language

Here are some of my powershell examples. I can't guarantee that they are formatted to best practice or anything though.
powershell_examples.zip

A new version has been released with Windows support. Thanks again!