sidthesloth92 / vsc_html5_boilerplate

This is a Visual Studio Code snippet extension for generating HTML 5 boilerplate code
https://marketplace.visualstudio.com/items?itemName=sidthesloth.html5-boilerplate
MIT License
46 stars 54 forks source link

Error when running HTML boiler plate in empty workspace #37

Open rjbcollege opened 3 years ago

rjbcollege commented 3 years ago

Am getting this error when I try to use this extension. Command 'create HTML boilerplate' resulted in an error (Running the contributed command: 'samplext.createbp' failed.)

Sadly it doesn't give me anything else to paste here but I'll describe it as best I can.

I have not used the extension before. Having installed it and tried to run it a few times I restarts VS Code, closed the folder, had therefore a blank workspace (which it says you need to have) and pressed Ctrl-Shift-P, started typing "create html boilerplate" - selected it from the list and immediately got the error as above.

Repeating it gets the same.

I am using VS Code version 1.55.2 and the extension is 1.1.3

Q ### 🕵🏼‍♂️ Is this a regression? A No Q A No idea, first time using this Q### 🔬 Minimal Reproduction

Q A Get empty workspace (I closed the folder to get that), run the command then "create html boilerplate" Q ### 🌍 Your Environment A Windows 8.1, VS Code 1.55.2, Extension 1.1.3

see above

🔥 Exception or Error or Screenshot

image

No code involved - blank workspace



MattHeffNT commented 2 years ago

hi there, this runs as a snippet rather than a command....so when you've installed the extension. create an HTML file....then start typing "html5-boilerplate". a little drop down flag should appear, select html5-boilerplate and it should populate it for you.

Hope that helps.

rjbcollege commented 2 years ago

I didn't either. However the answer is not to go anywhere near the commands. In your new blank document, type html. You'll get a little menu including html-5 and html boilerplate. I find the standard html-5 adequate.

Get Outlook for Androidhttps://aka.ms/AAb9ysg


From: isabelle boucher @.> Sent: Tuesday, January 4, 2022 1:52:33 PM To: sidthesloth92/vsc_html5_boilerplate @.> Cc: rjbcollege @.>; Author @.> Subject: Re: [sidthesloth92/vsc_html5_boilerplate] Error when running HTML boiler plate in empty workspace (#37)

Hi,

this is exactly my problem. Html5-Boilerplate is installed, but when I type "html5-boilerplate" in the commands, nothing appears in the drop down... I don't get it :(

— Reply to this email directly, view it on GitHubhttps://github.com/sidthesloth92/vsc_html5_boilerplate/issues/37#issuecomment-1004828979, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADIKW5RDOYRGZ24ZNWRXWWTUUL3SDANCNFSM43BSJJ4Q. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you authored the thread.Message ID: @.***>