Customize Corticon.js Studio
- Last Updated: October 15, 2020
- 2 minute read
- Corticon.js
- Documentation
Corticon.js Studio provides a small set of properties to change its
default behavior. These properties are defined in the brms.properties file in the [CORTICON_WORK_DIR] folder.
About the brms.properties file
- It is good practice to back up the file before you start to make changes.
- If you delete the file, it does not get recreated at restart. However, as these are overrides to default properties, there is no loss of features or functionality when the file is not present.
- In the absence of a
brms.propertiesfile, you can simply list property settings in a text file, and then save it to its proper location asbrms.properties. - An update of the installation will preserve a modified
brms.propertiesfile, and will add the default file if none is present.
How to modify properties in the brms.properties file
The file lists properties that users commonly want to change. Each group of properties provides descriptive comments and the commented default name=value pair.
# from the beginning of a property's line,
and then add your preferred value after the equals sign. For example, to express a
preference for decimal values displayed and rounded to two places instead of the six
places preset for this property, locate the line:
#com.corticon.javascript.studio.tester.decimalscale=6
and then change it to
com.corticon.javascript.studio.tester.decimalscale=2
Saving and applying the revised Studio property settings
When your changes are complete, you can choose to save the settings
file with its default name and location, but you could save a copy with a useful name,
such as debuggingLogSettingsbrms.properties.
In Studio, you can save multiple settings files, and then use Studio's
Preferences to specify the Override
Properties File for the brms.properties to use.
For the revised settings to take effect, save the edited file, and then restart the Corticon Studio.