Setting the language property for the project
To set the scripting language for an entire project, open the
.metadata file for the project (located in the
meta folder for the project) in a text editor. Add the
language="js" property to the
Metadata tag. For example:
Setting the language property for class attributes, class events, and unit tests
language="js" property to the source code or by editing the
language property in the Properties view. You can set the
language property on class attributes, class events, and unit tests.
To set the language property for a class attribute, open a class in the Class editor. Select an attribute in the Attributes tab and set the
language property in the Properties view to
You can also use the
language property to set the attribute scripting language to
language property does not exist in the Properties view, or if the only value available is
You can also set the language property in:
- A unit test definition, in the Initializer tab, and for each individual test case in the Test Cases tab.
When creating a new library, you can specify the library language.
To create a new library, select File > New or press Alt+Shift+N. From the menu, select either Library or JS Library.
You cannot change the library language after it has been created.
You can identify the library language by the icon in NexJ Studio, as well as the suffix for the file name. Scheme library file names end with