Search code examples
autocompletemeteoradobe-brackets

Adobe Brackets editor with meteor autocomplete


Is there is a way to make meteor autocomplete in Adobe Brackets editor?


Solution

    • Install ternific plugin in File > Extention Manager
    • Download meteor.js file from https://github.com/slava/tern-meteor to tern's folder Brackets/extensions/user/ternific/tern/plugins
    • In your Meteor project create a file .tern-project or folder with the contents similar to:
          {
            "libs": [
              "browser",
              "jquery",
              "underscore"
            ],
            "loadEagerly": ["*.js", "*/*.js", "*/*/*.js", "*/*/*/*.js"],
            "dontLoad": [".meteor"],
            "plugins": {
              "meteor": {}
            }
          }
    

    or you can edit default .tern-project at Brackets/extensions/user/ternific/tern/