madskristensen / JasmineSnippetPack

A Visual Studio extension
Other
3 stars 3 forks source link

added TS specific () => #2

Closed aligneddev closed 7 years ago

aligneddev commented 7 years ago

I want to be able to use the snippets in TypeScript and get the () => {, but still be able to get function() { when in JavaScript.

This is an incomplete PR, but I wanted to help get it moving forward. I don't know how the snippets work, so changing the folder names may have broken things and I don't know the paths to use to get the Snippets Manager in VS to pick up the TS specific snippets.

Hopefully this is more useful then if I had just created an issue. If not, I can abandon it and create an issue.

Thanks!

madskristensen commented 7 years ago

Thanks for the PR!!!!

Looks like there is a ghost reference in the .csproj. The error from the build server complains about a missing file Snippets\JasmineSnippetPack\afteEach.snippet