javascript - Code completion in RubyMine/Intellj IDEA for coffeescript global variables -


i trying separate coffeescript code several files. created global object share code between files(see below). unfortunately rubymine, using not understand such approach , not provide code completion. there workaround that?

code

// --- global.js --- // define root namespace if (typeof _ === "undefined") {     var _ = {}; }  # --- utils.coffee --- # sprockets requires #= require global  class _.myexception  # --- somecode.coffee --- #= require utils class someclass   f: ->     throw new _.myexception 


Comments

Popular posts from this blog

javascript - How do I find how many occurences are there of a highlighted string, and which occurence is it? -

javascript - How to synchronize the Three.js and HTML/SVG coordinate systems (especially w.r.t. the y-axis)? -

java - Reading data from multiple zip files and combining them to one -