Sublime Forum

Build 3114 – Goto Symbol for RequireJS/AMD JavaScript module

#1

Since the update to build 3114, “GoTo Symbol…” is not working for classes, methods, or variables in RequireJS modules.

Below is an example:

define(['jquery'], function ($) {

  var something = {};

  class HotDog {
    constructor() {}
  }

  function util() {}

});
0 Likes

#2

This appears to be an issue with the Babel package and build 3114 (introduced with the JavaScript syntax changes in dev build 3103). There is a GitHub issue related to this issue on the babel-sublime repo.

My apologies for raising the issue here without fully testing.

0 Likes