AMD dependencies expressed via relative path



After playing few hours with tern demo and tern server I still have no idea how to work in the following case:

Project contains the following AMD modules and its structure structure is

web: main.js require formatter.js, util.js via define(["./utils/util","./formatters/formatter"], function(util,formatter) …
|_ utils: util.js require formatter.js via define(["…/formatters/formatter"], function(util,formatter) …
|_ formatters: formatter.js

How to pass formatter file once when I query completion for formatter in main.js and util.js subsequently. The most obvious solution is to use full workspace path as module name but I can’t find that tern maps relative dependency path to full path and didn’t find any means to do it.Maybe requirejs plugin provides such (undocumented) functionality?