Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.
This repository was archived by the owner on Sep 6, 2021. It is now read-only.

JS code hints aren't picking up new items added to exports #4991

Description

@njx
  1. Create a new empty project
  2. Create a file called MyModule.js containing:
define(function (require, exports, module) {
    function something() {
    }
});
  1. Create another file called MyCaller.js containing:
define(function (require, exports, module) {
    var MyModule = require("MyModule");
});
  1. In MyCaller, below the var statement, type MyModule. - nothing is hinted (correct)
  2. Switch back to MyModule.js and add exports.something = something below the function
  3. Save MyModule.js
  4. Switch back to MyCaller and bring up code hints after MyModule.

Result: Still no hints. If you reload Brackets, you'll get the proper hint list (something).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions