Closed ghost closed 10 years ago
If you are referring to the options to filter task based on regular expressions and support for gruntfiles written in typescript, that version was a test and it has not yet been released on the visual studio gallery as I still have a bug to fix before releasing.
It should be available tomorrow.
It has been published on the visual studio gallery so you can just update from there.
Hi Bjornej,
What about support for gruntfiles written in coffee?
It works the same as for typescript. If you click on a gruntfile.coffee it searchs for gruntfile.js in the same directory and reads that if available
I don't have a gruntfile.js. Grunt works directly against the .coffee without requiring compilation first. When I right-click gruntfile.coffee in VS, I get a Grunt menu item that says "Grunt: Cannot parse Gruntfile". Can you add the ability to use the .coffee version directly?
Sorry, I tought that using grunt with coffescript worked like typescript, compiling the file to js and using that with grunt.
Currently GruntLauncher cannot work with coffescript files as it's only able to parse javascript. I can look at the problem but I'll have too find a way to parse coffeescript in C# and it will take some research.
I tried to implement the code to parse a coffeescript file but it's currently too difficult.
An alternative solution would be to simply execute grunt and recover the parsed options but to achieve this I need to do a major rewrite.
If you are okay with this I'll close this issue and you can open a more specific one for the ability to read .coffee files. When the new version is ready I'll notify you so you can try it.
I installed the extension via "Extensions and Updates..." wizard and it shows as being active, but I don't see anything either under Tools > Options, or when I right-click my GruntFile.coffee (I do see a Grunt option in the context menu if I compile the .coffee to .js first).
I am using: Microsoft Visual Studio Ultimate 2012 Version 11.0.61030.00 Update 4 Microsoft .NET Framework Version 4.5.50938