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

python - mat is not a numerical tuple : openCV error -

c# - MSAA finds controls UI Automation doesn't -

wordpress - .htaccess: RewriteRule: bad flag delimiters -