code: function requestJumpToDef(session, offset) {
                  var response = ScopeManager.requestJumptoDef(session, session.editor.document, offset);
  
                  if (response.hasOwnProperty("promise")) {
                      response.promise.done(handleJumpResponse).fail(function () {
                          result.reject();
                      });
                  }
              }
docs: Make a jump-to-def request based on the session and offset passed in.
  @param {Session} session - the session
  @param {number} offset - the offset of where to jump from