Skip to content

JavaScript Managers

Gerhard Richard Edens edited this page May 26, 2015 · 11 revisions

Managing the JavaScript Managers

If we take a look at the lib directory we will see the following files in there:

  • main MendixCodeManager.js
  • main MendixCSSManager.js
  • main MendixGitHubManager.js
  • main MendixSnippets.js
  • main MendixWorkshopManager.js
  • main MendixWorkspaceManager.js

main MendixCodeManager.js

The code manager is determining what the open file in brackets actually is. The code manager can recognize Mendix custom widget JavaScript files. Mendix package.xml and properties.xml files.

We are developing the possibility to configure the package.xml and properties.xml files. And have already implemented that a Mendix JavaScript file can be read. All functions that are available inside the script can be seen inside a special panel on the left top inside brackets.

You are even able to click on the function and scroll to this function. The future of this functionality is that we will be able to help you rewrite your custom widget code to the latest and greatest code base. Showing you what is deprecated and seguesting alternative implementations.

This file also makes its possible for you to insert code snippets that are organized in the MendixSnippets.js file.

main MendixCSSManager.js

The CSS manager is a manager that is under development and can provide in the future a tool to manage CSS that you create for your Mendix Custom Widget.

main MendixGitHubManager.js

The GitHub manager is a manager that is used to download and execute the NodeJS code to get the AppStoreWidgetBoilerplate and rename directories, files and content of files.

main MendixSnippets.js

The GitHub manager is a manager that is used to download and execute the NodeJS code to get the AppStoreWidgetBoilerplate and rename directories, files and content of files.

main MendixWorkshopManager.js

main MendixWorkspaceManager.js

Clone this wiki locally