How to configure inline coffee script?
In my case, I have the ability to inline coffee-script directly into smarty templates like so:
<script type="text/coffeescript">
# coffee script code here
</script>
This code will be compiled into JS before the output is sent to the browser, of course (for those curious, I'm using my very own sacy here https://github.com/pilif/sacy).
How would I configure a language injection to coffee script for <script>-tags with type="text/coffeescript"?
This is what I've tried, but phpStorm still insists on treating everything between <script>-tags as JS:
Please sign in to leave a comment.