tern-openui5
tern-openui5 brings autocomplete functionality for the OpenUI5 framework into your favorite code editor, powered by Tern
Demo
tern-openui5 used in combination with Atom, the hackable text editor:
Setup
-
Install Tern
-
Copy the openui5.js
file from this repository into the plugin
directory of your tern installation
-
Configure tern for OpenUI5 support for your project by creating a .tern-project
configuration file in the base directory of your project and add openui5
to the plugins. An example .tern-project
file could be:
{
"ecmaVersion": 5,
"libs": [
"browser",
"jquery"
],
"plugins": {
"openui5": {}
}
}
Installing Tern in Atom
Tern can be used in Atom by installing the atom-ternjs plugin.